/* Phone Authentication Styles */
.phone-login-section {
    margin-bottom: 30px;
}

.sms-code-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.sms-code-group input {
    flex: 1;
    width: auto;
    min-height: 44px; /* Minimum touch target size for mobile */
}

#send-sms-btn {
    padding: 12px 16px;
    font-size: 0.9rem;
    min-width: 120px;
    min-height: 44px; /* Minimum touch target size for mobile */
}

.auth-toggle {
    margin-top: 20px;
    text-align: center;
}

.auth-toggle p {
    margin-bottom: 8px;
    color: #666;
    font-size: 0.9rem;
}

.toggle-link {
    color: #07C160;
    text-decoration: none;
    font-weight: 600;
}

.toggle-link:hover {
    text-decoration: underline;
}

.active-form {
    display: block !important;
}

/* Phone input specific styling */
input[type="tel"] {
    font-family: monospace;
}

/* Error and success messages */
.auth-message {
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    text-align: center;
}

.message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Loading states */
.btn-loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading::after {
    content: "...";
}