/**
 * Theme Name:  Kto o chem
 * Description: Блог со статьями на разные темы
 *
 * Author:      Zhuravlev Petr
 * Author URI:  
 *
 * Tags:        black, brown, orange
 * Text Domain: Smart_Blog
 *
 * License:
 * License URI:
 *
 * Version:     1.0
 */





/* виджет подписаться ++ */
/* Стили для виджета подписки */
.subscription-widget {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.subscription-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}


.subscription-form .form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.15s;
    box-sizing: border-box;
    height: 42px;
}

.subscription-form .form-control:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.consent-group {
    grid-column: 1 / -1;
     font-size: 16px;
    line-height: 1.4;
}

.consent-checkbox {
    margin: 3px 8px 0 0;
    flex-shrink: 0;
}

.consent-label {
    color: var(--text-white);
    cursor: pointer;
}

.policy-link {
    color: #007bff;
    text-decoration: none;
}

.policy-link:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
}

.submit-btn:hover:not(:disabled) {
    background: #0056b3;
}

.submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-message {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 111111;

    padding: 10px;
    margin-top: 15px;
    border-radius: 4px;
    font-size: 14px;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.success-icon, .error-icon {
    font-weight: bold;
    margin-right: 5px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
/* виджет подписаться -- */


