/* WINE EXPO REGISTRATION STYLES */
.wine-reg-container {
    --wine-red: #722F37;
    --wine-dark: #4A1A1F;
    --gold: #C5A059;
    --bg-light: #FDFCFB;

    color: #2D2D2D;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.wine-reg-container,
.wine-reg-container *,
.wine-reg-container *::before,
.wine-reg-container *::after {
    box-sizing: border-box;
}

.wine-reg-container .font-serif {

}

.wine-reg-container .wine-gradient-btn {
    background: linear-gradient(135deg, var(--wine-red) 0%, var(--wine-dark) 100%);
}

.wine-reg-container .glass-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e8eee6;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    overflow: hidden;
}

.wine-reg-container .lang-switcher {
    display: flex;
    background: #f3f4f6;
    padding: 4px;
    border-radius: 999px;
    width: fit-content;
    margin: 0 auto 24px auto;
}

.wine-reg-container .lang-btn {
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    background: transparent;
    color: #6b7280;
}

.wine-reg-container .lang-btn.active {
    background: white;
    color: var(--wine-red);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.wine-reg-container .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px; /* Row gap: 24px, Column gap: 32px */
}

@media (max-width: 640px) {
    .wine-reg-container .form-grid {
        grid-template-columns: 1fr;
    }
}

.wine-reg-container .input-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wine-reg-container .input-wrapper {
    position: relative;
}

.wine-reg-container .field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.wine-reg-container .wine-input {
    width: 100%;
    padding: 12px 12px 12px 42px;
    background: #f9fafb;
    border: 2px solid #f1f1f1;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
    font-size: 15px;
}

.wine-reg-container .wine-input:focus {
    border-color: var(--wine-red);
    background: white;
    box-shadow: 0 0 0 4px rgba(114, 47, 55, 0.05);
}

.wine-reg-container .policy-box {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.wine-reg-container .policy-scroll {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    max-height: 280px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.7;
    color: #4b5563;
    border: 1px solid #e8eee6;
}

/* Highlighting styles */
.wine-reg-container .policy-scroll b {
    color: var(--wine-red);
/*    display: block;*/
    margin-top: 15px;
    font-size: 15px;
}

.wine-reg-container .hl-text {
    background: linear-gradient(120deg, rgba(197, 160, 89, 0.15) 0%, rgba(197, 160, 89, 0.15) 100%);
    padding: 0 4px;
    border-radius: 4px;
    font-weight: 600;
    color: #1a1a1a;
}

.wine-reg-container .hl-red {
    color: #dc2626;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Tab content fade */
.wine-reg-container .tab-content { display: none; }
.wine-reg-container .tab-content.active { display: block; animation: wineSlideUp 0.4s ease-out; }

@keyframes wineSlideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.wine-reg-container .check-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    cursor: pointer;
}

.wine-reg-container .submit-btn {
    width: 100%;
    padding: 16px;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.wine-reg-container .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(114, 47, 55, 0.2);
}

.wine-reg-container .success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.wine-reg-container .success-overlay.active {
    visibility: visible;
    opacity: 1;
}

.wine-reg-container .success-modal {
    background: white;
    padding: 40px;
    border-radius: 24px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
