/* style.css */

:root {
    --primary_colour: #76b474;
    --secondary_colour: #5a9958;
    --danger_colour: #dc3545;
    --danger_hover: #bb2d3b;
    --outline-hover: #f8f9fa;
    --white: #ffffff;
    --text_primary: #333333;
    --text_secondary: #666666;
    --success-hover: #2E7D32;
    --border-radius: 50px;  /* This is used for buttons, etc. */
    --transition-speed: 0.3s;
    --light_grey: #f8f9fa;
    --dark_grey: #6c757d;
}

body {
    overflow-x: hidden;
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background-color: var(--light_grey);
    line-height: 1.5;
}

/* --- Navbar Styles --- */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky; /* Make the navbar sticky */
    top: 0;          /* Stick to the top of the viewport */
    z-index: 1020;    /* Ensure it's above other content (Bootstrap default is 1020) */
    background-color: white !important; /* Override other styles if needed */
}

.navbar-brand img {
    height: 40px;
}

.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
    color: var(--text-primary);
}

.navbar-nav .nav-link:hover {
    background-color: var(--outline-hover);
}

/* Active tab in the *navbar* */
.navbar-nav .nav-link.active {
    background-color: var(--primary_colour);
    color: var(--white);
}

/* --- Tabbed Content Styles  --- */

.nav-tabs {
    border-bottom: 1px solid #dee2e6;
     border-radius: 0;
}

/* Style the *individual* tab links (inactive state) */
.nav-tabs .nav-link {
    background: none;
    border: 1px solid transparent;
    border-top-left-radius: 0.25rem; /* Slight rounding on top corners */
    border-top-right-radius: 0.25rem;
    color: var(--text-primary);     /* Inactive tab text color */
    margin-right: 0.25rem;        /* Add some spacing between tabs */
    padding: 0.5rem 1rem;          /* Consistent padding */
    transition: all 0.15s ease-in-out; /* Smooth transitions */
}

/* Style the *active* tab link */
.nav-tabs .nav-link.active {
    background-color: var(--primary_colour);
    color: var(--white);
    border-color: var(--primary_colour) var(--primary_colour) var(--primary_colour); /* Consistent border */
}

/* Hover state for *inactive* tab links *only* */
.nav-tabs .nav-link:not(.active):hover {
    border-color: var(--primary_colour);
    color: var(--primary_colour);
}

/*  Hover state for active tab */
.nav-tabs .nav-link.active:hover {
  background-color: var(--secondary_colour); /* Darker green on hover */
  border-color: var(--secondary_colour); /* Change the border color */
  /* The text color will remain white because of .nav-tabs .nav-link.active */
}

.nav-tabs .nav-link:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(118, 180, 116, 0.25);
}

/* --- Card Styles --- */
.card-header {
    background-color: var(--primary_colour);
    color: white;
    border-radius: 0; /* No rounded corners on card header */
    padding: 0.5rem 1rem; /* Reduced padding (original Bootstrap is 0.75rem 1.25rem) */
    font-size: 1rem; /* Slightly smaller font size if needed */
    line-height: 1.4; /* Tighter line height */
}

/* Make card header headings more compact */
.card-header h1,
.card-header h2,
.card-header h3,
.card-header h4,
.card-header h5,
.card-header h6 {
    margin-bottom: 0; /* Remove bottom margin from headings */
    font-size: 1.1rem; /* Control heading size */
    font-weight: 500; /* Not too heavy */
}

.card {
    border-radius: 0; /* Remove border radius from the entire card */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Subtle shadow */
    border: none; /* Remove the default border */
}

/* --- Button Styles (Consistent Across Pages) --- */
.btn {
    border-radius: var(--border-radius);
    padding: 0.5rem 1.5rem;
    transition: all var(--transition-speed) ease;
    font-size: 1rem;
    font-weight: 500;
    display: inline-flex; /* Use inline-flex for consistent alignment */
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transform: translateZ(0); /*  for smoother transitions */
    backface-visibility: hidden;
    text-decoration: none; /* Remove underlines from buttons */
}

/* Primary Button */
.btn-primary,
.btn-login {
    background-color: var(--primary_colour);
    color: var(--white);
    border: 2px solid var(--primary_colour);
}

.btn-primary:hover,
.btn-login:hover,
.btn-primary:focus,  /* Add focus styles for accessibility */
.btn-login:focus {
    background-color: var(--secondary_colour);
    border-color: var(--secondary_colour);
    transform: translateY(-2px);
    color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Add a subtle shadow on hover/focus */
    outline: none; /* Remove default outline, rely on box-shadow */
}

