/**
 * =============================================================================
 * NtSubscribeForm - nt-subscribe-form.css
 * -----------------------------------------------------------------------------
 * @author     Guillermo Arturo Shikina Zapata
 * @since      2025
 * @copyright  KhamaleonLab 
 * @license    See LICENSE.md for details.
 * @version    1.0.0
 * update      20250626
 * -----------------------------------------------------------------------------
 * Basic styles for the subscription form nutrient.
 * =============================================================================
 */

.ks-subscribe-form-container {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    max-width: 500px;
    margin: 2rem auto;
    border: 1px solid #087748;
}

h3.ks-subscribe-form-title {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
    color: #343a40;
    font-weight: 700;
}

#ks-subscribe-form-subtitle {
    margin-bottom: 1.5rem;
    color: #6c757d;
    line-height: 1.4;
}

.ks-subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .ks-subscribe-form {
        flex-direction: row;
        align-items: stretch;
    }
}

.ks-subscribe-form .form-group {
    flex-grow: 1;
    margin-bottom: 0;
}

.ks-subscribe-form .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1.6rem;
    border: 0.1rem solid #087748;
    border-radius: 0.8rem;
    height: 4.8rem;
    box-sizing: border-box;
}

.ks-subscribe-form .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1.6rem;
    border-radius: 0.8rem;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.ks-subscribe-form .btn-primary {
    background-color: #087748;
    color: white;
    transition: background-color 0.2s ease-in-out;
}

.ks-subscribe-form .btn-primary:hover {
    background-color: #0056b3;
}

/* Feedback messages */
.ks-subscribe-feedback {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    text-align: left;
}

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

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

/* Screen reader only utility class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}