/* ========================================
   PHONE AUTHENTICATION PAGE - SPECIFIC STYLES
   ======================================== */

/* Phone Auth Container */
#phoneAuth .auth-container {
    max-width: 500px;
    width: 100%;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 3rem;
}

#phoneAuth .auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

#phoneAuth .auth-title {
    font-family: 'TTJenevers', 'AZURESans', serif;
    font-size: 2.8rem;
    font-weight: 500;
    font-style: italic;
    color: var(--azure-gold);
    margin-bottom: 0.5rem;
}

#phoneAuth .auth-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Phone Auth Form Group */
#phoneAuth .form-group {
    margin-bottom: 1.5rem;
}

#phoneAuth .form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
}

/* Phone Auth - Phone Input Container */
#phoneAuth .phone-input-container {
    display: flex;
    align-items: center;
    border: 1.5px solid #e0e6ed;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

#phoneAuth .phone-input-container:focus-within {
    background: #ffffff;
    border-color: #0C436A;
    box-shadow: 0 0 0 3px rgba(12, 67, 106, 0.1);
}

#phoneAuth .phone-input-group {
    display: contents;
}

#phoneAuth .country-code-select {
    background: transparent;
    color: #333;
    border: none;
    padding: 0.875rem 0.5rem 0.875rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    font-family: 'AZURESans', sans-serif;
    border-right: 1px solid #e0e6ed;
    outline: none;
    cursor: pointer;
    min-width: 80px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23666' d='M5 7L1 3h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 10px;
    padding-right: 1.75rem;
}

#phoneAuth .phone-input {
    flex: 1;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    color: #333;
    background: transparent;
    border: none;
    outline: none;
    font-family: 'AZURESans', sans-serif;
}

#phoneAuth .phone-input::placeholder {
    color: #999;
    font-weight: 400;
}

/* Phone Auth - Form Note */
#phoneAuth .form-note {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #999;
    margin-top: 0.5rem;
    padding: 0;
    line-height: 1.3;
}

#phoneAuth .form-note i {
    color: #999;
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* Phone Auth - Error Message (Simple red text, no box) */
#phoneAuth .auth-error {
    margin-top: 1rem;
}

#phoneAuth .auth-error span {
    display: block;
    color: #e74c3c;
    font-size: 0.875rem;
    line-height: 1.4;
    text-transform: none;
}

/* Phone Auth - Button */
#phoneAuth .btn-new {
    width: 100%;
    margin-top: 0.5rem;
}

/* Mobile Specific - Phone Auth */
/* Increased breakpoint to 960px to handle browser zoom */
@media (max-width: 960px) {
    #phoneAuth .auth-container {
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
        padding: 2.5rem 1.75rem 2rem;
        background: #ffffff;
        border-radius: 24px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        position: relative;
        z-index: 2;
    }

    #phoneAuth .auth-header {
        margin-bottom: 2rem;
        text-align: left;
    }

    #phoneAuth .auth-title {
        font-size: 2.2rem;
        color: var(--azure-gold);
        margin-bottom: 0.75rem;
        text-align: center;
        font-weight: 400;
        line-height: 1.2;
        position: relative;
        z-index: 1;
    }

    #phoneAuth .auth-subtitle {
        color: var(--text-dark);
        font-size: 0.85rem;
        margin-bottom: 0;
        text-align: center;
        line-height: 1.5;
        opacity: 0.85;
    }

    #phoneAuth .form-group {
        margin-bottom: 1.75rem;
    }
}
