/**
 * Стили для публичной части
 */
.osonsms-form {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.osonsms-form h3 {
    margin-top: 0;
    color: #333;
    text-align: center;
}

.osonsms-step {
    margin: 20px 0;
}

.osonsms-field {
    margin-bottom: 15px;
}

.osonsms-field label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: 600;
}

.osonsms-field input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.osonsms-field input:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 5px rgba(0,115,170,0.3);
}

.osonsms-otp-input {
    text-align: center;
    font-size: 24px;
    letter-spacing: 5px;
    font-weight: bold;
}

.osonsms-button {
    width: 100%;
    padding: 12px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.osonsms-button:hover {
    background: #005a87;
}

.osonsms-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.osonsms-button-link {
    background: none;
    border: none;
    color: #0073aa;
    text-decoration: underline;
    cursor: pointer;
    padding: 5px;
    margin-top: 10px;
}

.osonsms-button-link:hover {
    color: #005a87;
}

.osonsms-message {
    margin: 15px 0;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.osonsms-message .success {
    color: #155724;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 10px;
    margin: 0;
    border-radius: 4px;
}

.osonsms-message .error {
    color: #721c24;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    margin: 0;
    border-radius: 4px;
}

.osonsms-phone-display {
    text-align: center;
    font-weight: 600;
    margin: 15px 0;
    color: #0073aa;
}

.osonsms-timer {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin: 10px 0;
}

.osonsms-timer .time {
    font-weight: bold;
    color: #0073aa;
}

.osonsms-resend-code {
    display: none;
}

/* Адаптивность */
@media (max-width: 480px) {
    .osonsms-form {
        margin: 10px;
        padding: 15px;
    }
    
    .osonsms-field input {
        font-size: 14px;
    }
    
    .osonsms-otp-input {
        font-size: 20px;
    }
}