/* styles.css */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-bg: #ecf0f1;
    --dark-text: #2c3e50;
    --light-text: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  header {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 1.5rem 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
  }
  
  header h1 {
    font-weight: 600;
    font-size: 2rem;
  }
  
  nav {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
  }
  
  nav a {
    color: var(--light-text);
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 10px;
    border-radius: 4px;
  }
  
  nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    margin-bottom: 70px;
  }
  
  .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  @media (min-width: 768px) {
    .container {
      grid-template-columns: 1fr 2fr;
    }
  }
  
  section {
    margin-bottom: 2rem;
  }
  
  h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
    font-weight: 600;
  }
  
  .card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    height: fit-content;
  }
  
  form {
    display: grid;
    gap: 1rem;
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
  }
  
  form label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
  }
  
  form input {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: var(--transition);
  }
  
  form input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
  }
  
  button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
  }
  
  button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
  }
  
  .btn-danger {
    background-color: var(--accent-color);
  }
  
  .btn-danger:hover {
    background-color: #c0392b;
  }
  
  .btn-edit {
    background-color: #f39c12;
  }
  
  .btn-edit:hover {
    background-color: #d35400;
  }
  
  table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
  }
  
  thead {
    background-color: var(--primary-color);
    color: white;
  }
  
  th {
    text-align: left;
    padding: 1rem;
    font-weight: 500;
  }
  
  td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
  }
  
  tr:last-child td {
    border-bottom: none;
  }
  
  tr:nth-child(even) {
    background-color: #f9f9f9;
  }
  
  .action-buttons {
    display: flex;
    gap: 0.5rem;
  }
  
  .empty-state {
    text-align: center;
    padding: 2rem;
    color: #7f8c8d;
  }
  
  footer {
    background: var(--primary-color);
    color: var(--light-text);
    text-align: center;
    padding: 1rem;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .notification {
    position: fixed;
    top: 1rem;
    right: 1rem;
    padding: 1rem;
    background-color: #2ecc71;
    color: white;
    border-radius: 4px;
    box-shadow: var(--box-shadow);
    transform: translateX(150%);
    transition: transform 0.3s ease;
    z-index: 100;
  }
  
  .notification.show {
    transform: translateX(0);
  }