* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3e6ae1;
    --primary-color-light: #e6ebfa;
    /* Light blue */
    --primary-color-dark: #2951b9;
    /* Dark blue */
    --gray: #333333;
    --gray-light: #f5f5f5;
    --success: #4CAF50;
    /* Keep green for success */
    --white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: var(--primary-color);
    padding: 20px;
    color: white;
    text-align: center;
    position: relative;
    border-radius: 8px 8px 0 0;
}

/* Sticky header on mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    header {
        position: sticky !important;
        position: -webkit-sticky !important; /* Safari support */
        top: 0 !important;
        z-index: 1000 !important;
        border-radius: 0 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        padding: 12px 15px !important;
        margin: 0 !important;
        width: 100% !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background-color: var(--primary-color) !important;
    }
    
    header h1 {
        font-size: 18px !important;
        margin-bottom: 8px !important;
        line-height: 1.2;
        font-weight: 600;
        display: block !important;
        visibility: visible !important;
        color: white !important;
    }
    
    header .actions {
        display: flex !important;
        visibility: visible !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    header .actions button,
    header .actions a {
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
    }
    
    /* Collapsed header state on scroll */
    header.header-collapsed {
        padding: 8px 15px !important;
    }
    
    header.header-collapsed .actions {
        flex-direction: row !important;
        gap: 8px !important;
        align-items: center !important;
    }
    
    header.header-collapsed #report-btn {
        flex: 1 !important;
        order: 1 !important;
    }
    
    header.header-collapsed .btn-icon-only {
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        font-size: 18px !important;
        flex: 0 0 auto !important;
    }
    
    header.header-collapsed #reset-btn.btn-icon-only {
        order: 2 !important;
        background-color: white !important;
        color: #e14e3e !important;
        border: 2px solid #e14e3e !important;
    }
    
    header.header-collapsed #reset-btn.btn-icon-only:hover {
        background-color: #e14e3e !important;
        color: white !important;
    }
    
    header.header-collapsed .donation-btn.btn-icon-only {
        order: 3 !important;
        background-color: #ffdd00 !important;
        color: #222 !important;
        border: none !important;
    }
    
    header.header-collapsed .donation-btn.btn-icon-only:hover {
        background-color: #ffd700 !important;
    }
    
    header.header-collapsed .progress-container {
        display: none !important;
    }
    
    /* Smooth transition for header collapse */
    header {
        transition: padding 0.3s ease, box-shadow 0.3s ease;
    }
    
    header .actions {
        transition: flex-direction 0.3s ease, gap 0.3s ease;
    }
    
    header h1 {
        transition: opacity 0.3s ease, display 0.3s ease;
    }
    
    main {
        padding: 15px;
    }
}

h1 {
    margin-bottom: 15px;
    font-size: 28px;
}

.actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    padding-top: 5px;
}

.progress-container {
    width: 100%;
    background-color: #f1f5fd;
    border-radius: 20px;
    margin: 15px 0;
    overflow: hidden;
    position: relative;
    height: 24px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(62, 106, 225, 0.1);
}

#progress-bar {
    height: 100%;
    background: linear-gradient(to right, #3e6ae1, #6a8fe6);
    border-radius: 20px;
    width: 0%;
    transition: width 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset;
}

#progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #333;
    font-weight: 600;
    font-size: 13px;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
    z-index: 10;
}

button {
    background-color: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    margin-right: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    z-index: -1;
}

button:hover {
    color: white;
    background-color: transparent;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

button:hover:before {
    width: 100%;
}

button:active {
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#reset-btn {
    background-color: #fff;
    color: #e14e3e;
    border-color: #e14e3e;
}

#reset-btn:before {
    background-color: #e14e3e;
}

#reset-btn:hover {
    color: white;
}

#report-btn {
    background-color: #fff;
    color: #4caf50;
    border-color: #4caf50;
    position: relative;
}

#report-btn:before {
    background-color: #4caf50;
}

#report-btn:hover {
    color: white;
}

/* Emphasize Generate Report button on mobile */
@media (max-width: 768px) {
    #report-btn {
        background-color: #4caf50;
        color: white;
        border-color: #4caf50;
        font-weight: 700;
        font-size: 16px;
        padding: 14px 24px;
        box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
        flex: 1;
        min-width: auto;
    }
    
    #report-btn:before {
        display: none;
    }
    
    #report-btn:hover {
        background-color: #45a049;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
    }
    
    #report-btn:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
    }
}

.checklist-section {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    /* Added to serve as positioning context for sticky header */
}

.section-header {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-top: 15px;
    border-radius: 5px;
    position: relative;
    z-index: 1;
}

