/* Masaüstü Arka Plan Uçuşan Kalpler (Mobilde gizli, kartların arkasında süzülür) */
.ev-desktop-hearts {
    display: none;
}

@media screen and (min-width: 900px) {
    .ev-desktop-hearts {
        display: block;
        position: fixed;
        inset: 0;
        pointer-events: none;
        z-index: 0;
        overflow: hidden;
        opacity: 0.45;
    }
}

/* Evlilikilan.com Eşleşme & Uyum Sistemi (Yalnızca /kesfet, /uyum-testi, /eslesmelerim sayfalarında yüklenir) */
.content_res:has(.ev-eslesme-wrap) {
    padding-top: 10px !important;
}

.ev-eslesme-wrap {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 0 auto 50px auto;
    padding: 0 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1e293b;
}

.ev-nav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.ev-pill {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 50px;
    background: #f1f5f9;
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
}

.ev-pill:hover {
    background: #ffe4e6;
    color: #be123c;
    border-color: #fecdd3;
}

.ev-pill.active {
    background: #e11d48;
    color: #ffffff !important;
    border-color: #e11d48;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

.ev-alert-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    background: linear-gradient(135deg, #fff1f2 0%, #fff 100%);
    border: 1.5px solid #fecdd3;
    border-radius: 14px;
    padding: 12px 16px;
    margin: 0 auto 18px auto;
    box-sizing: border-box;
}

.ev-alert-banner strong {
    display: block;
    color: #be123c;
    font-size: 15px;
    margin-bottom: 2px;
}

.ev-alert-banner span {
    font-size: 13px;
    color: #475569;
}

/* Buttons */
.ev-btn-primary {
    display: inline-block;
    background: #e11d48;
    color: #fff !important;
    padding: 11px 22px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.ev-btn-primary:hover {
    background: #be123c;
    transform: translateY(-1px);
}

.ev-btn-secondary {
    display: inline-block;
    background: #f1f5f9;
    color: #334155 !important;
    padding: 11px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
    border: 1px solid #cbd5e1;
    cursor: pointer;
}

.ev-btn-sm {
    display: inline-block;
    background: #e11d48;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.ev-btn-outline-sm {
    display: inline-block;
    background: #fff;
    color: #e11d48;
    padding: 7px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    border: 1.5px solid #e11d48;
    cursor: pointer;
}

.ev-btn-outline-sm:disabled {
    opacity: 0.6;
    cursor: default;
}

/* Keşfet Filtre Çubuğu */
.ev-filter-bar {
    max-width: 460px;
    margin: 0 auto 16px auto;
    display: flex !important;
    gap: 10px;
    align-items: center;
}

.ev-filter-select {
    flex: 1 1 0;
    min-width: 0;
    height: 42px !important;
    padding: 8px 32px 8px 12px !important;
    border-radius: 12px !important;
    border: 1.5px solid #e2e8f0 !important;
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    font-size: 13px !important;
    color: #1e293b !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05) !important;
    cursor: pointer;
    font-family: inherit !important;
}

.ev-filter-select:focus {
    outline: none !important;
    border-color: #e11d48 !important;
}

.ev-filter-vip-btn {
    height: 42px !important;
    background: #0f172a !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer;
    white-space: nowrap;
}

/* Keşfet Kartları */
.ev-deck-container {
    max-width: 460px;
    margin: 0 auto;
    position: relative;
}

.ev-card {
    display: none;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12);
    border: 1px solid #f1f5f9;
    animation: evFadeIn 0.25s ease-out;
}

.ev-card.is-active {
    display: block;
}

@keyframes evFadeIn {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.ev-card-photo {
    position: relative;
    height: 310px;
    background: #0f172a;
    overflow: hidden;
}

.ev-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ev-photo-shield {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
    color: #f8fafc;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.ev-compat-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #16a34a;
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ev-compat-badge.ev-badge-soft {
    background: rgba(225, 29, 72, 0.9);
}

.ev-card-body {
    padding: 20px 22px 22px 22px;
}

.ev-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.ev-card-meta h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
}

.ev-location {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.ev-persona-tag {
    display: inline-block;
    background: #fdf2f8;
    color: #be185d;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.ev-card-title {
    margin: 4px 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.ev-card-title a {
    color: #1e293b;
    text-decoration: none;
}

.ev-card-title a:hover {
    color: #e11d48;
}

.ev-card-excerpt {
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
    margin: 0 0 14px 0;
}

.ev-topics-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 14px;
}

.ev-topics-label {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
}

.ev-topics-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ev-topic-match {
    background: #dcfce7;
    color: #166534;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 6px;
}

.ev-topic-diff {
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    padding: 3px 9px;
    border-radius: 6px;
}

.ev-note-box {
    margin-bottom: 14px;
}

.ev-intro-note {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    resize: none;
    font-family: inherit;
}

.ev-vip-note-teaser {
    font-size: 12px;
    color: #64748b;
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
}

.ev-vip-note-teaser a {
    color: #e11d48;
    font-weight: 700;
}

.ev-card-actions {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 12px;
}

.ev-btn-pass {
    padding: 13px;
    border-radius: 12px;
    border: 1.5px solid #cbd5e1;
    background: #fff;
    color: #475569;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.ev-btn-pass:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.ev-btn-like {
    padding: 13px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(225, 29, 72, 0.3);
    transition: all 0.2s;
}

.ev-btn-like:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.38);
}

/* Uyum Testi */
.ev-test-box {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid #f1f5f9;
}

.ev-test-header {
    text-align: center;
    margin-bottom: 24px;
}

.ev-test-header h1 {
    margin: 0 0 8px 0;
    font-size: 26px;
    color: #0f172a;
}

.ev-test-header p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
}

