/* CM Downloads — styled to match cm-theme */

.cm-dl-wrap {
    margin: 2em 0;
}

.cm-dl-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
    margin: 0 0 1em;
    line-height: 1.6;
}

.cm-dl-row {
    display: flex;
    gap: 0;
    max-width: 520px;
}

.cm-dl-email {
    flex: 1;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.15);
    border-right: none;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    padding: 12px 16px;
    border-radius: 3px 0 0 3px;
    outline: none;
    transition: border-color 0.2s;
}

.cm-dl-email:focus {
    border-color: #BA510F;
}

.cm-dl-email::placeholder {
    color: rgba(255,255,255,0.3);
}

.cm-dl-btn {
    background: #BA510F;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    padding: 12px 24px;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.cm-dl-btn:hover {
    background: #953F0B;
}

.cm-dl-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cm-dl-privacy {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    margin: 0.6em 0 0;
}

.cm-dl-msg {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    margin: 0.75em 0 0;
    min-height: 1.4em;
}

.cm-dl-msg.cm-dl-success {
    color: #7ecb7e;
}

.cm-dl-msg.cm-dl-error {
    color: #ff7070;
}

/* Honeypot — hidden from real users */
.cm-dl-honey {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    pointer-events: none;
}

@media (max-width: 480px) {
    .cm-dl-row {
        flex-direction: column;
    }
    .cm-dl-email {
        border-right: 1px solid rgba(255,255,255,0.15);
        border-bottom: none;
        border-radius: 3px 3px 0 0;
    }
    .cm-dl-btn {
        border-radius: 0 0 3px 3px;
        text-align: center;
    }
}
