/* GT Message Top - Front styles */

/* Anti-spam honeypot: invisible to humans, visible to bots */
.gtmessagetop-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

#gtmessagetop-banner {
    position: relative;
    width: 100%;
    z-index: 9999;
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
    clear: both;
    margin-bottom: 20px;
}

.gtmessagetop-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 50px 14px 20px;
    position: relative;
}

.gtmessagetop-content {
    flex: 1;
    text-align: center;
}

.gtmessagetop-content p,
.gtmessagetop-content div {
    margin: 2px 0;
}

.gtmessagetop-content a {
    color: inherit;
    text-decoration: underline;
}

/* Close button */
.gtmessagetop-close {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: inherit;
    font-size: 20px;
    cursor: pointer;
    padding: 4px 6px;
    line-height: 1;
    opacity: 0.6;
    transition: opacity 0.2s;
    border-radius: 50%;
}

.gtmessagetop-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.15);
}

/* Newsletter inline form */
.gtmessagetop-newsletter-form {
    display: inline-block;
    vertical-align: middle;
    margin: 8px 5px 4px;
}

.gtmessagetop-newsletter-inline {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
}

.gtmessagetop-newsletter-input {
    padding: 9px 18px;
    border: none;
    background: transparent;
    color: inherit;
    font-size: 13px;
    outline: none;
    min-width: 220px;
}

.gtmessagetop-newsletter-input::placeholder {
    color: inherit;
    opacity: 0.7;
}

.gtmessagetop-newsletter-btn {
    padding: 9px 20px;
    border: none;
    border-radius: 0 25px 25px 0;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    text-transform: uppercase;
}

.gtmessagetop-newsletter-btn:hover {
    background: rgba(0, 0, 0, 0.4);
}

/* Hide animation */
#gtmessagetop-banner.gtmessagetop-hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .gtmessagetop-inner {
        flex-wrap: wrap;
        padding: 8px 35px 8px 10px;
    }

    .gtmessagetop-newsletter-input {
        min-width: 150px;
    }
}

@media (max-width: 480px) {
    .gtmessagetop-newsletter-inline {
        flex-wrap: wrap;
        justify-content: center;
    }

    .gtmessagetop-newsletter-input {
        min-width: 120px;
        width: 100%;
    }
}
