/* Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom, #f0f9ff, #ffffff);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Header */
header {
    background-color: #007bff;
    color: white;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.5em;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.logo #logoimage {
    width: 3em;
    height: 3em;
    margin-bottom: -1em;
    background: url('./images/bettervets_logo_trans.png') no-repeat center/cover;
}

.logo i {
    font-size: 1.8em;
}



.nav-menu {
    display: flex;
    gap: 20px;
}

button {
    padding: 10px 15px;
    background-color: #0056b3;
    /* Darkened for better contrast */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #004085;
    /* Even darker on hover */
}

.nav-menu a,
.nav-menu button {
    color: white;
    text-decoration: none;
    font-weight: 500;
    /* Fixed typo from text-weight */
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background 0.3s, transform 0.2s;
}

.nav-menu a:hover,
.nav-menu button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    font-size: 1.5em;
    cursor: pointer;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #007bff;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background 0.3s;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Simulators Page Styles */
.simulators-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.1);
    text-align: left;
    /* Changed to left for better form and info alignment */
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Kept center for icons and headings, but content will align left due to text-align */
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.15);
}

.contact-card .btn {
    margin-top: 20px;
    /* Override auto margin to prevent pushing too far down; fixed spacing instead */
    align-self: stretch;
    /* Make button full width for better form fit */
}

textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: white;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-size: 1em;
    resize: vertical;
    /* Allows vertical resizing for better UX */
    min-height: 100px;
    /* Minimum height to make it more prominent */
}

textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    outline: none;
}

.product-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    /* Added flexbox */
    flex-direction: column;
    /* Column direction */
    align-items: center;
    /* Center horizontally */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.15);
}

.product-card .card-icon {
    font-size: 3em;
    color: #007bff;
    margin-bottom: 20px;
}

.product-card h2 {
    font-size: 2em;
    color: #007bff;
    margin-bottom: 20px;
}

.product-card p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #444;
}

/* Hero Section - Enhanced for style, attractiveness, and inviting feel */
.hero,
.simHero {
    background: linear-gradient(to right, #007bff, #00c6ff);
    color: white;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease-in;
    /* Added fade-in animation for engagement */
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./images/vet-with-dog-1920x400.jpg') no-repeat center/cover;
    /* Your original image */
    opacity: 0.2;
    transition: opacity 0.3s;
    /* Subtle hover effect */
}

.simHero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./images/vetalk_snippet.png') no-repeat center/cover;
    /* Your original image */
    opacity: 0.2;
    transition: opacity 0.3s;
    /* Subtle hover effect */
}

.hero:hover:before,
.simHero:hover:before {
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1,
.simHero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.hero .intro,
.simHero .into {
    font-size: 1.4em;
    /* Slightly larger for invitation */
    margin-bottom: 30px;
    max-width: 600px;
    margin: 0 auto 30px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Animation for hero */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Buttons */
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #007bff;
    color: white;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    margin-top: auto;
    /* Push to bottom of flex container */
}

.random-btn {
    background: #ffc107;
    color: #333;
    border-radius: 50px;
}

.random-btn:hover {
    background: #ffb100;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

.btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.save-btn {
    margin-top: 20px;
    width: 100%;
    padding: 15px;
    border-radius: 8px;
}

/* Main Content - Updated max-width to match simulators-container */
main {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

main h1 {
    text-align: center;
    color: #007bff;
    margin-bottom: 40px;
    font-size: 2.5em;
}

.scenario-section {
    margin-bottom: 80px;
    /* Increased from 60px for better spacing */
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.1);
}

.scenario-section:nth-child(even) {
    background: #f8fbff;
    /* Subtle striping for visual variety */
}

.scenario-section h2 {
    font-size: 2.2em;
    /* Increased from 2em */
    text-transform: capitalize;
    /* Added for polish */
    color: #007bff;
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.settings-container h2 {
    color: #007bff;
    margin-bottom: 40px;
}

.scenario-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, 250px);
    /* Reduced from 300px for slimmer buttons */
    gap: 30px;
    justify-content: center;
}

.scenario-grid li button {
    width: 100%;
    padding: 15px 10px;
    /* Reduced from 20px 15px for compactness */
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    font-size: 1em;
    /* Reduced from 1.1em */
    font-weight: 600;
    color: #007bff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    /* Stack icon and details */
    align-items: flex-start;
    /* Left-align text for readability */
    justify-content: flex-start;
    gap: 1px;
    /* Reduced from 10px */
    text-align: left;
    min-height: 100px;
    /* Reduced from 120px */
    position: relative;
    /* For pseudo-elements */
    overflow: hidden;
    /* Prevent overflow */
}

.scenario-grid li button::before {
    content: attr(data-icon);
    /* Use data-icon attribute for custom icons, e.g., '\f6d3' for animal icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    /* Solid icons */
    font-size: 1.2em;
    /* Reduced from 1.5em */
    color: #007bff;
    align-self: center;
    /* Center icon horizontally */
    margin-bottom: 5px;
}

.scenario-grid li button .patient,
.scenario-grid li button .owner,
.scenario-grid li button .complaint {
    font-size: 0.85em;
    /* Reduced from 0.9em */
    line-height: 1.4;
    white-space: normal;
    /* Allow wrapping */
    word-wrap: break-word;
    /* Break long words */
    max-width: 100%;
    /* Ensure fit */
    overflow: hidden;
    /* For ellipsis */
    text-overflow: ellipsis;
    /* Ellipsis for very long lines */
    display: -webkit-box;
    /* Multi-line ellipsis support */
    -webkit-line-clamp: 2;
    /* Limit to 2 lines max per detail */
    -webkit-box-orient: vertical;
}

.scenario-grid li button .patient strong,
.scenario-grid li button .owner strong,
.scenario-grid li button .complaint strong {
    font-weight: bold;
    /* Bold labels */
    color: #0056b3;
    /* Darker blue for labels */
}

.scenario-grid li button .complaint {
    font-weight: bold;
    /* Emphasize complaint */
    margin-top: 5px;
}

.scenario-grid li button.easy {
    background: #d4edda;
}

/* Light green for easy */
.scenario-grid li button.medium {
    background: #fff3cd;
}

/* Light yellow for medium */
.scenario-grid li button.hard {
    background: #f8d7da;
}

/* Light red for hard */

.scenario-grid li button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.2);
    border-color: #007bff;
}

