.nepalevs-car-varieties {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    width: 100%; /* Stretch to full screen */
    margin: 0; /* Remove centering */
    padding: 8px; /* Keep padding for content spacing */
    background: #F9F4F4;
    border-radius: 0; /* Remove border-radius for full-screen effect */
    box-shadow: none; /* Remove shadow for full-screen consistency */
}

.variety-selector {
    margin-bottom: 30px;
    max-width: 100%; /* Ensure selector stretches */
    padding: 0 5px 0 0; /* Remove left padding, keep right padding */
}

.variety-selector label {
    font-size: 1.05rem;
    font-weight: 600;
    margin-right: 15px;
    color: #333;
}

.variety-selector select#variety-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #fff;
    border: 2px solid #007bff;
    border-radius: 8px;
    padding: 12px 40px 12px 15px;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    width: 100%;
    max-width: 400px;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23333" d="M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

.variety-selector select#variety-select:hover {
    border-color: #0056b3;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.variety-selector select#variety-select:focus {
    outline: none;
    border-color: #0056b3;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
}

.variety-title {
    font-size: 1.55rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
    padding: 0 5px 0 0; /* Remove left padding, keep right padding */
}

.spec-container {
    display: flex;
    gap: 20px;
    padding: 0 10px 0 0; /* Remove left padding, keep right padding */
}

.spec-sections-list {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toggle-section {
    width: 100%;
    padding: 12px;
    background: #ececec;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: background 0.3s;
    text-align: left;
}

.toggle-section:hover {
    background: #dfe1e5;
}

.toggle-section.active {
    background: #f8e1e1; /* Matches the pinkish background from the screenshot */
    color: #333;
}

.spec-content-wrapper {
    flex: 1;
}

.spec-section-content {
    padding: 15px 0;
    background: transparent; /* White background for content area */
    border-radius: 6px;
}

.spec-row-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns to match screenshot */
    gap: 15px;
    justify-content: center;
}

.spec-cell {
    display: flex;
    flex-direction: column;
    padding: 8px;
    background: #ffffff;
    border-radius: 6px;
}

.spec-label {
    font-size: 1rem;
    font-weight: 600;
    color: #0805ab;
    margin-bottom: 5px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.spec-value {
    font-size: 1rem;
    font-weight: 500;
    color: #222;
    text-align: center;
}

.spec-value.boolean-value {
    font-weight: 500;
}

.spec-cell.empty {
    display: none;
}

.spec-note-indicator {
    cursor: pointer;
    margin-left: 5px;
    display: inline-block;
}

.note-icon {
    width: 12px;
    height: 12px;
    vertical-align: middle;
    display: inline-block;
}

.spec-note-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.spec-note-modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.spec-note-modal-content p {
    margin: 0;
    font-size: 1rem;
    color: #333;
}

.spec-note-modal-close {
    position: absolute;
    top: 13px;
    right: 13px;
    font-size: 1.2rem;
    color: #333;
    cursor: pointer;
    font-weight: bold;
}

.spec-note-modal-close:hover {
    color: #007bff;
}

/* Mobile styles */
@media (max-width: 768px) {
    .variety-selector label {
        font-size: 0.85rem;
    }

    .variety-selector select#variety-select {
        font-size: 0.8rem;
        padding: 10px 30px 10px 12px;
        background-size: 10px;
    }

    .variety-title {
        font-size: 1.25rem;
    }

    .spec-container {
        display: flex; /* Keep flex layout for two columns */
        gap: 10px; /* Reduce gap for mobile */
        padding: 0 10px 0 0; /* Remove left padding, keep right padding */
    }

    .spec-sections-list {
        flex: 0 0 120px; /* Reduce width for mobile */
        gap: 8px;
    }

    .toggle-section {
        font-size: 0.75rem; /* Smaller font for mobile */
        padding: 8px; /* Smaller padding */
        background: #ececec;
    }

    .toggle-section:hover {
        background: #dfe1e5;
    }

    .toggle-section.active {
        background: #f8e1e1;
    }

    .spec-content-wrapper {
        flex: 1;
    }

    .spec-section-content {
        padding: 10px 0; /* Slightly less padding */
    }

    .spec-row-wrapper {
        grid-template-columns: 1fr; /* Single column for content to fit better */
        gap: 10px;
    }

    .spec-label {
        font-size: 0.8rem; /* Smaller font */
        text-align: center;
    }

    .spec-value {
        font-size: 0.8rem;
        text-align: center;
    }

    .spec-note-modal-content {
        width: 95%;
        padding: 15px;
    }

    .spec-note-modal-content p {
        font-size: 0.9rem;
    }

    .note-icon {
        width: 14px;
        height: 14px;
        margin-left: 4px;
    }
}