/**
 * JustOnline Newsletter Widget - CSS
 */

/* Newsletter Widget */
.justonline-newsletter-title {
    font-size: 16px;
    font-weight: 400;
	margin-bottom: 5px;
    text-align: left;
}

.justonline-newsletter-description {
    margin-bottom: 20px;
}

.justonline-newsletter-form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
}

.justonline-input-group {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0;
}

.justonline-input-group input[type="email"] {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 0 10px;
    font-size: 14px;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 4px;
}

.justonline-input-group input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.justonline-input-group input[type="email"]:focus {
    outline: none;
}

.justonline-input-group button {
    background-color: transparent;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 10px 15px;
    transition: transform 0.3s ease;
    position: relative;
    left: 0;
    transition: left 0.3s ease;
}

.justonline-input-group button:hover {
    transform: none;
    left: 10px;
}

.justonline-input-group button i,
.justonline-input-group button svg {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.justonline-newsletter-response {
    margin-top: 10px;
    padding: 8px;
    border-radius: 4px;
    display: none;
}

.justonline-newsletter-response.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.justonline-newsletter-response.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .justonline-newsletter {
        padding: 30px 20px;
    }
    
    .justonline-newsletter-title {
        font-size: 20px;
    }

    .justonline-input-group input[type="email"] {
        font-size: 14px;
    }
    }
    
/* Responsive adjustments */
@media (max-width: 768px) {
    .justonline-newsletter-form {
        flex-direction: column;
    }
}