/* Outline Buttons */
.btn-outline-primary,
.btn-outline-success,
.btn-outline-danger,
.btn-outline-secondary {
    background-color: transparent;
    border: 2px solid;
    font-weight: 500;
}

.btn-outline-primary {
    color: var(--primary_colour);
    border-color: var(--primary_colour);
}
.btn-outline-success {
    color: var(--primary_colour);
     border-color: var(--primary_colour);
}

.btn-outline-danger {
    color: var(--danger_colour);
    border-color: var(--danger_colour);
}

.btn-outline-secondary {
    color: var(--dark_grey);
    border-color: var(--dark_grey);
}
/*Hover and focus for outline buttons*/
.btn-outline-primary:hover,
.btn-outline-success:hover,
.btn-outline-primary:focus,
.btn-outline-success:focus {
    background-color: var(--primary_colour);
    border-color: var(--primary_colour);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    outline: none;
}

.btn-outline-danger:hover,
.btn-outline-danger:focus {
    background-color: var(--danger_colour);
    border-color: var(--danger_colour);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    outline: none;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus
 {
    background-color: var(--dark_grey);
    border-color: var(--dark_grey);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    outline: none;
}

/* Danger Button */
.btn-danger {
    background-color: var(--danger_colour);
    color: var(--white);
    border: 2px solid var(--danger_colour);
}

.btn-danger:hover,
.btn-danger:focus {
    background-color: var(--danger_hover);
    border-color: var(--danger_hover);
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    outline: none;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}


/* --- Header Styles ---*/

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.header h1 {
    color: var(--primary_colour);
    font-weight: 600;
    font-size: 1.75rem;
    margin: 0;
}
/* --- Dropdown Styles (keep existing) --- */
.dropdown-menu {
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: none;
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 10px;
    padding: 0.5rem 1rem;
    margin-bottom: 0.25rem;
}

.dropdown-item:hover {
    background-color: var(--outline-hover);
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--primary_colour);
}

/* --- User welcome message (keep existing) --- */
.user-welcome {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-right: 1rem;
}

/* --- Loading animation (keep existing) --- */
@keyframes button-loading-spinner {
    from { transform: rotate(0turn); }
    to   { transform: rotate(1turn); }
}

/* --- Responsive Styles (Combined and Optimized) --- */

@media (max-width: 991px) {
    .navbar-collapse      { padding: 1rem 0; }
    .user-welcome        { margin-bottom: 1rem; margin-right: 0; }
    .navbar-nav          { margin-bottom: 1rem; }
    .container           { padding: 1.5rem 1rem; }
    .nav-controls        { justify-content: center; }
}

@media (max-width: 768px) {
    .btn                 { min-height: 44px; padding: 0.4rem 1rem; font-size: 0.9rem; }
    .calendar td         { height: 150px; }
    .day-header-actions button { padding: 0.2rem 0.4rem; font-size: 0.7rem; }
}

@media (max-width: 576px) {
    .navbar-brand img  { height: 32px; }
    .btn                 { padding: 0.4rem 1.2rem; font-size: 0.9rem; }
    .btn-lg              { padding: 0.6rem 1.5rem; font-size: 1rem; }
    .container           { padding-left: 1.5rem; padding-right: 1.5rem; }
    h1.display-4          { font-size: 2.5rem; }
    .calendar th         { padding: 0.5rem 0.25rem; font-size: 0.8rem; }
    .day-number          { font-size: 0.9rem; }
    .booking, .event    { font-size: 0.75rem; padding: 0.2rem 0.4rem; }
    .modal-content       { padding: 1.5rem; }
    .login-container     { margin: 1rem auto; padding: 1.5rem; }
}


/* --- Login Page Styles --- */

.login-container {
    --primary-colour: #76b474;  /* Override for login/register */
    --secondary-colour: #5a9958;
    max-width: 450px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    color: var(--primary-colour);
    font-weight: 500;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Fix for login page input wrappers */
.login-container .input-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
    border: none; /* Remove the dashed border */
    padding: 0; /* Remove padding */
    background-color: transparent;
    overflow: visible;
}

.login-container .input-wrapper:hover {
    background-color: transparent;
    border-color: transparent;
}

.login-container .form-control {
    height: 60px;
    border-radius: 30px;
    padding-left: 60px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

.login-container .form-control:focus {
    border-color: var(--primary-colour);
    box-shadow: 0 0 0 0.25rem rgba(118, 180, 116, 0.25);
}

.login-container .input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    z-index: 10;
    font-size: 1.2rem;
}

