/* ==========================================
   NEWSLETTER SECTION STYLES
=========================================== */
.cv-newsletter-section {
    background: radial-gradient(circle at center, #0e3552 0%, #000 70%) !important;
    position: relative;
    overflow: hidden;
}

/* Left Side: Icon & Text */
.cv-bell-icon {
    background-color: #cda85f;
    color: #ffffff;
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cv-newsletter-heading {
    color: #ffffff;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
}

/* Right Side: Form Layout */
.cv-input-group {
    display: flex;
    align-items: stretch;
    border-radius: 4px;
    overflow: hidden; /* Keeps the rounded corners on the children */
    background-color: #f4f6f7;
    position: relative;
}

.cv-input-wrapper {
    position: relative;
    background-color: transparent;
}

/* Envelope Icon */
.cv-input-icon {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 18px;
    z-index: 2;
}

/* Email Input */
.cv-email-input {
    width: 100%;
    height: 100%;
    min-height: 55px;
    padding-left: 50px !important;
    border: none;
    background-color: transparent;
    font-size: 20px;
    color: #1a232e;
    border-radius: 0;
}

.cv-email-input:focus {
    background-color: transparent;
}

/* Submit Button */
.cv-submit-btn {
    background-color:#cda85f;
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 1vw;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 0;
    transition: background-color 0.3s ease;
}

.cv-submit-btn:hover {
    background-color: var(--color-2);
    color: #ffffff;
}

/* Small Green Arrow inside button */
.cv-btn-icon {
    background-color: #cda85f;
    color: #ffffff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Italic Subtext */
.cv-spam-text {
    color: #fff;
    font-size: 1.1vw;
    font-style: italic;
    font-weight: 500;
}

/* ==========================================
   JQUERY VALIDATION ERROR FIX
=========================================== */
/* Prevents the jQuery validate error label from breaking the flex layout */
.cv-input-wrapper label.error {
    position: absolute;
    top: 100%;
    left: 0;
    color: #ffb3b3; 
    font-size: 13px;
    margin-top: 5px;
    font-weight: 500;
}

/* Adds margin to the wrapper when there is an error to prevent overlap */
.cv-input-wrapper.has-error {
    margin-bottom: 20px;
}

/* ==========================================
   RESPONSIVE ADJUSTMENTS
=========================================== */
@media (max-width: 576px) {
    .cv-bell-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 24px;
    }
    
    .cv-submit-btn {
        padding: 0 15px;
        font-size: 14px;
    }
    .cv-spam-text{
    	font-size: 16px;
    }
}