/* Frontend Styles for ASAP Voice Overs */
/* Version 1.6.0 - Figma Design Implementation */

/* =====================================================
   HERO WIDGET - Base Styles
   ===================================================== */

.asapvh-hero-wrap {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.asapvh-hero-overlay {
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 60%);
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.asapvh-hero-title {
    position: relative;
    z-index: 2;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -0.02em;
    width: 100%;
}

.asapvh-hero-title .asapvh-language,
.asapvh-hero-title .asapvh-suffix {
    display: inline;
}

/* =====================================================
   COUNTRY MAP WIDGET
   ===================================================== */

.asap-map-container {
    display: block;
    overflow: hidden;
    box-sizing: border-box;
}

.asap-map-container .asap-map-img {
    width: 100%;
    height: 100%;
    display: block;
}

/* =====================================================
   GENERAL / SHARED STYLES
   ===================================================== */

.asap-voice-country-widget {
    background: #fcfcfc;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    font-family: 'Montserrat', sans-serif;
}

.asap-voice-country-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.asap-voice-country-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    color: #000;
}

.asap-flag-icon {
    width: 40px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.asap-voice-country-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.asap-welcome-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

.asap-weather-box {
    margin-top: 20px;
    background: #55b4e6;
    color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.asap-weather-backup {
    padding: 15px;
    text-align: center;
    font-weight: bold;
}

.asap-map-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    background: #f0f0f0;
}

.asap-voice-hard-facts-widget {
    font-family: 'Montserrat', sans-serif;
}

.asap-facts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.asap-facts-list li {
    margin-bottom: 15px;
}

.asap-facts-list li:last-child {
    margin-bottom: 0;
}

.asap-facts-list li strong {
    display: block;
    margin-bottom: 2px;
    font-family: 'Montserrat', sans-serif;
}

.asap-facts-list li span {
    font-family: 'Montserrat', sans-serif;
}

/* =====================================================
   COUNTRY INFO WIDGET - With Flag
   ===================================================== */

.asap-voice-country-info-widget {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

.asap-country-header-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.asap-country-title-text {
    margin: 0;
    text-transform: uppercase;
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
}

.asap-country-flag-inline {
    display: inline-block;
    vertical-align: middle;
}

.asap-country-welcome-text {
    line-height: 1.7;
    font-family: 'Montserrat', sans-serif;
}

.asap-country-welcome-text p {
    margin: 0 0 1em 0;
}

.asap-country-welcome-text p:last-child {
    margin-bottom: 0;
}

/* =====================================================
   TALENTS WIDGET - Figma Design (asapvt- namespace)
   ===================================================== */

.asapvt-widget {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    padding: 40px 0;
    position: relative;
}

.asapvt-widget.asapvt-has-bg {
    filter: drop-shadow(6px 4px 14px rgba(0, 0, 0, 0.25));
    background: linear-gradient(90deg, rgba(201, 201, 201, 0.4) 0%, #F6F6F6 50.48%, rgba(201, 201, 201, 0.4) 98.08%);
}

.asapvt-glass-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    z-index: 0;
}

.asapvt-headline {
    position: relative;
    z-index: 1;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    color: #000;
    line-height: 1.2;
    text-transform: none !important;
}

.asapvt-layout {
    display: grid;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* =====================================================
   AUDIO LIST
   ===================================================== */

.asapvt-list-col {
    min-width: 0;
}

.asapvt-audio-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.asapvt-no-talents {
    color: #A2A2A2;
    font-size: 16px;
    font-style: italic;
}

/* Individual Audio Item Row */
.asapvt-audio-item {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* =====================================================
   PLAY BUTTON - Blue Square with Play Icon (Figma exact)
   ===================================================== */

.asapvt-widget .asapvt-play-btn,
.elementor-widget-container .asapvt-play-btn,
button.asapvt-play-btn {
    width: 43px !important;
    height: 43px !important;
    min-width: 43px !important;
    min-height: 43px !important;
    max-width: 43px !important;
    max-height: 43px !important;
    background: #2297FA !important;
    background-color: #2297FA !important;
    border: none !important;
    border-radius: 11px !important;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    color: #FFFFFF !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    outline: none !important;
    margin: 0 !important;
    position: relative;
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
}

.asapvt-widget .asapvt-play-btn:hover,
.elementor-widget-container .asapvt-play-btn:hover,
button.asapvt-play-btn:hover {
    background: #1a7fd6 !important;
    background-color: #1a7fd6 !important;
    transform: scale(1.05);
}

.asapvt-widget .asapvt-play-btn:active,
button.asapvt-play-btn:active {
    transform: scale(0.98);
}

.asapvt-widget .asapvt-play-btn.is-playing,
button.asapvt-play-btn.is-playing {
    background: #1565c0 !important;
    background-color: #1565c0 !important;
}

.asapvt-play-btn svg,
.asapvt-widget .asapvt-play-btn svg {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
    fill: #FFFFFF !important;
    color: #FFFFFF !important;
    pointer-events: none;
}

.asapvt-play-btn .asapvt-icon-play,
.asapvt-widget .asapvt-play-btn .asapvt-icon-play {
    display: block !important;
    margin-left: 2px;
}

.asapvt-play-btn .asapvt-icon-pause,
.asapvt-widget .asapvt-play-btn .asapvt-icon-pause {
    display: none !important;
}

.asapvt-play-btn.is-playing .asapvt-icon-play {
    display: none !important;
}

.asapvt-play-btn.is-playing .asapvt-icon-pause {
    display: block !important;
}

/* =====================================================
   CHECKBOX - White Box with Blue Check (28x28px)
   ===================================================== */

.asapvt-select-box {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.asapvt-checkbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    background: #FFFFFF;
    border: none;
    border-radius: 8px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    margin: 0;
    padding: 0;
}

.asapvt-checkbox:hover {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

.asapvt-checkbox:checked {
    background: #FFFFFF;
}

.asapvt-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: 600;
    color: #2297FA;
    line-height: 1;
}

.asapvt-select-box label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 125%;
    letter-spacing: -0.02em;
    color: #000000;
    cursor: pointer;
    user-select: none;
}

/* =====================================================
   VOICE INFO - Name & Download Link
   ===================================================== */

.asapvt-voice-info {
    flex-shrink: 0;
}

.asapvt-download-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.asapvt-download-link:hover {
    opacity: 0.8;
}

.asapvt-voice-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 125%;
    letter-spacing: -0.02em;
    color: #2297FA;
}

.asapvt-gender {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 125%;
    letter-spacing: -0.02em;
    color: #2297FA;
    margin-left: 4px;
}

.asapvt-icon-download {
    width: 14px;
    height: 14px;
    color: #2297FA;
    flex-shrink: 0;
}

/* =====================================================
   VOICE DESCRIPTION
   ===================================================== */

.asapvt-voice-desc {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.02em;
    color: #A2A2A2;
    flex: 1;
    min-width: 150px;
}

/* =====================================================
   FORM STYLES - Unified Gray Background
   ===================================================== */

.asapvt-form-col {
    width: 100%;
    max-width: 405px;
    position: relative;
    z-index: 1;
}

.asapvt-form {
    display: flex;
    flex-direction: column;
    gap: 27px;
}

.asapvt-form-group {
    width: 100%;
}

.asapvt-form-group input,
.asapvt-form-group textarea {
    width: 100%;
    height: 50px;
    padding: 14px 25px;
    background: rgba(172, 172, 172, 0.3) !important;
    border: none;
    border-radius: 15px;
    box-shadow: inset 0px 4px 4px rgba(0, 0, 0, 0.14);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 125%;
    letter-spacing: -0.02em;
    color: #000000;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.asapvt-form-group input::placeholder,
.asapvt-form-group textarea::placeholder {
    color: #A2A2A2;
}

.asapvt-form-group input:focus,
.asapvt-form-group textarea:focus {
    outline: none;
    background: rgba(172, 172, 172, 0.4) !important;
    box-shadow: inset 0px 4px 4px rgba(0, 0, 0, 0.18);
}

.asapvt-form-group textarea {
    height: 140px;
    border-radius: 18px;
    resize: vertical;
    min-height: 100px;
}

/* =====================================================
   SUBMIT BUTTON - Figma Exact Design
   ===================================================== */

.asapvt-submit-btn,
button.asapvt-submit-btn,
.asapvt-widget .asapvt-submit-btn,
.elementor-widget-container .asapvt-submit-btn {
    width: 100% !important;
    height: 55px !important;
    min-height: 55px !important;
    max-height: 55px !important;
    background: linear-gradient(90deg, #82DAFF 0%, rgba(69, 200, 255, 0.7) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 296px !important;
    box-shadow: 6px 4px 14px rgba(0, 0, 0, 0.25) !important;
    cursor: pointer !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 55px !important;
    text-align: center !important;
    color: #FFFFFF !important;
    transition: none !important;
    padding: 0 30px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.asapvt-submit-btn:hover,
button.asapvt-submit-btn:hover,
.asapvt-widget .asapvt-submit-btn:hover {
    transform: none !important;
    box-shadow: 6px 4px 14px rgba(0, 0, 0, 0.25) !important;
    background: linear-gradient(90deg, #82DAFF 0%, rgba(69, 200, 255, 0.7) 100%) !important;
    color: #FFFFFF !important;
}

.asapvt-submit-btn:active,
button.asapvt-submit-btn:active {
    transform: none !important;
}

.asapvt-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* =====================================================
   FORM RESPONSE MESSAGES
   ===================================================== */

.asapvt-form-response {
    display: none;
    padding: 16px 20px;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

.asapvt-form-response.success {
    display: block;
    background: rgba(34, 197, 94, 0.2);
    color: #166534;
}

.asapvt-form-response.error {
    display: block;
    background: rgba(239, 68, 68, 0.2);
    color: #dc2626;
}

/* Privacy Checkbox */
.asapvt-privacy-group {
    margin-top: 5px;
}

.asapvt-privacy-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.asapvt-privacy-checkbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    min-height: 20px;
    background: #FFFFFF;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    margin: 0;
    flex-shrink: 0;
}

.asapvt-privacy-checkbox:checked {
    background: #FFFFFF;
    border-color: #2297FA;
}

.asapvt-privacy-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: 700;
    color: #2297FA;
    line-height: 1;
}

.asapvt-privacy-text {
    font-size: 12px;
    line-height: 1.5;
}

.asapvt-privacy-text a {
    text-decoration: underline;
}

.asapvt-privacy-text a:hover {
    text-decoration: none;
}

/* =====================================================
   VOICE SEARCH WIDGET
   ===================================================== */

.asapvs-widget {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    padding: 40px 0;
    position: relative;
}

.asapvs-widget.asapvs-has-bg {
    filter: drop-shadow(6px 4px 14px rgba(0, 0, 0, 0.25));
    background: linear-gradient(90deg, rgba(201, 201, 201, 0.4) 0%, #F6F6F6 50.48%, rgba(201, 201, 201, 0.4) 98.08%);
}

.asapvs-glass-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    z-index: 0;
}

.asapvs-content {
    position: relative;
    z-index: 1;
}

.asapvs-headline,
.asapvs-widget .asapvs-headline,
.asapvs-content .asapvs-headline,
h2.asapvs-headline {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #000;
    text-align: center;
    text-transform: none !important;
}

.asapvs-subheadline {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #666;
    margin: 0 0 30px 0;
    text-align: center;
}

/* Filter Row */
.asapvs-filter-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    align-items: center;
}

.asapvs-filter-item {
    flex: 1;
    min-width: 120px;
}

.asapvs-filter-select {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    background: rgba(172, 172, 172, 0.2);
    border: none;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
}

.asapvs-filter-btn-wrapper {
    flex: 0 0 auto;
    min-width: auto;
}

/* Filter Button - inherits from .asapvt-submit-btn but with specific overrides */
.asapvs-filter-btn.asapvt-submit-btn {
    width: auto;
    min-width: 120px;
    max-width: 180px;
    height: 55px;
}

/* Results */
.asapvs-results-wrapper {
    margin-bottom: 30px;
}

.asapvs-results {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.asapvs-no-results,
.asapvs-select-prompt {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 30px;
}

.asapvs-select-prompt {
    color: #666;
    font-size: 16px;
    font-style: normal;
}

/* Form Section */
.asapvs-form-section {
    margin-top: 30px;
}

.asapvs-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.asapvs-form-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.asapvs-form-row .asapvs-form-group {
    flex: 1;
    min-width: 200px;
}

.asapvs-form-full {
    width: 100%;
}

.asapvs-form-group input,
.asapvs-form-group textarea {
    width: 100%;
    height: 50px;
    padding: 14px 25px;
    background: rgba(172, 172, 172, 0.3) !important;
    border: none;
    border-radius: 15px;
    box-shadow: inset 0px 4px 4px rgba(0, 0, 0, 0.14);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #000;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.asapvs-form-group input:focus,
.asapvs-form-group textarea:focus {
    outline: none;
    background: rgba(172, 172, 172, 0.4) !important;
    box-shadow: inset 0px 4px 4px rgba(0, 0, 0, 0.18);
}

.asapvs-form-group textarea {
    height: 120px;
    resize: vertical;
    min-height: 80px;
}

.asapvs-form-group input::placeholder,
.asapvs-form-group textarea::placeholder {
    color: #A2A2A2;
}

.asapvs-form-bottom {
    align-items: flex-start;
}

.asapvs-privacy-group {
    flex: 2;
}

.asapvs-privacy-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.asapvs-privacy-checkbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    min-height: 20px;
    background: #FFFFFF;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    margin: 0;
    flex-shrink: 0;
}

.asapvs-privacy-checkbox:checked {
    background: #FFFFFF;
    border-color: #2297FA;
}

.asapvs-privacy-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: 700;
    color: #2297FA;
}

.asapvs-privacy-text {
    font-size: 12px;
    line-height: 1.5;
    color: #666;
}

.asapvs-privacy-text a {
    text-decoration: underline;
}

.asapvs-submit-wrapper {
    text-align: center;
    margin-top: 10px;
}

.asapvs-submit-wrapper .asapvt-submit-btn {
    max-width: 400px;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .asapvs-filter-row {
        flex-wrap: wrap;
    }
    
    .asapvs-filter-item {
        flex: 1 1 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
    
    .asapvs-filter-btn-wrapper {
        flex: 1 1 100%;
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }
    
    .asapvs-filter-btn.asapvt-submit-btn {
        width: 200px;
        max-width: 200px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .asapvs-widget {
        padding: 30px 15px;
    }
    
    .asapvs-widget.asapvs-has-bg {
        padding: 30px 20px;
    }
    
    .asapvs-headline,
    .asapvs-widget .asapvs-headline,
    h2.asapvs-headline {
        font-size: 24px !important;
        text-transform: none !important;
    }
    
    .asapvs-subheadline {
        font-size: 14px;
    }
    
    .asapvs-filter-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .asapvs-filter-item {
        width: 100%;
        flex: 1 1 100%;
        min-width: 100%;
    }
    
    .asapvs-filter-select {
        height: 48px;
        font-size: 14px;
    }
    
    .asapvs-filter-btn-wrapper {
        margin-top: 5px;
    }
    
    .asapvs-filter-btn.asapvt-submit-btn {
        width: 100%;
        max-width: 100%;
        height: 50px;
    }
    
    .asapvs-results {
        gap: 12px;
    }
    
    /* Voice Search - Audio items mobile */
    .asapvs-results .asapvt-audio-item {
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
    }
    
    .asapvs-results .asapvt-play-btn {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        border-radius: 8px;
    }
    
    .asapvs-results .asapvt-play-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .asapvs-results .asapvt-checkbox {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
        border-radius: 6px;
    }
    
    .asapvs-results .asapvt-select-box {
        gap: 4px;
    }
    
    .asapvs-results .asapvt-select-box label {
        font-size: 12px;
    }
    
    .asapvs-results .asapvt-voice-name {
        font-size: 12px;
    }
    
    .asapvs-results .asapvt-gender {
        font-size: 11px;
    }
    
    .asapvs-results .asapvt-voice-desc {
        font-size: 11px;
        width: 100%;
        flex-basis: 100%;
        margin-top: 2px;
        padding-left: 40px;
    }
    
    .asapvs-form-row {
        flex-direction: column;
    }
    
    .asapvs-form-row .asapvs-form-group {
        min-width: 100%;
    }
    
    .asapvs-form-group input,
    .asapvs-form-group textarea {
        height: 48px;
        padding: 12px 18px;
        font-size: 14px;
    }
    
    .asapvs-form-group textarea {
        height: 100px;
    }
    
    .asapvs-privacy-group {
        margin-top: 10px;
    }
    
    .asapvs-privacy-text {
        font-size: 11px;
    }
    
    .asapvs-submit-wrapper .asapvt-submit-btn {
        width: 100%;
        max-width: 100%;
    }
}

/* =====================================================
   GRID WIDGET
   ===================================================== */

.asap-voice-grid-widget {
    margin-top: 50px;
}

.asap-grid-headline {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

.asap-grid-subtitle {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

.asap-languages-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-auto-flow: column;
    grid-template-rows: repeat(10, auto);
    gap: 15px 25px;
}

.asap-languages-list li {
    /* Grid items */
}

.asap-languages-list li a {
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.asap-languages-list li a:hover,
.asap-active-lang a {
    color: #2297FA;
}

/* Language Grid - Tablet (4 columns, ~21 rows for 84 items) */
@media (max-width: 1024px) {
    .asap-languages-list {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(21, auto);
    }
}

/* Language Grid - Mobile (3 columns, ~28 rows for 84 items) */
@media (max-width: 768px) {
    .asap-languages-list {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(28, auto);
    }
}

/* Language Grid - Small Mobile (2 columns, ~42 rows for 84 items) */
@media (max-width: 480px) {
    .asap-languages-list {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(42, auto);
        gap: 12px 15px;
    }
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 1200px) {
    .asapvt-layout {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    
    .asapvt-list-col {
        order: 1;
        width: 100%;
    }
    
    .asapvt-form-col {
        order: 2;
        width: 100%;
        max-width: 100%;
    }

    .asapvt-headline {
        font-size: 32px;
        text-align: center;
    }
    
    .asapvt-submit-btn {
        max-width: 400px;
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 1024px) {
    .asap-voice-country-grid {
        grid-template-columns: 1fr 1fr;
    }

    .asap-col-right {
        grid-column: span 2;
    }

    .asapvt-widget {
        padding: 30px 0;
    }

    .asapvt-audio-item {
        gap: 15px;
    }

    .asapvt-voice-desc {
        width: 100%;
        flex-basis: 100%;
        margin-top: 10px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .asap-voice-country-grid {
        grid-template-columns: 1fr;
    }

    .asap-col-right {
        grid-column: span 1;
    }

    .asap-country-header-row {
        gap: 12px;
    }

    .asap-country-title-text {
        font-size: 24px;
    }

    .asap-country-flag-inline {
        height: 32px;
    }

    .asapvt-widget {
        padding: 20px 15px;
    }
    
    .asapvt-widget.asapvt-has-bg {
        padding: 25px 20px;
    }

    .asapvt-headline {
        font-size: 22px;
        margin-bottom: 25px;
        text-align: center;
    }
    
    .asapvt-audio-item {
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
    }

    .asapvt-play-btn {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        border-radius: 8px;
    }

    .asapvt-play-btn svg {
        width: 14px;
        height: 14px;
    }

    .asapvt-checkbox {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
        border-radius: 6px;
    }

    .asapvt-checkbox:checked::after {
        font-size: 12px;
    }

    .asapvt-select-box {
        gap: 4px;
    }

    .asapvt-select-box label {
        font-size: 12px;
    }

    .asapvt-voice-name {
        font-size: 12px;
    }
    
    .asapvt-gender {
        font-size: 11px;
    }
    
    .asapvt-icon-download {
        width: 14px;
        height: 14px;
    }
    
    .asapvt-voice-info {
        flex: 1;
        min-width: 0;
    }
    
    .asapvt-download-link {
        gap: 4px;
    }

    .asapvt-voice-desc {
        font-size: 11px;
        width: 100%;
        flex-basis: 100%;
        margin-top: 4px;
        padding-left: 40px;
    }

    .asapvt-form-group input,
    .asapvt-form-group textarea {
        height: 48px;
        padding: 12px 18px;
        font-size: 14px;
        border-radius: 12px;
    }

    .asapvt-form-group textarea {
        height: 100px;
        border-radius: 14px;
    }

    .asapvt-submit-btn {
        height: 55px;
        font-size: 14px;
        width: 100%;
        max-width: 100%;
    }
    
    .asapvt-privacy-label {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .asapvt-privacy-text {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .asapvt-audio-item {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .asapvt-play-btn {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        border-radius: 7px !important;
    }

    .asapvt-play-btn svg {
        width: 12px !important;
        height: 12px !important;
    }

    .asapvt-checkbox {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        min-height: 22px !important;
        border-radius: 5px !important;
    }

    .asapvt-checkbox:checked::after {
        font-size: 10px !important;
    }

    .asapvt-select-box {
        gap: 3px !important;
    }

    .asapvt-select-box label {
        font-size: 10px !important;
    }

    .asapvt-voice-name {
        font-size: 11px !important;
    }
    
    .asapvt-gender {
        font-size: 10px !important;
    }
    
    .asapvt-icon-download {
        width: 12px !important;
        height: 12px !important;
    }

    .asapvt-voice-info {
        flex: 1;
        min-width: 0;
    }

    .asapvt-voice-desc {
        font-size: 10px !important;
        flex-basis: 100%;
        padding-left: 34px;
        margin-top: 3px;
    }

    .asapvt-form {
        gap: 15px;
    }
    
    /* Voice Search Widget - extra small */
    .asapvs-headline {
        font-size: 20px !important;
        text-transform: none !important;
    }
    
    .asapvs-subheadline {
        font-size: 12px !important;
    }
    
    .asapvs-results .asapvt-voice-desc {
        padding-left: 34px;
    }
}