.ev-persona-banner {
    margin-top: 14px;
    background: #fdf2f8;
    border: 1px solid #fbcfe8;
    color: #9d174d;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
}

.ev-progress-wrap {
    height: 8px;
    background: #e2e8f0;
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 6px;
}

.ev-progress-bar {
    height: 100%;
    background: #e11d48;
    transition: width 0.25s ease;
}

.ev-progress-label {
    text-align: right;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 20px;
}

.ev-question-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 16px;
}

.ev-q-cat {
    font-size: 12px;
    font-weight: 700;
    color: #e11d48;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 4px;
}

.ev-q-title {
    margin: 0 0 12px 0;
    font-size: 16px;
    color: #0f172a;
}

.ev-q-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ev-q-option {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 11px 14px;
    cursor: pointer;
    font-size: 14px;
    color: #334155;
    transition: all 0.15s;
}

.ev-q-option:hover {
    border-color: #fb7185;
}

.ev-q-option.is-selected {
    border-color: #e11d48;
    background: #fff1f2;
    color: #9f1239;
    font-weight: 600;
}

.ev-test-submit-row {
    text-align: center;
    margin-top: 24px;
}

.ev-btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.ev-form-msg {
    padding: 12px 16px;
    border-radius: 10px;
    margin-top: 14px;
    font-size: 14px;
    text-align: center;
}

.ev-form-msg.is-error {
    background: #fee2e2;
    color: #991b1b;
}

.ev-form-msg.is-success {
    background: #dcfce7;
    color: #166534;
}

/* Eşleşmelerim */
.ev-section-title {
    font-size: 19px;
    margin: 0 0 14px 0;
    color: #0f172a;
}

.ev-eslesme-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.ev-eslesme-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ev-tab-btn {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.ev-tab-btn.is-active {
    background: #e11d48;
    border-color: #e11d48;
    color: #fff;
}

.ev-tab-count {
    font-size: 11px;
    padding: 1px 7px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
}

.ev-tab-btn.is-active .ev-tab-count {
    background: rgba(255, 255, 255, 0.22);
}

.ev-eslesme-search-wrap {
    flex: 1 1 180px;
    max-width: 260px;
}

.ev-eslesme-search {
    width: 100%;
    padding: 7px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
}

.ev-eslesme-search:focus {
    border-color: #e11d48;
}

.ev-matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 12px;
}

.ev-match-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
}

.ev-match-card.ev-paged-hidden,
.ev-match-card.ev-search-hidden {
    display: none;
}

.ev-match-thumb {
    position: relative;
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    border-radius: 10px;
    overflow: hidden;
    background: #0f172a;
}

.ev-match-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ev-match-info {
    flex: 1;
    min-width: 0;
}

.ev-match-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.ev-match-info h3 {
    margin: 0;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ev-match-info h3 a {
    color: #0f172a;
    text-decoration: none;
}

.ev-reveal-pill,
.ev-status-chip {
    flex-shrink: 0;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: #475569;
}

.ev-reveal-pill.level-2 {
    background: #16a34a;
}

.ev-status-chip.is-pending {
    background: #e11d48;
}

.ev-reveal-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.ev-reveal-meter {
    flex: 1;
    height: 5px;
    background: #e2e8f0;
    border-radius: 50px;
    overflow: hidden;
}

.ev-reveal-fill {
    height: 100%;
    background: #16a34a;
}

.ev-reveal-sub {
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
}

.ev-match-btns {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.ev-btn-danger-sm {
    background: #fff;
    color: #b91c1c;
    border: 1px solid #fecaca;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.ev-btn-danger-sm:hover {
    background: #fef2f2;
}

.ev-load-more-wrap {
    text-align: center;
    margin-top: 14px;
}

.ev-load-more-btn {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.ev-inc-note {
    background: #f8fafc;
    border-left: 3px solid #e11d48;
    padding: 6px 8px;
    font-size: 12px;
    font-style: italic;
    color: #334155;
    margin-bottom: 8px;
}

.ev-vip-lock-box {
    background: linear-gradient(135deg, #fff1f2 0%, #fff 100%);
    border: 1.5px solid #fda4af;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
}

.ev-vip-lock-icon {
    font-size: 18px;
    font-weight: 700;
    color: #be123c;
    margin-bottom: 8px;
}

.ev-empty-state, .ev-empty-mini {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 32px 20px;
    text-align: center;
    color: #64748b;
}

.ev-empty-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

/* Modal */
.ev-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.ev-modal-card {
    background: #fff;
    max-width: 420px;
    width: 100%;
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.ev-modal-emoji {
    font-size: 46px;
    margin-bottom: 10px;
}

.ev-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .ev-alert-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .ev-card-photo {
        height: 260px;
    }
}