.btn-login-submit {
    background-color: var(--primary-colour);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    width: 100%;
    font-weight: 500;
    margin-top: 1rem;
    transition: all 0.3s ease;
    height: 56px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-login-submit:hover {
    background-color: var(--secondary-colour);
}

.forgot-password {
    text-align: center;
    margin-top: 1.5rem;
}

.forgot-password a {
    color: var(--dark-grey);
    text-decoration: none;
}

.forgot-password a:hover {
    color: var(--primary-colour);
}

.register-section {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.register-link {
    color: var(--primary-colour);
    text-decoration: none;
    font-weight: 500;
}

.register-link:hover {
    text-decoration: underline;
}

.form-check-input:checked {
    background-color: var(--primary-colour);
    border-color: var(--primary-colour);
}

.form-check-label {
    color: #666;
}


/* --- Register Page Specific Styles --- */

/* Password requirements styling */
.password-requirements {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.password-requirements ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}

.password-requirements li {
    padding-left: 1.5em;
    position: relative;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.password-requirements li::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
}

/* Default state - requirements not met */
.password-requirements li::before {
    content: "\f00d"; /* X icon */
    color: #dc3545; /* Red color */
}

/* Valid state - requirements met */
.password-requirements li.valid {
    color: #198754; /* Green text */
}

.password-requirements li.valid::before {
    content: "\f00c"; /* Check icon */
    color: #198754; /* Green color */
}


/* --- Calendar Page Styles --- */

/* Calendar container and table */
.calendar {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    table-layout: fixed;
}

.calendar table {
    width: 100%;
    border-collapse: collapse;
}

.calendar th {
    background: var(--primary_colour); /* Header background color */
    color: white;
    padding: 1rem;
    font-weight: 500;
    width: 14.28%;
    text-align: center; /* Center-align header text */
}

.calendar td {
    padding: 0;
    height: 200px;
    border: 1px solid #e2e8f0;
    vertical-align: top;
    width: 14.28%;
    position: relative;
}

.day-cell {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.day-header {
    background: #f1f5f9;
    padding: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.2s;
    flex-shrink: 0;
     position: relative; /* Add relative positioning here */
}
/*Day header hover effect */
.day-header:hover {
    background: #e2e8f0;
}

/* --- Day Header Actions (Buttons) --- */

.day-header-actions {
    display: none; /* Hidden by default */
    position: absolute; /* Absolute positioning */
    top: 50%;         /* Center vertically */
    right: 0.5rem;    /* Small right margin */
    transform: translateY(-50%); /* Center vertically */
    z-index: 10;      /* Ensure buttons are above other content */
    gap: 0.5rem;     /* Space between buttons */
}

/* Show buttons on day-header hover */
.day-header:hover .day-header-actions {
    display: flex; /* Use flexbox for easy alignment */
}
/*Style the buttons*/
.day-header-actions button {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    background: var(--primary_colour);
    color: white;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color var(--transition-speed); /* Add transition */
}
/*Button hover*/
.day-header-actions button:hover,
.day-header-actions button:focus {
    background: var(--secondary_colour);
    outline: none; /* Remove default focus outline */
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); /* Subtle shadow */
}

.day-number {
    font-weight: 600;
    color: var(--text-primary);
}

.day-content {
    flex: 1;
    padding: 0.5rem;
    overflow-y: auto;
}

.calendar td.today .day-header {
    background: #dbeafe;
}

.booking {
    background: var(--primary_colour);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    cursor: default;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event {
    padding: 0.5rem;
    border-radius: 0.25rem;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
    line-height: 1.2;
}

.event strong {
    font-weight: 600;
    margin-right: 0.25rem;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
}

.modal-content {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2rem;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    color: var(--primary_colour);
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark_grey);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius); /* Use consistent border-radius */
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary_colour);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.dual-list {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.dual-list select {
    flex: 1;
    height: 200px;
    padding: 0.5rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.dual-list-controls {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
}

.alert-success {
    background-color: #dcfce7;
    color: #166534;
    border-left: 4px solid var(--primary_colour);
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border-left: 4px solid var(--danger_colour);
}
.alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}
/* Scrollbar Styling */
.day-content::-webkit-scrollbar {
    width: 6px;
}

.day-content::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.day-content::-webkit-scrollbar-thumb {
    background: var(--dark_grey);
    border-radius: 3px;
}

.day-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary_colour);
}