/* Add a subtle shadow when the section header is sticky */
.section-header.sticky {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-chevron {
    font-size: 14px;
    transition: transform 0.3s ease;
    opacity: 0.9;
}

.section-progress {
    font-size: 14px;
    color: #dee3ff;
}

.section-items {
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.checklist-item {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #f5f5f5;
    padding: 10px 0;
}

.checklist-item:last-child {
    border-bottom: none;
}

.checklist-item label {
    margin-left: 8px;
    cursor: pointer;
    flex-grow: 1;
}

/* New style for items with issues (comments) */
.checklist-item.has-issue label {
    color: #e74c3c;
    text-decoration: line-through;
    font-style: italic;
}

.checklist-item.has-issue input[type="checkbox"] {
    opacity: 0.6;
}

input[type="checkbox"] {
    transform: scale(1.2);
    margin-top: 4px;
    cursor: pointer;
}

.comment-btn {
    color: #888;
    cursor: pointer;
    margin-left: 8px;
    font-size: 16px;
    width: 15px;
}

.comment-btn:hover {
    color: #3e6ae1;
}

.has-issue .comment-btn {
    color: #e74c3c;
    /* Keep original red for issues */
}

.comment-btn.has-comment {
    color: #e74c3c;
    /* Changed to red for issues */
}

/* Modal styles - Enhanced for better mobile experience */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    /* Allow scrolling on small screens */
}

/* Use visibility instead of aria-hidden for better accessibility */
.modal[aria-hidden="true"] {
    display: none;
}

.modal[aria-hidden="false"] {
    display: block;
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 0;
    width: 90%;
    /* Slightly wider for better content display */
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
    padding-right: 30px; /* Make room for the close button */
}

.close-modal,
.close-vehicle-modal,
.close-payment-modal {
    color: #aaa;
    font-size: 20px;
    font-weight: normal;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}

.close-modal:hover,
.close-vehicle-modal:hover,
.close-payment-modal:hover {
    color: #333;
    background-color: rgba(0, 0, 0, 0.08);
    transform: translateY(-50%) scale(1.1);
}

.close-modal:active,
.close-vehicle-modal:active,
.close-payment-modal:active {
    transform: translateY(-50%) scale(0.95);
}

.modal-body {
    padding: 20px;
}

#comment-item-text,
.modal-body p {
    margin-bottom: 15px;
    font-weight: normal;
    line-height: 1.5;
}

#comment-text {
    width: 100%;
    min-height: 100px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
}

/* Form styling inside modals */
.modal .form-group {
    margin-bottom: 15px;
}

.modal .form-row {
    display: flex;
    gap: 15px;
}

.modal .form-row .form-group {
    flex: 1;
}

.modal .form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #666;
}

.modal .form-group input,
.modal .form-group select {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.modal .form-group input:focus,
.modal .form-group select:focus {
    border-color: #3e6ae1;
    outline: none;
    box-shadow: 0 0 4px rgba(62, 106, 225, 0.2);
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: right;
}

.modal-footer button {
    padding: 10px 25px;
    font-size: 14px;
    min-width: 120px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

.modal-footer button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(62, 106, 225, 0.3);
    background-color: #5077d8;
}

#generate-pdf-btn,
#save-comment-btn {
    background-color: #4caf50;
}

#generate-pdf-btn:hover,
#save-comment-btn:hover {
    background-color: #45a049;
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

/* Payment modal specific styles */
#payment-element {
    margin: 20px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

#payment-error {
    padding: 10px;
    background-color: #fee;
    border: 1px solid #fcc;
    border-radius: 4px;
    margin-top: 10px;
}

#submit-payment-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

footer {
    text-align: center;
    margin-top: 30px;
    color: #666;
    font-size: 14px;
}

/* Remove the static vehicle info section since it's now in a modal */
.vehicle-info-section {
    display: none;
}

.close-vehicle-modal {
    color: #aaa;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.close-vehicle-modal:hover {
    color: #333;
}

#generate-pdf-btn {
    background-color: #4caf50;
}

/* Additional styles for the new sections */

/* Hide empty sections (like Electric Vehicle section if not applicable) */
.checklist-section:empty {
    display: none;
}

/* Add a special style for the EV section */
#section-electric {
    border-left: 3px solid #27ae60;
    /* Green accent */
    padding-left: 10px;
    margin-top: 20px;
}

#section-electric h2 {
    color: #27ae60;
}

/* Add a special style for the final delivery section */
#section-final {
    border-left: 3px solid #3e6ae1;
    padding-left: 10px;
    margin-top: 20px;
}

/* Make the scrolling smoother when there are many sections */
html {
    scroll-behavior: smooth;
}

