/* LCR Newsletter Specific Styles - High Specificity */

/* Wrapper handles the full page background and alignment */
.lcr-news-wrapper {
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #0b1014;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 210, 106, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 210, 106, 0.05) 0%, transparent 40%);
    overflow: hidden;
    /* Font Reset */
    font-family: 'Manrope', system-ui, sans-serif;
    color: #ffffff;
    line-height: 1.5;
    box-sizing: border-box;
}

.lcr-news-wrapper * {
    box-sizing: border-box;
}

/* Container limits width */
.lcr-news-container {
    width: 100%;
    max-width: 900px;
    position: relative;
    z-index: 2;
}

/* The Glass Card */
.lcr-news-card {
    background: rgba(20, 25, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Subtle border */
    border-radius: 24px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow:
        0 20px 40px -10px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* Mobile first: stacked */
}

/* Two columns on Desktop */
@media (min-width: 768px) {
    .lcr-news-card:not(.lcr-news-success-card) {
        flex-direction: row;
        align-items: stretch;
    }
}

/* Success Card Specifics */
.lcr-news-success-card {
    max-width: 500px !important;
    margin: 0 auto;
    text-align: center;
    background: rgba(20, 25, 30, 0.8) !important;
    /* Slightly darker/more opaque for contrast */
}

.lcr-news-success-card .lcr-news-content {
    border: none !important;
    padding: 60px !important;
}

/* CONTENT SIDE (Left) */
.lcr-news-content {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Divider on mobile */
}

@media (min-width: 768px) {
    .lcr-news-content {
        padding: 60px;
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* Icon or Image */
.lcr-news-icon {
    /* If it's an image now, remove distinct background/padding */
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

/* Floating Animation */
@keyframes lcr-float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.lcr-news-icon svg,
.lcr-news-icon img {
    max-width: 120px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    animation: lcr-float 4s ease-in-out infinite;
}

.lcr-news-features i {
    color: #0dcf85;
}

.lcr-news-input:focus {
    border-color: #0dcf85;
    box-shadow: 0 0 0 4px rgba(13, 207, 133, 0.1);
    background: #131920;
}

.lcr-news-input:focus+.lcr-news-input-icon,
.lcr-news-input-group:focus-within .lcr-news-input-icon {
    color: #0dcf85;
}

/* BUTTON FIXES - OVERRIDE ELEMENTOR */
.lcr-news-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 18px !important;
    border: none !important;
    border-radius: 12px !important;
    margin: 0 !important;
    /* Brand Gradient */
    background: linear-gradient(20deg, #01fe9d, #0dcf85, #01fe9d, #0dcf85) !important;
    background-size: 200% auto !important;
    color: #0b1014 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 20px rgba(13, 207, 133, 0.4) !important;
    position: relative !important;
    overflow: hidden !important;
    line-height: normal !important;
}

.lcr-news-btn:hover {
    background-position: right center !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(13, 207, 133, 0.5) !important;
}

.lcr-success {
    color: #0dcf85;
}

.lcr-news-title {
    margin: 0 0 16px;
    font-size: 32px;
    /* Bigger on desktop? handled via clamp maybe */
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    text-transform: none !important;
}

.lcr-news-desc {
    margin: 0 0 32px;
    font-size: 16px;
    color: #94a3b8;
    /* Slate 400 */
    line-height: 1.6;
}

.lcr-news-features {
    display: flex;
    flex-direction: column;
    /* Stack vertically for impact */
    gap: 16px;
    font-size: 15px;
    font-weight: 600;
    color: #e2e8f0;
    /* Brighter text */
    margin-top: auto;
    /* Push to bottom of content area */
}

@media (min-width: 768px) {
    .lcr-news-features {
        flex-direction: row;
        /* Horizontal on desktop */
        flex-wrap: wrap;
        gap: 24px;
    }
}

.lcr-news-features span {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 16px;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.lcr-news-features i {
    color: #0dcf85;
    filter: drop-shadow(0 0 8px rgba(13, 207, 133, 0.4));
}

/* FORM SIDE (Right) */
.lcr-news-form-wrapper {
    flex: 1;
    /* equal width */
    background: rgba(0, 0, 0, 0.2);
    /* Slightly darker */
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .lcr-news-form-wrapper {
        padding: 60px;
    }
}

.lcr-news-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
    /* Center form in its col */
    width: 100%;
}

.lcr-news-label {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: -10px;
    /* Pull tighter to input */
    display: block;
}

.lcr-news-input-group {
    position: relative;
    width: 100%;
}

.lcr-news-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    transition: color 0.2s;
}

.lcr-news-input {
    width: 100% !important;
    background: #0f1419 !important;
    border: 1px solid #2d3748 !important;
    border-radius: 12px !important;
    padding: 16px 16px 16px 60px !important;
    /* Increased padding */
    color: #fff !important;
    font-size: 16px !important;
    font-family: inherit !important;
    outline: none !important;
    box-shadow: none !important;
    line-height: normal !important;
    height: auto !important;
    box-sizing: border-box !important;
    text-align: left !important;
    /* Force Start */
}

.lcr-news-input:focus {
    border-color: #0dcf85 !important;
    box-shadow: 0 0 0 4px rgba(13, 207, 133, 0.2) !important;
    background: #131920 !important;
}

.lcr-news-input:focus+.lcr-news-input-icon,
.lcr-news-input-group:focus-within .lcr-news-input-icon {
    /* Bright white for better contrast on focus */
    color: #ffffff !important;
    transform: translateY(-50%) scale(1.1);
    /* Subtle pop */
}

/* Button */
.lcr-news-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 12px;
    background: #00d26a;
    /* Fallback */
    background: linear-gradient(135deg, #00d26a 0%, #00994d 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 210, 106, 0.25);
    position: relative;
    overflow: hidden;
}

.lcr-news-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 210, 106, 0.35);
    filter: brightness(1.05);
}

.lcr-news-btn:active {
    transform: translateY(0);
}

/* Messages */
.lcr-news-footer {
    margin-top: 24px;
    text-align: center;
    /* Revert to center as requested */
}

.lcr-news-msg {
    min-height: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.lcr-news-disclaimer {
    font-size: 11px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.4;
    text-align: center;
    opacity: 0.7;
}

.lcr-news-attention {
    font-size: 13px;
    color: #fbbf24;
    /* Warning Yellow */
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.15);
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 0;
    margin-bottom: 16px;
    font-weight: 600;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

/* Errors/Success Colors */
.lcr-success {
    color: #00d26a;
}

.lcr-error {
    color: #fbbf24;
}

/* Mobile Adjustments */
@media (max-width: 480px) {

    .lcr-news-content,
    .lcr-news-form-wrapper {
        padding: 30px 24px;
    }

    .lcr-news-title {
        font-size: 26px;
    }
}

/* Modal Mode Specifics */
/* Modal Mode Specifics */
body.lcr-modal-mode {
    background: transparent !important;
    min-height: 0 !important;
    height: auto !important;
    /* Allow body to fit content */
    overflow-y: auto !important;
    /* Scroll *inside* iframe if needed */
    padding: 0 !important;
    margin: 0 !important;
}

body.lcr-modal-mode .lcr-news-wrapper {
    background: transparent !important;
    min-height: 0 !important;
    padding: 0 !important;
    display: block !important;
    /* Remove flex centering, let natural flow handle it */
}

body.lcr-modal-mode .lcr-news-container {
    padding: 0;
    max-width: 100%;
}

body.lcr-modal-mode .lcr-news-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    border-radius: 0 !important;
    max-width: 100%;
}

body.lcr-modal-mode .lcr-news-content {
    padding: 30px !important;
    /* Reduce padding */
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.lcr-modal-mode .lcr-news-form-wrapper {
    padding: 30px !important;
}

/* Modal Mobile Adjustments */
@media (max-width: 768px) {
    body.lcr-modal-mode .lcr-news-content {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding: 24px !important;
        text-align: center;
    }

    body.lcr-modal-mode .lcr-news-form-wrapper {
        padding: 24px !important;
    }

    body.lcr-modal-mode .lcr-news-features {
        justify-content: center;
    }

    body.lcr-modal-mode .lcr-news-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    body.lcr-modal-mode .lcr-news-desc {
        font-size: 14px;
        margin-bottom: 20px;
    }
}