.scenario-btn .position,
.scenario-btn .location,
.scenario-btn .experience,
.scenario-btn .salary {
    font-size: 0.85em;
    line-height: 1.4;
    white-space: normal;
    /* Allow wrapping */
    word-wrap: break-word;
    /* Break long words */
    max-width: 100%;
    /* Ensure fit */
    overflow: hidden;
    /* For ellipsis */
    text-overflow: ellipsis;
    /* Ellipsis for very long lines */
    display: -webkit-box;
    /* Multi-line ellipsis support */
    -webkit-line-clamp: 2;
    /* Limit to 2 lines max per detail */
    -webkit-box-orient: vertical;
}

.scenario-btn .position strong,
.scenario-btn .location strong,
.scenario-btn .experience strong,
.scenario-btn .salary strong {
    font-weight: bold;
    /* Bold labels */
    color: #0056b3;
    /* Darker blue for labels */
}

.scenario-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.2);
    border-color: #007bff;
}

/* Responsive Design (Updated for Smaller Buttons) */
@media (max-width: 600px) {
    .scenario-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        /* Reduced from 200px for mobile compactness */
    }
}

/* Form Group Styles */
.form-group {
    margin-bottom: 15px;
}

label {
    font-weight: 500;
    font-size: 1.1em;
    /* Bolder for hierarchy */
    color: #0056b3;
    /* Darker blue for contrast */
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

input,
select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: white;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-size: 1em;
}

input:focus,
select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    outline: none;
}

/* Display Only Styles */
.display-group {
    background: #f0f0f0;
    padding: 15px;
    border-radius: 8px;
}

.display-only {
    color: #666;
    margin: 0;
    font-style: italic;
}

/* Info Box for Coming Soon */
.info-box {
    background: #e7f3ff;
    border-left: 4px solid #007bff;
    padding: 15px;
    border-radius: 8px;
    color: #333;
    font-style: italic;
}

/* Message Styles */
#message {
    color: #28a745;
    /* Green for success */
    background: #d4edda;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
}

#error {
    color: #dc3545;
    /* Red for error */
    background: #f8d7da;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
}

#message:empty,
#error:empty {
    display: none;
}

/* Footer */
footer {
    background: #007bff;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}

.social-links {
    margin-top: 10px;
}

.social-links a {
    color: white;
    margin: 0 10px;
    font-size: 1.2em;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #28a745;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        right: 20px;
        background: #007bff;
        flex-direction: column;
        gap: 10px;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

.nav-menu.active {
    display: flex;
}

.menu-toggle {
    display: block;
}

.hero {
    padding: 80px 20px;
}

.hero h1 {
    font-size: 2.5em;
}

/* Adjust dropdown for mobile */
.dropdown-content {
    position: static;
    box-shadow: none;
    background-color: transparent;
    padding-left: 20px;
    display: block;
}

.simulators-container {
    grid-template-columns: 1fr;
}
}

@media (max-width: 600px) {
    .hero {
        padding: 60px 15px;
    }

    .hero h1 {
        font-size: 2em;
    }

    .btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .scenario-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        /* Reduced from 250px-300px for faster scanning */
    }

    .scenario-section {
        padding: 20px;
    }

    .settings-card {
        padding: 20px;
    }

    .report-section {
        padding: 20px;
    }

    main h1 {
        font-size: 2em;
    }

    .feedback-item {
        padding: 15px;
    }

    .criteria-item {
        padding: 10px;
    }

    .product-card {
        padding: 20px;
    }
}

/* New Styles for Chart Functionality */
.chart-container {
    position: relative;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    padding-bottom: 10px;
    /* Space for scrollbar */
    height: 300px;
    margin-bottom: 20px;
}

#evaluation-chart {
    min-width: 400px;
    /* Minimum width to prevent squishing */
    height: 300px;
    /* Increased height for better visibility */
}