/* Improve section navigation on mobile */
@media (max-width: 768px) {
    .checklist-section {
        padding: 12px;
        margin-bottom: 15px;
    }

    /* Quick navigation for mobile */
    .quick-nav {
        display: flex;
        overflow-x: auto;
        padding: 5px 0;
        margin: 0 -15px 15px -15px;
        background: #f8f9fa;
        white-space: nowrap;
    }

    .quick-nav a {
        display: inline-block;
        padding: 5px 10px;
        font-size: 12px;
        color: #555;
        text-decoration: none;
    }

    .quick-nav a:hover {
        background: #e9ecef;
    }
}

/* Additional styling for exact PDF sections */

/* Pre-delivery section */
#section-pre-delivery {
    border-left: 3px solid #f39c12;
    /* Orange accent */
}

#section-pre-delivery h2 {
    color: #f39c12;
}

/* Delivery Process section */
#section-delivery {
    border-left: 3px solid #3498db;
    /* Blue accent */
}

#section-delivery h2 {
    color: #3498db;
}

/* Post Delivery section */
#section-post-delivery {
    border-left: 3px solid #9b59b6;
    /* Purple accent */
}

#section-post-delivery h2 {
    color: #9b59b6;
}

/* Better display of checklist items */
.checklist-item {
    border-bottom: 1px solid #f5f5f5;
    padding: 10px 0;
}

.checklist-item:last-child {
    border-bottom: none;
}

/* Quick navigation menu for many sections */
.section-nav {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.section-nav button {
    background: #fff;
    border: 1px solid #ddd;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
}

.section-nav button:hover {
    background: #f0f0f0;
}

/* Responsive improvements */
@media (max-width: 600px) {
    .container {
        padding: 0;
        max-width: 100%;
    }
    
    main {
        padding: 15px;
    }

    h1 {
        font-size: 18px;
    }

    .section-title {
        font-size: 16px;
    }

    .checklist-item {
        padding: 10px 0;
    }

    .actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    /* Simplify header buttons on mobile */
    #reset-btn {
        order: 2;
        padding: 10px 16px;
        font-size: 14px;
        min-width: auto;
        flex: 0 0 auto;
    }
    
    #report-btn {
        order: 1;
    }
    
    .donation-btn {
        order: 3;
        padding: 10px 16px;
        font-size: 14px;
        min-width: auto;
        flex: 0 0 auto;
        text-align: center;
    }
    
    /* Hide progress bar on mobile sticky header, show it in a simpler way */
    .progress-container {
        order: 4;
        margin: 8px 0 0 0;
        height: 20px;
    }
    
    #progress-text {
        font-size: 11px;
    }

    .progress-container {
        height: 20px;
        margin: 12px 0;
    }

    #progress-text {
        font-size: 11px;
    }

    button {
        width: 100%;
        padding: 10px 0;
        margin: 5px 0;
    }
    
    /* Search container mobile adjustments */
    .search-container {
        margin-bottom: 15px;
    }
    
    .search-wrapper {
        max-width: 100% !important;
    }
    
    #search-input {
        padding: 14px 90px 14px 16px !important;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    

    .modal-content {
        width: 95%;
        margin: 5% auto;
        /* Less top margin on mobile */
        max-height: 90vh;
        /* Limit height to prevent overflow */
    }

    .modal-header h3 {
        font-size: 16px;
        /* Smaller header on mobile */
    }

    .modal-body {
        padding: 15px;
        /* Less padding on mobile */
        max-height: 70vh;
        /* Allow content to scroll if needed */
        overflow-y: auto;
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
    }

    .modal-footer {
        padding: 10px 15px;
        /* Smaller padding on mobile */
    }

    .modal-footer button {
        width: 100%;
        padding: 12px 0;
    }

    /* Add more space to the close button for easier tapping on mobile */
    .close-modal,
    .close-vehicle-modal,
    .close-payment-modal {
        padding: 8px;
        width: 40px;
        height: 40px;
        font-size: 20px;
        right: 10px;
        top: 10px;
        transform: none;
    }
    
    .close-modal i,
    .close-vehicle-modal i,
    .close-payment-modal i {
        font-size: 18px;
    }
    
    /* Better mobile styling for clear search button */
    .clear-search-btn,
    #clear-search {
        right: 45px;
        width: 32px;
        height: 32px;
        padding: 8px;
    }
    
    .clear-search-btn i,
    #clear-search i {
        font-size: 16px;
    }
    
    /* Adjust search input padding on mobile to accommodate buttons */
    #search-input {
        padding-right: 90px !important;
    }

    .section-nav {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
        display: flex;
        flex-wrap: nowrap;
    }

    .section-nav button {
        display: inline-block;
        flex: 0 0 auto;
    }

    /* Improve checklist readability on mobile */
    .checklist-item label {
        font-size: 12px;
        line-height: 1.4;
    }
}

