/* Compact Newsletter Subscription Form */

.newsletter-compact {
    background: rgba(102, 126, 234, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    padding: 20px 30px;
    margin: 30px 0;
    text-align: center;
}

.newsletter-compact-title {
    font-size: 1.3em;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    font-weight: 600;
}

.newsletter-compact-subtitle {
    color: #94a3b8;
    font-size: 0.95em;
    margin-bottom: 15px;
}

.newsletter-compact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-compact-input {
    flex: 1;
    min-width: 200px;
    padding: 10px 15px;
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.6);
    color: #f9fafb;
    font-size: 0.95em;
    transition: all 0.3s ease;
}

.newsletter-compact-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.2);
}

.newsletter-compact-input::placeholder {
    color: #64748b;
}

.newsletter-compact-button {
    padding: 10px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    white-space: nowrap;
}

.newsletter-compact-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.newsletter-compact-button:active {
    transform: translateY(0);
}

.newsletter-compact-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.newsletter-compact-message {
    margin-top: 10px;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.newsletter-compact-message.success {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.newsletter-compact-message.error {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Responsive Design */
@media (max-width: 600px) {
    .newsletter-compact {
        padding: 15px 20px;
    }

    .newsletter-compact-title {
        font-size: 1.1em;
    }

    .newsletter-compact-subtitle {
        font-size: 0.85em;
    }

    .newsletter-compact-form {
        flex-direction: column;
    }

    .newsletter-compact-input {
        min-width: 100%;
    }

    .newsletter-compact-button {
        width: 100%;
    }
}