/* Modal Styles for Transcript Pop-up */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: #ffffff;
    margin: auto;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
}

div#add-criteria-template-modal .modal-content {
    overflow: auto;
}

.close {
    position: absolute;
    top: -2px;
    right: 10px;
    color: #666;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover,
.close:focus {
    color: #000;
}

/* Add subtle animation for pop-up */
.modal-content {
    animation: fadeInScale 0.3s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive adjustments for modal */
@media (max-width: 600px) {
    .modal-content {
        padding: 20px;
        width: 95%;
    }

    .message {
        max-width: 90%;
        padding: 12px 15px;
    }
}

/* Guide Button */
#guide-btn {
    background: linear-gradient(to right, #FFC107, #FFD54F);
    /* Yellow gradient */
    color: #333;
    /*border: none;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.9em;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;  Position below input if needed */
}

#guide-btn:hover {
    background: linear-gradient(to right, #FFB300, #FFCA28);
    transform: translateY(-2px);
}


/* Tabs Styles */
.tabs {
    display: flex;
    margin-bottom: 20px;
}

.tab-button {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #666;
}

.tab-button.active {
    color: #000;
    border-bottom: 2px solid #28a745;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* VeView Scenario button styling */
.scenario-btn {
    width: 100%;
    padding: 20px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    font-size: 1.1em;
    font-weight: 600;
    color: #007bff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.scenario-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.2);
    border-color: #007bff;
}

/* Resume Section Styles */
.resume-section,
.feedback-templates-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.1);
    margin-top: 30px;
}

.resume-section h3,
.feedback-templates-section h3 {
    font-size: 1.8em;
    color: #007bff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.resume-section h4,
.feedback-templates-section h4 {
    font-size: 1.4em;
    color: #0056b3;
    margin-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.resume-list,
.template-list {
    list-style-type: none;
    padding: 0;
}

.resume-list li,
.template-list li {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.resume-list li:hover,
.template-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.resume-list li:last-child,
.template-list li:last-child {
    margin-bottom: 0;
}

.resume-icon {
    color: #007bff;
    font-size: 1.2em;
    margin-right: 10px;
}

.no-resumes {
    color: #666;
    font-style: italic;
    text-align: center;
    padding: 20px;
    background: #f0f0f0;
    border-radius: 8px;
}

.add-btn {
    background: linear-gradient(to right, #007bff, #4dabff);
    color: white;
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    border-radius: 30px;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;

}

.add-btn:hover {
    background: #218838;
    transform: translateY(-2px);
}

.delete-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background 0.3s;
}

.delete-btn:hover {
    background: #c82333;
}

#toggle-livefeedback-off {
    color: hsl(0, 100%, 49%);
    cursor: pointer;
}

/* CTA Section Styles */
.cta {
    background: linear-gradient(to right, #007bff, #00c6ff);
    color: white;
    text-align: center;
    padding: 60px 20px;
    margin: 40px 0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.cta h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.primary-btn {
    background: #ffffff;
    color: #007bff;
    border: 2px solid #ffffff;
}

.primary-btn:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
}

.secondary-btn {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    margin-left: 15px;
}

.secondary-btn:hover {
    background: #ffffff;
    color: #007bff;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .cta {
        padding: 40px 15px;
    }

    .cta h2 {
        font-size: 2em;
    }

    .cta .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }

    .secondary-btn {
        margin-left: 0;
    }
}

/* Why Choose Us (Benefits) Section Styles */
.benefits {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.benefits h2 {
    font-size: 2.5em;
    color: #007bff;
    margin-bottom: 40px;
}

.benefits ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0;
}

.benefits li {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1em;
    color: #444;
}

.benefits li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.15);
}

.benefits li i {
    font-size: 2em;
    color: #007bff;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .benefits ul {
        grid-template-columns: 1fr;
    }
}

.assigned-tasks-section {
    background-color: #e6f2ff;
    /* Slightly deeper light blue for more visibility */
    border: 3px solid #4da6ff;
    /* Thicker border with a bolder blue */
    border-radius: 10px;
    /* More pronounced rounded corners */
    padding: 20px;
    /* Increased padding for better framing */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    /* Stronger shadow for added depth */
    margin-bottom: 30px;
    /* Extra space below to separate from other sections */
}

.assigned-tasks-section h2 {
    font-size: 1.8em;
    /* Larger heading */
    color: #0056b3;
    /* Dark blue for importance */
    margin-bottom: 15px;
    /* Space below heading */
    text-align: center;
    /* Centered for emphasis */
    font-weight: bold;
}

.assigned-tasks-section .scenario-grid {
    border-top: 1px solid #ccc;
    /* Subtle separator */
    padding-top: 10px;
}

/* Search Container Styles (from Suggestion 2) */
.search-container {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
    /* Wrap on small screens */
}

#scenario-search {
    max-width: 300px;
    position: relative;
    /* For icon */
}

#scenario-search::before {
    content: '\f002';
    /* Font Awesome search icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #007bff;
    font-size: 1em;
}

#scenario-search {
    padding-left: 40px;
    /* Space for icon */
}

#filter-difficulty {
    max-width: 300px;
}