/* Firefox Scrollbar */
.day-content {
    scrollbar-width: thin;
    scrollbar-color: var(--dark_grey) #f1f5f9;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary_colour);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.modal-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}
/* Override navbar styles only for login page if necessary */
body.login-page .navbar {
  /*example  background-color: #f0f0f0; */
}

/* --- Settings Page Styles --- */

/* File Input */
.input-wrapper {
    position: relative;
    overflow: hidden;
    border: 2px dashed var(--primary_colour); /* Use primary color for border */
    border-radius: 10px;  /*  Less rounded corners */
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease; /* Add background transition */
    margin-bottom: 1rem;
    background-color: #fff; /* Initial background */
}

.input-wrapper .file-label {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    border-radius: 10px; /* Match input-wrapper */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: transparent; /* Make label background transparent */
    z-index: 1;
    transition:  color 0.3s ease;
}
/* Hover state for input wrapper and label */
.input-wrapper:hover {
    border-color: var(--secondary_colour); /* Darker border on hover */
    background-color: var(--light_grey); /* light background on hover */
}
.input-wrapper:hover .file-label {
    color: var(--primary_colour);      /*  text color on hover */
}

.input-wrapper input[type="file"] {
    position: absolute;
    left: -9999px; /* Hide off-screen */
}

.input-wrapper .file-name {
    color: var(--text-primary); /* Use text-primary */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: normal;
    margin-left: 0.5rem; /* Space after icon */
}


.input-wrapper .input-icon {
    font-size: 1.5rem;
    margin-right: 10px;
    color: var(--primary_colour);
    z-index: 2;
}
/*  focus style for accessibility */
.input-wrapper input[type="file"]:focus + .file-label {
     outline: none; /* Prevent the default focus outline */
    box-shadow: 0 0 0 3px rgba(118, 180, 116, 0.25); /*  focus shadow */
}

/* Button Container (for Upload/Delete) */
.button-container {
    display: flex;
    flex-wrap: wrap; /* Wrap buttons on smaller screens */
    gap: 10px;       /* Space between buttons */
    margin-top: 1rem; /* Add some top margin */
}

/* --- Footer Styles --- */
.social-icons {
    display: flex;
    gap: 1rem; /* Spacing between icons */
}

.social-icon-link {
    color: #333; /* Icon color */
    font-size: 1.5rem; /* Icon size */
    transition: color 0.3s ease; /* Smooth color transition on hover */
    display: inline-flex; /*  For consistent vertical alignment */
    align-items: center;
    justify-content: center;
    width: 2rem; /*  Make icons circular */
    height: 2rem;
    border-radius: 50%;
}

.social-icon-link:hover {
    color: #007bff; /*  Hover color (Bootstrap primary color) */
    text-decoration: none; /* Remove underline on hover */
}

/* Usrs page  */
.user-actions {
    white-space: nowrap;
}

.user-role {
    text-transform: capitalize;
}

.status-active {
    background-color: var(--primary_colour);
}

.status-inactive {
    background-color: var(--dark_grey);
}

.status-pending {
    background-color: var(--danger_colour);
}

.search-container {
    display: flex;
    gap: 0.5rem;
}

.filter-badge {
    display: inline-flex;
    align-items: center;
    background-color: #e9ecef;
    padding: 0.3rem 0.6rem;
    border-radius: 50px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.filter-badge .close {
    margin-left: 0.5rem;
    font-size: 0.85rem;
    cursor: pointer;
}

.user-table td {
    vertical-align: middle;
}

/* Custom password strength meter */
.password-strength-meter {
    height: 5px;
    background-color: #ddd;
    width: 100%;
    margin-top: 5px;
    border-radius: 3px;
    overflow: hidden;
}

.password-strength-meter div {
    height: 100%;
    width: 0;
    transition: width 0.3s;
}

.strength-weak {
    background-color: #f44336;
    width: 33.33% !important;
}

.strength-medium {
    background-color: #ffc107;
    width: 66.66% !important;
}

.strength-strong {
    background-color: #4caf50;
    width: 100% !important;
}

/* Password requirements styling */
.password-requirements li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 5px;
}

.password-requirements li::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    content: "\f00d";
    color: #dc3545;
}

.password-requirements li.valid::before {
    content: "\f00c";
    color: #198754;
}

.password-requirements li.valid {
    color: #198754;
}

/* Form transitions */
.form-section {
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

.form-section.collapsed {
    max-height: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
}

.form-section.expanded {
    max-height: 1000px;
    opacity: 1;
    margin-bottom: 1rem;
}

.card-header {
    transition: background-color 0.3s ease;
}