/* ============================================
   REGISTRATION POPUP STYLES
   Oriana Academy - Premium Single Column
   ============================================ */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.popup-overlay.active {
    display: flex;
    opacity: 1;
}

.popup-content {
    background: #0f172a;
    width: 95%;
    max-width: 500px;
    /* Reduced width for single column */
    border-radius: 20px;
    position: relative;
    padding: 0;
    overflow: hidden;
    box-shadow:
        0 25px 60px -12px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: scale(0.8) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: white;
}

.popup-overlay.active .popup-content {
    transform: scale(1) translateY(0);
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 20;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.popup-close:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.popup-inner {
    padding: 40px 32px 32px;
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* Decorative glow */
.popup-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.03) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.popup-header {
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.popup-logo-small {
    height: 32px;
    width: auto;
    margin-bottom: 16px;
}

.popup-main-title {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.popup-subtitle {
    font-size: 0.95rem;
    color: #94a3b8;
    margin-bottom: 2px;
}


/* --- Form --- */
.popup-form {
    width: 100%;
    position: relative;
    z-index: 1;
}

.popup-icon-img-small {
    width: 40px;
    height: auto;
    animation: popupIconBounce 3s ease-in-out infinite;
}

.popup-input-group {
    margin-bottom: 12px;
}

.popup-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s;
    font-family: inherit;
}

.popup-input:focus {
    border-color: #10B981;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1);
}

.popup-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Select styling */
.popup-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}

.popup-select option {
    background: #0f172a;
    color: white;
}

.popup-actions {
    margin-top: 16px;
}

.btn-popup.primary {
    width: 100%;
    padding: 14px;
    background: #10B981;
    color: #064e3b;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-popup.primary:hover {
    background: #059669;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.3);
}

.btn-link-subtle {
    width: 100%;
    background: none;
    border: none;
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 12px;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s;
}

.btn-link-subtle:hover {
    color: #94a3b8;
    text-decoration: underline;
}

@keyframes popupIconBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* --- Mobile Responsiveness --- */
@media (max-width: 480px) {
    .popup-content {
        width: 92%;
    }

    .popup-inner {
        padding: 32px 20px 24px;
    }

    .popup-main-title {
        font-size: 1.5rem;
    }

    .benefit-item-small {
        padding: 10px;
    }

    .benefit-item-small span {
        font-size: 0.7rem;
    }
}