/* PhoneAuth Pro Public Styles */
.phoneauth-pro-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.phoneauth-pro-modal.active {
    opacity: 1;
    visibility: visible;
}

.phoneauth-pro-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.phoneauth-pro-modal.active .phoneauth-pro-container {
    transform: scale(1);
}

.phoneauth-pro-logo {
    text-align: center;
    margin-bottom: 30px;
}

.phoneauth-pro-logo img {
    max-width: 120px;
    height: auto;
}

.phoneauth-pro-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.phoneauth-pro-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 30px;
    font-size: 14px;
}

.phoneauth-pro-form-group {
    margin-bottom: 20px;
}

.phoneauth-pro-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.phoneauth-pro-phone-input {
    display: flex;
    gap: 10px;
}

.phoneauth-pro-country-select {
    width: 100px;
    padding: 14px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.phoneauth-pro-input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.phoneauth-pro-input:focus,
.phoneauth-pro-country-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.phoneauth-pro-otp-inputs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 30px 0;
}

.phoneauth-pro-otp-input {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.phoneauth-pro-otp-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.phoneauth-pro-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.phoneauth-pro-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.phoneauth-pro-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.phoneauth-pro-timer {
    text-align: center;
    margin: 20px 0;
    color: #6b7280;
    font-size: 14px;
}

.phoneauth-pro-resend {
    text-align: center;
    margin-top: 20px;
}

.phoneauth-pro-resend-btn {
    background: none;
    border: none;
    color: #667eea;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
}

.phoneauth-pro-resend-btn:disabled {
    color: #9ca3af;
    cursor: not-allowed;
}

.phoneauth-pro-divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
    color: #9ca3af;
    font-size: 14px;
}

.phoneauth-pro-divider::before,
.phoneauth-pro-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.phoneauth-pro-divider span {
    padding: 0 15px;
}

.phoneauth-pro-social {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.phoneauth-pro-social-btn {
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phoneauth-pro-social-btn:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.phoneauth-pro-social-btn img {
    width: 24px;
    height: 24px;
}

.phoneauth-pro-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.phoneauth-pro-close:hover {
    background: #e5e7eb;
    transform: rotate(90deg);
}

.phoneauth-pro-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

.phoneauth-pro-success {
    background: #d1fae5;
    color: #065f46;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

/* RTL Support */
[dir="rtl"] .phoneauth-pro-container {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .phoneauth-pro-close {
    right: auto;
    left: 20px;
}

/* Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.phoneauth-pro-step {
    animation: slideIn 0.3s ease;
}


/* Tabs */
.phoneauth-pro-tabs {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
	bo