/*
Theme Name: Mulktakip
Theme URI: https://example.com/mulktakip
Author: Aytek R. Felah
Author URI: https://example.com
Description: PWA destekli özel gayrimenkul takip paneli WordPress teması.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mulktakip
Tags: custom-theme, pwa, dashboard, real-estate
*/

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    -webkit-tap-highlight-color: transparent;
}

.bento-card {
    background: white;
    border-radius: 28px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.indigo-gradient {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}

.kw-red-bg {
    background-color: #b91c1c;
}

.bg-kw-red-bg\/20 {
    background-color: rgba(185, 28, 28, 0.2);
}

.border-kw-red-bg {
    border-color: #b91c1c;
}

.kw-red-text {
    color: #b91c1c;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.badge {
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.mulktakip-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    background: rgba(15, 23, 42, 0.82);
    padding: 18px;
}

.mulktakip-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mulktakip-modal-panel {
    width: min(960px, 100%);
    height: min(760px, 86vh);
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mulktakip-modal-header {
    min-height: 54px;
    padding: calc(12px + env(safe-area-inset-top)) 14px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
}

.mulktakip-modal-body {
    flex: 1;
    min-height: 0;
    background: #f8fafc;
}

.mulktakip-modal-body iframe,
.mulktakip-modal-body img {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: contain;
}

.mulktakip-form {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.mulktakip-form label {
    display: grid;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    color: #334155;
}

.mulktakip-form input,
.mulktakip-form select,
.mulktakip-form textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 12px;
    font: inherit;
}

.mulktakip-form button {
    min-height: 46px;
    border: 0;
    border-radius: 16px;
    color: #fff;
    font-weight: 900;
    background: #1e1b4b;
}

.mulktakip-form-message {
    min-height: 18px;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
}

/* Cache kaynaklı eski modal HTML'sinde kalan orta "Aç" butonunu zorla gizle */
.mulktakip-modal-body a[style*="margin-left:auto"] {
    display: none !important;
}

.login-username,
.login-password,
.login-remember,
.login-submit {
    margin: 0 0 14px;
}

.login-username label,
.login-password label {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    color: #64748b;
}

.login-username input,
.login-password input {
    width: 100%;
    min-height: 48px;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    padding: 0 14px;
    font: inherit;
    font-weight: 700;
    color: #0f172a;
    background: #f8fafc;
}

.login-remember label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    color: #475569;
}

.login-submit input {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.mulktakip-install-card {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 92px;
    z-index: 160;
    display: none;
    gap: 14px;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid rgba(203, 213, 225, 0.92);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(16px);
}

.mulktakip-install-card.is-visible {
    display: flex;
}

.mulktakip-install-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(30, 27, 75, 0.22);
}

.mulktakip-install-content {
    min-width: 0;
    flex: 1;
}

.mulktakip-install-title {
    margin: 0 0 4px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 900;
}

.mulktakip-install-text {
    margin: 0;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.45;
}

.mulktakip-install-manual {
    display: none;
}

.mulktakip-install-card.is-manual-open .mulktakip-install-manual {
    display: block;
}

.mulktakip-install-steps {
    margin: 8px 0 0;
    padding-left: 16px;
    color: #334155;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.55;
}

.mulktakip-install-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.mulktakip-install-primary,
.mulktakip-install-secondary {
    min-height: 38px;
    border: 0;
    border-radius: 13px;
    padding: 0 12px;
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.mulktakip-install-primary {
    color: #fff;
    background: #1e1b4b;
}

.mulktakip-install-secondary {
    color: #475569;
    background: #f1f5f9;
}

@media (min-width: 640px) {
    .mulktakip-install-card {
        right: auto;
        width: 420px;
    }
}