/* Add styles for focus indication */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
    outline: 2px solid #3e6ae1;
    outline-offset: 2px;
}

/* Search highlight styling */
.checklist-item.search-highlight {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding-left: 8px;
    animation: highlightPulse 1s ease-in-out;
}

@keyframes highlightPulse {
    0%, 100% { background-color: #fff3cd; }
    50% { background-color: #ffe69c; }
}

/* Search container styling */
.search-container {
    margin-bottom: 20px;
}

.search-wrapper input:focus {
    border-color: #3e6ae1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(62, 106, 225, 0.1);
}

/* Clear search button styling */
.clear-search-btn,
#clear-search {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    font-size: 14px;
    z-index: 10;
}


.clear-search-btn:hover,
#clear-search:hover {
    color: #333;
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateY(-50%) scale(1.1);
}

.clear-search-btn:active,
#clear-search:active {
    transform: translateY(-50%) scale(0.95);
}

/* Donation container styling */
.donation-container {
    text-align: center;
    margin: 10px 0 15px 0;
}

header .donation-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.donation-container p {
    font-size: 14px;
    margin-bottom: 8px;
}

.donation-btn {
    display: inline-block;
    background-color: #ffdd00;
    color: #222;
    border: none;
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    margin: 3px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.donation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    filter: brightness(1.05);
}

.donation-btn-alt {
    background-color: #0079C1;
    color: white;
}

/* Responsive styling for donation buttons */
@media (max-width: 600px) {
    .donation-container {
        margin: 10px 0;
    }
    
    /* Donation buttons in header should be side by side if possible */
    header .donation-btn {
        padding: 5px 12px;
        font-size: 13px;
    }
}

/* Responsive styling for donation buttons */
@media (max-width: 600px) {
    .donation-container {
        margin-top: 20px;
        padding-top: 10px;
    }
    
    .donation-btn {
        display: block;
        width: 80%;
        margin: 8px auto;
    }
}

/* Center the donation button in the header */
.header-donation {
    display: flex;
    justify-content: center;
    margin: 10px auto;
}

/* Maintain the styling for the PayPal button */
.donation-btn.donation-btn-alt {
    background-color: #0079C1;
    color: white;
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.donation-btn.donation-btn-alt:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    filter: brightness(1.05);
}

/* Responsive styling for donation buttons */
@media (max-width: 600px) {
    .donation-container {
        margin: 10px 0;
    }
    
    .donation-container img {
        max-width: 80%;
        height: auto;
    }
    
    .donation-btn.donation-btn-alt {
        display: block;
        width: 80%;
        margin: 8px auto;
    }
}

/* Updated styling for Buy Me A Coffee button in the actions bar */
.bmc-btn {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
    transition: transform 0.2s ease;
    border-radius: 5px;
    overflow: hidden;
}

.bmc-btn:hover {
    transform: translateY(-2px);
}

/* Media query adjustments for mobile */
@media (max-width: 600px) {
    /* ...existing code... */
    
    .bmc-btn {
        width: 100%;
        margin: 5px 0;
        justify-content: center;
    }
    
    .bmc-btn img {
        max-width: 80%;
        height: auto;
    }
}

/* Issue toggle switch styling */
.issue-toggle-container {
    margin-top: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
    border-left: 3px solid #e74c3c;
}

.issue-toggle-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.issue-toggle-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.issue-toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    background-color: #ccc;
    border-radius: 26px;
    transition: background-color 0.3s;
    margin-right: 10px;
}

.issue-toggle-switch:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.issue-toggle-input:checked + .issue-toggle-switch {
    background-color: #e74c3c;
}

.issue-toggle-input:checked + .issue-toggle-switch:before {
    transform: translateX(24px);
}

.issue-toggle-text {
    font-size: 15px;
    color: #333;
}

.issue-toggle-help {
    margin-top: 8px;
    font-size: 12px;
    color: #666;
    padding-left: 60px;
}

/* When issue toggle is checked, update modal styling */
.issue-toggle-input:checked ~ .issue-toggle-text {
    color: #e74c3c;
    font-weight: bold;
}

@media (max-width: 600px) {
    .issue-toggle-container {
        padding: 8px;
        margin-top: 10px;
    }
    
    .issue-toggle-switch {
        width: 40px;
        height: 22px;
    }
    
    .issue-toggle-switch:before {
        height: 16px;
        width: 16px;
    }
    
    .issue-toggle-input:checked + .issue-toggle-switch:before {
        transform: translateX(18px);
    }
    
    .issue-toggle-text {
        font-size: 14px;
    }
    
    .issue-toggle-help {
        padding-left: 50px;
    }
}

/* ...existing code... */