/**
 * ANO Core Plugin Stylesheet
 * Bảng màu Vimido: #171717 (Đen), #D4A62A (Vàng kim), #C62828 (Đỏ CTA), #FAF8F3 (Trắng ngà), #252525 (Chữ)
 */

:root {
    --ano-black: #171717;
    --ano-gold: #D4A62A;
    --ano-gold-light: #f6ecd3;
    --ano-red: #C62828;
    --ano-red-hover: #b71c1c;
    --ano-ivory: #FAF8F3;
    --ano-white: #FFFFFF;
    --ano-text: #252525;
    --ano-text-muted: #666666;
    --ano-border: #E5E5E5;
    --ano-radius: 8px;
    --ano-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    --ano-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* 1. Lead Form Card */
.ano-lead-card {
    background: var(--ano-white);
    border: 2px solid var(--ano-gold);
    border-radius: var(--ano-radius);
    padding: 30px;
    box-shadow: var(--ano-shadow);
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.ano-lead-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ano-black) 0%, var(--ano-gold) 50%, var(--ano-red) 100%);
}

.ano-lead-badge {
    display: inline-block;
    background: var(--ano-black);
    color: var(--ano-gold);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.ano-lead-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--ano-black);
    margin: 0 0 10px;
    line-height: 1.3;
}

.ano-lead-desc {
    font-size: 15px;
    color: var(--ano-text-muted);
    margin: 0 0 20px;
    line-height: 1.5;
}

.ano-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

@media (max-width: 600px) {
    .ano-form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.ano-form-group {
    display: flex;
    flex-direction: column;
}

.ano-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ano-text);
    margin-bottom: 6px;
}

.ano-form-group input,
.ano-form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--ano-border);
    border-radius: 6px;
    font-size: 14px;
    color: var(--ano-text);
    background-color: var(--ano-white);
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    box-sizing: border-box;
}

.ano-form-group input:focus,
.ano-form-group select:focus {
    outline: none;
    border-color: var(--ano-gold);
    box-shadow: 0 0 0 3px rgba(212, 166, 42, 0.2);
}

.ano-form-consent {
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--ano-text-muted);
    line-height: 1.4;
}

.ano-form-consent label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

.ano-form-consent input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--ano-red);
}

.ano-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: inherit;
}

.ano-btn-primary {
    background-color: var(--ano-red);
    color: var(--ano-white) !important;
}

.ano-btn-primary:hover {
    background-color: var(--ano-red-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.3);
}

.ano-btn-gold {
    background-color: var(--ano-gold);
    color: var(--ano-black) !important;
}

.ano-btn-gold:hover {
    background-color: #be921f;
    transform: translateY(-1px);
}

.ano-btn-block {
    width: 100%;
}

.ano-form-feedback {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
}

.ano-form-feedback.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.ano-form-feedback.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* 2. Affiliate Buttons & Notice */
.ano-btn-affiliate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--ano-red);
    color: var(--ano-white) !important;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(198, 40, 40, 0.25);
}

.ano-btn-affiliate:hover {
    background-color: var(--ano-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(198, 40, 40, 0.35);
}

.ano-affiliate-disclaimer {
    background: var(--ano-ivory);
    border-left: 3px solid var(--ano-gold);
    padding: 12px 16px;
    font-size: 13px;
    color: var(--ano-text-muted);
    border-radius: 0 6px 6px 0;
    margin: 20px 0;
    line-height: 1.5;
}

/* 3. Testing Badge */
.ano-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.ano-status-badge.tested {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.ano-status-badge.specs_based {
    background-color: #fff8e1;
    color: #b78103;
    border: 1px solid #ffe082;
}
