/* Subscribe to Read - Frontend Styles */

.str-registration-wrapper {
    padding: 40px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 20px 0;
}

.str-registration-form-container {
    max-width: 500px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.str-form-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px; /* MODIFIÉ (était 10px) */
    text-align: center;
    line-height: 1.3;
}

.str-form-description {
    font-size: 16px;
    color: #666;
    margin: 0 0 20px; /* MODIFIÉ (était 30px) */
    text-align: center;
    line-height: 1.5;
}

.str-registration-form {
    width: 100%;
}

.str-form-group {
    margin-bottom: 15px; /* MODIFIÉ (était 20px) */
}

.str-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.str-form-input {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.str-form-input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.str-gdpr-group {
    margin-bottom: 20px; /* MODIFIÉ (était 25px) */
}

.str-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.str-checkbox {
    margin-right: 10px;
    margin-top: 3px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.str-checkbox-text {
    flex: 1;
}

.str-submit-button {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: #4CAF50;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.str-submit-button:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.str-submit-button:active {
    transform: translateY(0);
}

.str-submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.str-form-message {
    display: none;
    padding: 12px 15px;
    margin-top: 15px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}

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

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

.str-login-link {
    text-align: center;
    margin-top: 15px; /* MODIFIÉ (était 20px) */
    font-size: 14px;
    color: #666;
}

.str-login-link a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.str-login-link a:hover {
    color: #45a049;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .str-registration-wrapper {
        padding: 30px 15px;
    }
    
    .str-registration-form-container {
        padding: 30px 20px;
    }
    
    .str-form-title {
        font-size: 24px;
    }
    
    .str-form-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .str-registration-form-container {
        padding: 25px 15px;
    }
    
    .str-form-title {
        font-size: 22px;
    }
    
    .str-submit-button {
        font-size: 15px;
        padding: 12px 18px;
    }
}

/* Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.str-form-message {
    animation: slideDown 0.3s ease;
}