/**
 * Mail Subscribe Form Styles
 * Version: 1.0.0
 */

.bm-subscribe-form {
    max-width: 500px;
    margin: 0 auto;
}

.bm-subscribe-form-inner {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bm-subscribe-form input[type="email"] {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.bm-subscribe-form input[type="email"]:focus {
    outline: none;
    border-color: #fc591b;
    box-shadow: 0 0 0 3px rgba(252, 89, 27, 0.1);
}

.bm-subscribe-form button[type="submit"] {
    padding: 12px 24px;
    background: #fc591b;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.bm-subscribe-form button[type="submit"]:hover {
    background: #e04e16;
    transform: translateY(-2px);
}

.bm-subscribe-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.bm-subscribe-message {
    display: none;
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
}

.bm-subscribe-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.bm-subscribe-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .bm-subscribe-form-inner {
        flex-direction: column;
    }

    .bm-subscribe-form input[type="email"],
    .bm-subscribe-form button[type="submit"] {
        width: 100%;
    }
}

/* Checkbox / KVKK */
.bm-subscribe-consent {
    margin-top: 12px;
}

.bm-subscribe-consent label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.bm-subscribe-consent input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.bm-subscribe-consent input[type="checkbox"]:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.bm-subscribe-consent input[type="checkbox"]:checked {
    background: #fc591b;
    border-color: #fc591b;
}

.bm-subscribe-consent input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.bm-subscribe-consent a {
    color: #fc591b;
    text-decoration: none;
}

.bm-subscribe-consent a:hover {
    text-decoration: underline;
}

/* Dark background için */
.footer-dark .bm-subscribe-form input[type="email"] {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.footer-dark .bm-subscribe-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-dark .bm-subscribe-form input[type="email"]:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fc591b;
}

.footer-dark .bm-subscribe-consent label,
.footer-dark .bm-subscribe-consent span {
    color: rgba(255, 255, 255, 0.7);
}

.footer-dark .bm-subscribe-consent a {
    color: #fc591b;
}

/* Alternatif: form doğrudan dark container içindeyse */
.bm-subscribe-form.dark .bm-subscribe-consent label,
.bm-subscribe-form.dark .bm-subscribe-consent span,
[style*="background"] .bm-subscribe-consent label,
[style*="background"] .bm-subscribe-consent span {
    color: rgba(255, 255, 255, 0.7);
}

[style*="background"] .bm-subscribe-consent a {
    color: #fc591b;
}
