/* ===== GİRİŞ EKRANI ===== */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #111 0%, #0a0a0a 60%, #000 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.login-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #d4af37;
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 5s; }
.particle:nth-child(2) { left: 25%; top: 70%; animation-delay: 0.8s; animation-duration: 7s; }
.particle:nth-child(3) { left: 50%; top: 10%; animation-delay: 1.5s; animation-duration: 6s; }
.particle:nth-child(4) { left: 75%; top: 60%; animation-delay: 0.3s; animation-duration: 8s; }
.particle:nth-child(5) { left: 85%; top: 30%; animation-delay: 2s; animation-duration: 5.5s; }
.particle:nth-child(6) { left: 15%; top: 85%; animation-delay: 1s; animation-duration: 7.5s; }
.particle:nth-child(7) { left: 60%; top: 80%; animation-delay: 0.5s; animation-duration: 6.5s; }
.particle:nth-child(8) { left: 40%; top: 40%; animation-delay: 1.8s; animation-duration: 5s; }
.particle:nth-child(9) { left: 90%; top: 15%; animation-delay: 2.5s; animation-duration: 8s; }
.particle:nth-child(10) { left: 5%; top: 50%; animation-delay: 0.2s; animation-duration: 6s; }
.particle:nth-child(11) { left: 70%; top: 45%; animation-delay: 1.2s; animation-duration: 7s; }
.particle:nth-child(12) { left: 35%; top: 90%; animation-delay: 3s; animation-duration: 5.5s; }

@keyframes particleFloat {
    0% { transform: translateY(0) scale(0); opacity: 0; }
    20% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: translateY(-60px) scale(1.5); }
    80% { opacity: 0.5; }
    100% { transform: translateY(-120px) scale(0); opacity: 0; }
}

.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
    animation: loginFadeIn 1.2s ease-out;
    padding: 20px;
    width: 100%;
    max-width: 380px;
}

@keyframes loginFadeIn {
    0% { opacity: 0; transform: translateY(30px) scale(0.9); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.login-logo-wrapper {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.login-logo {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    object-fit: cover;
    transform: scale(1.35);
    clip-path: circle(37% at center);
    position: relative;
    z-index: 3;
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { filter: brightness(1) drop-shadow(0 0 15px rgba(212,175,55,0.4)); }
    50% { filter: brightness(1.15) drop-shadow(0 0 30px rgba(212,175,55,0.7)); }
}

.login-logo-ring {
    position: absolute;
    width: 205px;
    height: 205px;
    border: 2px solid transparent;
    border-top: 2px solid #d4af37;
    border-right: 2px solid rgba(212,175,55,0.3);
    border-radius: 50%;
    animation: ringRotate 3s linear infinite;
    z-index: 2;
}

.login-logo-ring.ring2 {
    width: 220px;
    height: 220px;
    border-top: 2px solid rgba(212,175,55,0.5);
    border-left: 2px solid #d4af37;
    border-right: 2px solid transparent;
    border-bottom: 2px solid transparent;
    animation: ringRotate 4s linear infinite reverse;
}

@keyframes ringRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.login-title {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(180deg, #f5d060 0%, #d4af37 40%, #b8960c 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
    text-align: center;
    animation: titleShine 3s ease-in-out infinite;
}

@keyframes titleShine {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(212,175,55,0.3)); }
    50% { filter: drop-shadow(0 0 20px rgba(212,175,55,0.6)); }
}

.login-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 13px;
    color: #888;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.login-input-wrapper {
    width: 100%;
    position: relative;
}

.login-input {
    width: 100%;
    background: rgba(20, 20, 20, 0.9);
    border: 1.5px solid #333;
    border-radius: 14px;
    padding: 16px 20px;
    color: #e0e0e0;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    text-align: center;
    letter-spacing: 4px;
    outline: none;
    transition: all 0.3s ease;
}

.login-input:focus {
    border-color: #d4af37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.login-input::placeholder {
    letter-spacing: 1px;
    color: #555;
    font-size: 14px;
}

.login-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(145deg, #1a1a1a, #111);
    border: 2px solid #d4af37;
    border-radius: 14px;
    color: #d4af37;
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-btn:active {
    background: linear-gradient(145deg, #d4af37, #f5d060);
    color: #000;
    transform: scale(0.97);
}

.login-error {
    color: #ff4444;
    font-size: 13px;
    font-weight: 600;
    min-height: 20px;
    text-align: center;
}

.login-overlay.closing {
    animation: loginClose 0.8s ease-in-out forwards;
}

@keyframes loginClose {
    0% { opacity: 1; }
    30% { transform: scale(1.05); }
    100% { opacity: 0; transform: scale(0.8); pointer-events: none; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    15%, 45%, 75% { transform: translateX(-8px); }
    30%, 60%, 90% { transform: translateX(8px); }
}

.login-input.shake {
    animation: shake 0.5s ease;
    border-color: #ff4444 !important;
}

/* ===== GENEL ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a0a0a;
    color: #e0e0e0;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* ===== PANEL HEADER ===== */
.panel-header {
    text-align: center;
    padding: 20px 15px 10px;
    border-bottom: 2px solid #d4af37;
    background: #111;
}

.panel-title {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(180deg, #f5d060, #d4af37, #b8960c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
}

.panel-subtitle-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 4px;
    position: relative;
}

.panel-subtitle-row .panel-subtitle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
}

.logout-btn {
    background: transparent;
    border: 1px solid rgba(180, 40, 40, 0.5);
    color: #c0392b;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 8px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.logout-btn:active {
    background: rgba(180, 40, 40, 0.15);
    transform: scale(0.95);
}

.panel-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    color: #888;
    letter-spacing: 6px;
    margin-top: 4px;
}

/* ===== TAB MENÜ ===== */
.tab-menu {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 8px 6px;
    gap: 0;
    background: #0a0a0a;
    border-bottom: 1px solid #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 50;
}

.tab-item {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 8px;
    flex-shrink: 0;
}

.tab-item:active {
    transform: scale(0.95);
}

.tab-icon {
    font-size: 14px;
}

.tab-text {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    transition: color 0.2s;
}

.tab-item.active .tab-text {
    color: #d4af37;
}

.tab-item.active {
    background: rgba(212, 175, 55, 0.08);
}

.tab-item.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
    position: relative;
}

.tab-soon {
    font-size: 8px;
    font-weight: 700;
    color: #000;
    background: #d4af37;
    padding: 1px 5px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ===== TAB İÇERİK ===== */
.tab-content-area {
    padding: 0;
}

.tab-content {
    display: none;
    animation: contentFade 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes contentFade {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.content-header {
    padding: 16px 15px;
    border-bottom: 1px solid #1a1a1a;
    background: #111;
}

.content-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 900;
    background: linear-gradient(180deg, #f5d060, #d4af37, #b8960c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== İLAN FORMU ===== */
.ilan-form {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.compact-form {
    gap: 10px;
    padding: 12px;
}

.compact-form .form-group label {
    font-size: 10px;
    margin-bottom: 2px;
}

.compact-form .form-group input[type="text"],
.form-group input[type="tel"],
.compact-form .form-group input[type="tel"],
.compact-form .form-group input[type="number"],
.compact-form .form-group select,
.compact-form .form-group textarea {
    padding: 8px 10px;
    font-size: 13px;
    border-radius: 8px;
}

.compact-form .btn-submit {
    padding: 12px;
    font-size: 13px;
}

/* 2'şerli yan yana satır */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.form-section-title {
    font-size: 13px;
    font-weight: 700;
    color: #d4af37;
    letter-spacing: 0.5px;
    padding-bottom: 8px;
    border-bottom: 1px solid #1a1a1a;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group label small {
    text-transform: none;
    color: #555;
    font-weight: 400;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 12px 14px;
    color: #e0e0e0;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #d4af37;
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d4af37' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.input-row {
    display: flex;
    gap: 8px;
}

.input-row input {
    flex: 1;
}

.duration-row {
    display: flex;
    gap: 8px;
}

.duration-row input {
    flex: 1;
}

.duration-row select {
    flex: 1;
}

/* ===== CHECKBOX & BÖLGE SEÇİMİ ===== */
.select-all-row {
    margin-bottom: 6px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #1a1a1a;
    border: 1px solid #222;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.checkbox-label:active {
    border-color: #d4af37;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #d4af37;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label span {
    font-size: 13px;
    color: #ccc;
}

/* Bölge dropdown */
.region-dropdown {
    margin-top: 4px;
}

.region-dropdown-btn {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 8px 12px;
    color: #ccc;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: border-color 0.2s;
}

.region-dropdown-btn:active {
    border-color: #d4af37;
}

.region-arrow {
    font-size: 10px;
    color: #d4af37;
    transition: transform 0.2s;
}

.region-arrow.open {
    transform: rotate(180deg);
}

.region-dropdown-content {
    margin-top: 4px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    overflow: hidden;
}

.region-scroll {
    max-height: 180px;
    overflow-y: auto;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.region-scroll::-webkit-scrollbar {
    width: 4px;
}

.region-scroll::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 2px;
}

.region-scroll .checkbox-label {
    padding: 6px 10px;
    border-radius: 6px;
}

.region-scroll .checkbox-label span {
    font-size: 12px;
}

.region-dropdown-actions {
    display: flex;
    gap: 6px;
    padding: 8px;
    border-top: 1px solid #222;
}

.region-dropdown-actions .popup-cancel,
.region-dropdown-actions .popup-save {
    padding: 7px;
    font-size: 11px;
}

.empty-msg {
    font-size: 12px;
    color: #555;
    text-align: center;
    padding: 15px;
}

/* Görüşme yeri seçenekleri */
.meeting-options {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.checkbox-label.mini {
    padding: 6px 8px;
}

.checkbox-label.mini input[type="checkbox"] {
    width: 14px;
    height: 14px;
}

.checkbox-label.mini span {
    font-size: 11px;
}

/* ===== UPLOAD & PREVIEW ===== */
.upload-box {
    background: #1a1a1a;
    border: 2px dashed #333;
    border-radius: 14px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.size-hint {
    font-size: 11px;
    font-weight: 600;
    color: #d4af37;
    background: rgba(212, 175, 55, 0.08);
    border: 1px dashed rgba(212, 175, 55, 0.25);
    border-radius: 6px;
    padding: 5px 10px;
    text-align: center;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.upload-box.mini-upload {
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
}

.upload-box.mini-upload .upload-icon {
    font-size: 20px;
    margin-bottom: 0;
}

.upload-box.mini-upload span {
    font-size: 13px;
    font-weight: 600;
    color: #d4af37;
}

.upload-box:active {
    border-color: #d4af37;
    background: #1f1a10;
}

.upload-icon {
    font-size: 36px;
    color: #d4af37;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 8px;
}

.upload-box p {
    font-size: 14px;
    font-weight: 600;
    color: #d4af37;
}

.image-preview {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.image-preview img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #333;
}

/* ===== KAYDET BUTONU ===== */
.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(145deg, #d4af37, #f5d060, #b8960c);
    color: #000;
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 3px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    margin-top: 5px;
}

.btn-submit:active {
    transform: scale(0.97);
    filter: brightness(1.1);
}

.btn-gold {
    background: linear-gradient(145deg, #d4af37, #f5d060, #b8960c);
    color: #000;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    flex-shrink: 0;
}

.btn-gold:active {
    transform: scale(0.95);
}

/* ===== MEVCUT İLANLAR LİSTESİ ===== */
.items-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.item-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1a1a1a;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 10px;
}

.item-row img {
    width: 55px;
    height: 45px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #333;
    flex-shrink: 0;
}

.item-row-info {
    flex: 1;
    min-width: 0;
}

.item-row-info .item-name {
    font-size: 13px;
    font-weight: 600;
    color: #e0e0e0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-row-info .item-meta {
    font-size: 11px;
    color: #666;
}

.item-row-info .item-status {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 6px;
    display: inline-block;
    margin-top: 2px;
}

.item-status.aktif {
    background: rgba(0, 200, 80, 0.15);
    color: #00c850;
}

.item-status.pasif {
    background: rgba(255, 60, 60, 0.15);
    color: #ff3c3c;
}

.btn-delete {
    background: #8b0000;
    color: #fff;
    font-weight: 600;
    font-size: 11px;
    padding: 6px 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
}

.btn-delete:active {
    background: #cc0000;
}

/* ===== KULLANICILAR LİSTESİ ===== */
.users-list {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.user-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1a1a1a;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 12px 14px;
}

.user-card-info h4 {
    font-size: 14px;
    color: #e0e0e0;
}

.user-card-info p {
    font-size: 11px;
    color: #666;
}

.user-role-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.user-role-badge.admin {
    background: rgba(212, 175, 55, 0.15);
    color: #d4af37;
}

.user-role-badge.moderator {
    background: rgba(100, 150, 255, 0.15);
    color: #6496ff;
}

.user-role-badge.user {
    background: rgba(150, 150, 150, 0.15);
    color: #999;
}

/* ===== ROL KARTLARI ===== */
.roles-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.role-card {
    background: #1a1a1a;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 14px;
}

.role-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 4px;
}

.role-card p {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
}

/* ===== RAPOR ===== */
.report-section {
    padding: 12px 15px;
    border-bottom: 1px solid #1a1a1a;
}

.report-section:last-child {
    border-bottom: none;
}

.report-section-title {
    font-size: 12px;
    font-weight: 700;
    color: #d4af37;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.lead-title {
    color: #00c850;
}

/* Bugün büyük kart */
.lead-today {
    margin-bottom: 10px;
}

.lead-big-card {
    background: linear-gradient(145deg, #0a1a0a, #0d250d);
    border: 1.5px solid rgba(0, 200, 80, 0.3);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation: leadGlow 2s ease-in-out infinite;
}

@keyframes leadGlow {
    0%, 100% { box-shadow: 0 0 8px rgba(0, 200, 80, 0.1); }
    50% { box-shadow: 0 0 20px rgba(0, 200, 80, 0.25); }
}

.lead-big-number {
    font-size: 48px;
    font-weight: 900;
    font-family: 'Cinzel', serif;
    color: #00c850;
}

.lead-big-label {
    font-size: 12px;
    color: #4a9a4a;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.stat-card.lead-card {
    border-color: rgba(0, 200, 80, 0.15);
    background: #0d1a0d;
}

.stat-card.lead-card .stat-number {
    color: #00c850;
}

/* Bugün tıklanma üst satır */
.lead-today-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
    margin-bottom: 6px;
}

.lead-today-row .lead-big-card {
    flex: 1;
}

.lead-period {
    font-size: 9px;
    color: #3a6a3a;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.lead-today-breakdown {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 70px;
}

.lead-mini-card {
    flex: 1;
    background: #0d1a0d;
    border: 1px solid rgba(0,200,80,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px;
}

.lead-mini-icon {
    font-size: 12px;
}

.lead-mini-num {
    font-size: 16px;
    font-weight: 800;
    color: #00c850;
    font-family: 'Cinzel', serif;
}

/* Dashboard: takvim + grafik */
.lead-dashboard {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ===== MİNİ TAKVİM ===== */
.lead-calendar-wrap {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 12px;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.cal-month {
    font-size: 13px;
    font-weight: 700;
    color: #d4af37;
    letter-spacing: 1px;
}

.cal-nav {
    background: none;
    border: 1px solid #333;
    color: #d4af37;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cal-nav:active {
    background: rgba(212,175,55,0.1);
}

.calendar-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 4px;
}

.calendar-days-header span {
    font-size: 10px;
    font-weight: 700;
    color: #555;
    padding: 4px 0;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.cal-day {
    text-align: center;
    padding: 6px 2px;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
    position: relative;
}

.cal-day:active {
    transform: scale(0.9);
}

.cal-day.has-data {
    color: #ccc;
    background: rgba(0,200,80,0.08);
}

.cal-day.today {
    color: #00c850;
    border: 1.5px solid #00c850;
    font-weight: 800;
}

.cal-day.selected {
    background: #d4af37;
    color: #000;
    font-weight: 800;
}

.cal-day.other-month {
    color: #333;
}

.cal-day .cal-dot {
    display: block;
    width: 4px;
    height: 4px;
    background: #00c850;
    border-radius: 50%;
    margin: 2px auto 0;
}

/* Seçilen gün detayı */
.cal-selected-info {
    margin-top: 10px;
    padding: 10px 12px;
    background: #1a1a1a;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cal-sel-date {
    font-size: 12px;
    font-weight: 700;
    color: #d4af37;
}

.cal-sel-total {
    font-size: 22px;
    font-weight: 900;
    color: #00c850;
    font-family: 'Cinzel', serif;
}

.cal-sel-breakdown {
    display: flex;
    justify-content: center;
    gap: 14px;
    font-size: 11px;
    color: #888;
}

/* ===== ÇİZGİ GRAFİK ===== */
.lead-chart-wrap {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 12px;
}

.chart-title {
    font-size: 12px;
    font-weight: 700;
    color: #d4af37;
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

#lead-chart {
    width: 100% !important;
    height: 180px !important;
    display: block;
}

.report-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.stat-card {
    background: #1a1a1a;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 18px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 28px;
    font-weight: 900;
    color: #d4af37;
    font-family: 'Cinzel', serif;
}

.stat-label {
    font-size: 11px;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== BÖLGELER LİSTESİ ===== */
.regions-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.region-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1a1a1a;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 10px 14px;
}

.region-name {
    font-size: 14px;
    color: #e0e0e0;
    font-weight: 600;
}

.region-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.region-status-dot {
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 10px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.2s;
}

.region-status-dot.region-aktif {
    background: rgba(0, 200, 80, 0.15);
    color: #00c850;
    box-shadow: 0 0 6px rgba(0, 200, 80, 0.4);
    animation: blinkGreen 1.5s ease-in-out infinite;
}

.region-status-dot.region-pasif {
    background: rgba(255, 60, 60, 0.15);
    color: #ff3c3c;
    box-shadow: 0 0 6px rgba(255, 60, 60, 0.4);
    animation: blinkRed 1.5s ease-in-out infinite;
}

@keyframes blinkGreen {
    0%, 100% { box-shadow: 0 0 4px rgba(0, 200, 80, 0.3); opacity: 0.8; }
    50% { box-shadow: 0 0 12px rgba(0, 200, 80, 0.7); opacity: 1; }
}

@keyframes blinkRed {
    0%, 100% { box-shadow: 0 0 4px rgba(255, 60, 60, 0.3); opacity: 0.8; }
    50% { box-shadow: 0 0 12px rgba(255, 60, 60, 0.7); opacity: 1; }
}

/* ===== MİNİ SHOWROOM (Telefon Önizleme) ===== */
.mini-showroom {
    border-top: 2px solid #d4af37;
    margin-top: 10px;
    padding-bottom: 20px;
}

.mini-showroom-header {
    text-align: center;
    padding: 14px 15px;
    background: #111;
}

.mini-showroom-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 900;
    background: linear-gradient(180deg, #f5d060, #d4af37, #b8960c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

/* Telefon çerçevesi kaldırıldı — ilanlar düzenleme paneli içinde */

.mini-section {
    padding: 0 8px;
    margin-bottom: 14px;
}

/* Kategori başlıkları — showroom'daki gibi */
.mini-section-title {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 10px;
    padding: 10px 16px;
    border-radius: 30px;
    text-align: center;
    border: 2px solid #d4af37;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
    background: linear-gradient(180deg, #f5d060 0%, #d4af37 40%, #b8960c 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.silver-color {
    border-color: #d4af37;
}

/* Platinium kartlar — geniş yatay, showroom'daki gibi */
.mini-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mini-card {
    position: relative;
    border: 2.5px solid #d4af37;
    border-radius: 20px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.1);
}

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

/* Platinium: geniş yatay */
.mini-cards .mini-card {
    height: 95px;
}

/* Platinium overlay kaldırıldı */

/* Gold: 3'lü grid */
.mini-cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.mini-cards-3 .mini-card {
    height: 100px;
    border-radius: 18px;
    border-width: 2.5px;
}

/* Gold overlay kaldırıldı */

/* Silver: 4'lü grid */
.mini-cards-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

.mini-cards-4 .mini-card {
    height: 75px;
    border-radius: 12px;
    border-width: 2px;
}

/* Silver overlay kaldırıldı */

/* İsim ve durum overlay */
.mini-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 6px 8px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    z-index: 2;
}

.mini-card-name {
    font-size: 10px;
    font-weight: 700;
    color: #d4af37;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.mini-card-status {
    font-size: 8px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 4px;
    flex-shrink: 0;
}

.mini-card-status.aktif {
    background: rgba(0,200,80,0.25);
    color: #00c850;
}

.mini-card-status.pasif {
    background: rgba(255,60,60,0.25);
    color: #ff3c3c;
}

/* Sil butonu */
.mini-card .mini-delete {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background: rgba(139,0,0,0.9);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 3;
    line-height: 1;
}

.mini-card:hover .mini-delete {
    opacity: 1;
}

.mini-empty {
    font-size: 11px;
    color: #444;
    text-align: center;
    padding: 20px;
}

/* ===== DÜZENLEME PANELİ & TABLO ===== */
.edit-tabs {
    display: flex;
    border-bottom: 1px solid #222;
}

.edit-tab {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

.edit-tab.active {
    color: #d4af37;
    border-bottom-color: #d4af37;
    background: rgba(212,175,55,0.05);
}

.edit-table-wrap {
    overflow-x: auto;
    padding: 8px;
    scrollbar-width: thin;
}

.edit-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.edit-table thead th {
    background: #d4af37;
    color: #000;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 6px;
    text-align: left;
    white-space: nowrap;
    border: 1px solid #b8960c;
}

.edit-table tbody td {
    padding: 6px;
    font-size: 11px;
    color: #ccc;
    border: 1px solid #222;
    vertical-align: middle;
    background: #111;
}

.edit-table tbody tr:hover td {
    background: #1a1a1a;
}

/* Tablo içi görsel */
.table-img-wrap {
    width: 60px;
    height: 40px;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid #333;
}

.table-img-wrap img {
    width: 120px;
    height: 40px;
    object-fit: cover;
    animation: tableSlide 8s linear infinite;
}

@keyframes tableSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Durum toggle */
.status-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-text {
    font-size: 10px;
    font-weight: 700;
}

.status-text.aktif { color: #00c850; }
.status-text.pasif { color: #ff3c3c; }

.status-btn {
    width: 36px;
    height: 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
}

.status-btn.on {
    background: #00c850;
}

.status-btn.off {
    background: #ff3c3c;
}

.status-btn::after {
    content: '';
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    transition: left 0.3s;
}

.status-btn.on::after { left: 18px; }
.status-btn.off::after { left: 2px; }

/* Kalan süre */
.time-remaining {
    font-size: 10px;
    font-weight: 600;
    color: #00c850;
    font-family: monospace;
}

.time-remaining.expired {
    color: #ff3c3c;
}

.time-remaining.unlimited {
    color: #d4af37;
}

/* İşlem butonları */
.action-btns {
    display: flex;
    gap: 4px;
}

.act-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #333;
    border-radius: 6px;
    background: #1a1a1a;
    color: #ccc;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.act-btn:active { transform: scale(0.9); }
.act-btn.time-btn:hover { border-color: #d4af37; color: #d4af37; }
.act-btn.edit-btn:hover { border-color: #4a9aff; color: #4a9aff; }
.act-btn.delete-btn:hover { border-color: #ff3c3c; color: #ff3c3c; }

.edit-empty {
    text-align: center;
    color: #555;
    font-size: 12px;
    padding: 30px;
}

.edit-panel {
    margin-bottom: 60px;
}

/* ===== POPUP OVERLAY ===== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 8000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup-box {
    background: #111;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 20px;
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popup-box h4 {
    font-family: 'Cinzel', serif;
    font-size: 15px;
    color: #d4af37;
    text-align: center;
}

.popup-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.popup-field label {
    font-size: 10px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
}

.popup-field input, .popup-field select, .popup-field textarea {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 8px 10px;
    color: #e0e0e0;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    outline: none;
    width: 100%;
}

.popup-field input:focus, .popup-field select:focus, .popup-field textarea:focus {
    border-color: #d4af37;
}

.popup-counter {
    display: flex;
    align-items: center;
    gap: 8px;
}

.popup-counter input {
    text-align: center;
    flex: 1;
}

.popup-minus, .popup-plus {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #1a1a1a;
    color: #d4af37;
    font-size: 18px;
    cursor: pointer;
    font-weight: 700;
}

.popup-minus:active, .popup-plus:active { background: #222; }

.popup-quick {
    display: flex;
    gap: 8px;
}

.popup-quick button {
    flex: 1;
    padding: 8px;
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.3);
    color: #d4af37;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.popup-quick button:active { background: rgba(212,175,55,0.2); }

.popup-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.popup-unlimited {
    padding: 8px;
    background: transparent;
    border: 1px dashed #555;
    color: #888;
    border-radius: 8px;
    font-size: 11px;
    cursor: pointer;
}

.popup-unlimited:active { border-color: #d4af37; color: #d4af37; }

.popup-btns {
    display: flex;
    gap: 8px;
}

.popup-cancel, .popup-save {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: none;
}

.popup-cancel {
    background: #222;
    color: #888;
}

.popup-save {
    background: linear-gradient(145deg, #d4af37, #f5d060);
    color: #000;
}

.popup-cancel:active { background: #333; }
.popup-save:active { filter: brightness(1.1); transform: scale(0.97); }

/* Düzenleme popup */
.popup-edit-box {
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
}

.popup-edit-top {
    display: flex;
    gap: 12px;
}

.popup-edit-img-wrap {
    width: 120px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.popup-edit-img-wrap img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #333;
}

.popup-change-img {
    font-size: 10px;
    font-weight: 600;
    color: #d4af37;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 4px;
    text-align: center;
    cursor: pointer;
}

.popup-edit-fields {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.popup-region-list {
    max-height: 120px;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.popup-region-list .checkbox-label {
    padding: 5px 10px;
    flex: 0 0 auto;
    border-radius: 20px;
}

/* ===== DÜZENLEME PANELİ ===== */
.edit-panel {
    background: #111;
    border: 1px solid #222;
    border-radius: 14px;
    overflow: hidden;
    flex: 1;
}

.edit-panel-header {
    padding: 14px 16px;
    border-bottom: 1px solid #222;
    background: #1a1a1a;
}

.edit-panel-header h3 {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 900;
    background: linear-gradient(180deg, #f5d060, #d4af37, #b8960c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.edit-user-select {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.edit-user-select label {
    font-size: 10px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.edit-user-select select {
    flex: 1;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 8px 10px;
    color: #e0e0e0;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d4af37' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

.edit-user-select select:focus {
    border-color: #d4af37;
}

/* Filtrelenmiş ilan listesi */
.edit-filtered-list {
    max-height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
    scrollbar-width: none;
}

.edit-filtered-list::-webkit-scrollbar {
    display: none;
}

.edit-filtered-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1a1a1a;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.edit-filtered-item:active {
    border-color: #d4af37;
}

.edit-filtered-item.selected {
    border-color: #00c850;
    background: rgba(0, 200, 80, 0.05);
}

.edit-filtered-item img {
    width: 40px;
    height: 30px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #333;
    flex-shrink: 0;
}

.edit-filtered-item-info {
    flex: 1;
    min-width: 0;
}

.edit-filtered-item-name {
    font-size: 12px;
    font-weight: 600;
    color: #e0e0e0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.edit-filtered-item-meta {
    font-size: 9px;
    color: #666;
}

.edit-filtered-badge {
    font-size: 8px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 6px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.edit-filtered-badge.platinum { background: rgba(212,175,55,0.15); color: #d4af37; }
.edit-filtered-badge.gold { background: rgba(212,175,55,0.1); color: #b8960c; }
.edit-filtered-badge.silver { background: rgba(192,192,192,0.15); color: #c0c0c0; }

/* İlan bölümleri düzenleme paneli içinde */
.edit-ilanlar-section {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-bottom: 1px solid #222;
}

.edit-cat-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.edit-cat-title {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    font-weight: 900;
    color: #d4af37;
    letter-spacing: 2px;
}

.edit-filtered-list {
    padding: 0 14px;
}

.edit-hint {
    font-size: 11px;
    color: #555;
    margin-top: 4px;
    padding: 0 14px 8px;
}

.edit-form {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.edit-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.edit-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.edit-field label {
    font-size: 10px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.edit-field input[type="text"],
.edit-field textarea {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 8px 10px;
    color: #e0e0e0;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}

.edit-field input:focus,
.edit-field textarea:focus {
    border-color: #d4af37;
}

.edit-info-box {
    font-size: 12px;
    color: #ccc;
    background: #1a1a1a;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 6px;
}

.edit-status-box {
    font-size: 12px;
    font-weight: 700;
    padding: 8px 10px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 6px;
}

.edit-status-box.aktif {
    background: rgba(0,200,80,0.1);
    color: #00c850;
    border: 1px solid rgba(0,200,80,0.3);
}

.edit-status-box.pasif {
    background: rgba(255,60,60,0.1);
    color: #ff3c3c;
    border: 1px solid rgba(255,60,60,0.3);
}

/* Resim önizleme */
.edit-thumb-wrap {
    position: relative;
    width: 100%;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
    background: #1a1a1a;
}

.edit-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.edit-change-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.7);
    color: #d4af37;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    padding: 4px;
    cursor: pointer;
    letter-spacing: 1px;
}

.edit-change-img:active {
    background: rgba(212,175,55,0.2);
}

/* Düzenleme paneli butonları */
.edit-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.edit-actions .btn-submit {
    flex: 1;
    padding: 10px;
    font-size: 12px;
    max-width: none;
}

.btn-delete-full {
    flex: 1;
    padding: 10px;
    background: #8b0000;
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
}

.btn-delete-full:active {
    background: #cc0000;
    transform: scale(0.97);
}

/* Seçili kart */
.mini-card.selected-card {
    border-color: #00c850 !important;
    box-shadow: 0 0 15px rgba(0,200,80,0.3);
}

/* ===== DESKTOP ===== */
@media (min-width: 769px) {
    .edit-ilanlar-section {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }
}

/* ===== KULLANICI PANELİ ===== */
.user-panel {
    max-width: 900px;
    margin: 0 auto;
    min-height: 100vh;
    animation: panelReveal 0.8s ease-out;
}

.user-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: #111;
    border-bottom: 2px solid #d4af37;
}

.user-panel-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-panel-avatar {
    width: 44px;
    height: 44px;
    background: rgba(212,175,55,0.1);
    border: 2px solid #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.user-panel-info h2 {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 900;
    background: linear-gradient(180deg, #f5d060, #d4af37, #b8960c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.user-panel-info p {
    font-size: 11px;
    color: #666;
}

.user-panel-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-ilan-badge {
    font-size: 11px;
    font-weight: 600;
    color: #d4af37;
    background: rgba(212,175,55,0.1);
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid rgba(212,175,55,0.3);
}

.user-panel-body {
    padding: 20px;
}

.user-panel-title {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 900;
    color: #d4af37;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.user-ilanlar-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.user-cat-title {
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 900;
    color: #d4af37;
    letter-spacing: 2px;
    padding: 8px 0 4px;
    border-bottom: 1px solid #222;
    margin-top: 8px;
}

.user-ilan-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.user-ilan-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.user-ilan-details {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.user-ilan-name {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 900;
    color: #d4af37;
    letter-spacing: 1px;
}

/* Görüntüleme satırları */
.user-view-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 0;
    font-size: 12px;
}

.user-view-label {
    color: #888;
    flex-shrink: 0;
    min-width: 90px;
}

.user-view-value {
    color: #ccc;
}

/* Geri sayım */
.user-countdown {
    font-family: monospace;
    font-size: 13px;
    font-weight: 700;
    color: #00c850;
    letter-spacing: 0.5px;
}

.user-countdown.unlimited {
    color: #d4af37;
    font-family: 'Inter', sans-serif;
}

.user-countdown.expired {
    color: #ff3c3c;
}

/* Düzenlenebilir bölüm */
.user-edit-section {
    border-top: 1px solid #1a1a1a;
    padding-top: 8px;
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.user-edit-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-edit-row label {
    font-size: 10px;
    font-weight: 600;
    color: #888;
}

.user-edit-input-wrap {
    display: flex;
    gap: 6px;
}

.user-edit-input {
    flex: 1;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 7px 10px;
    color: #e0e0e0;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    outline: none;
}

.user-edit-input:focus {
    border-color: #d4af37;
}

.user-save-btn {
    background: linear-gradient(145deg, #d4af37, #f5d060);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    padding: 7px 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
}

.user-save-btn:active {
    transform: scale(0.95);
}

.user-meeting-options {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.user-meeting-options input[type="radio"] {
    width: 14px;
    height: 14px;
    accent-color: #d4af37;
    cursor: pointer;
}

/* Lead bilgileri */
.user-lead-row {
    display: flex;
    gap: 8px;
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid #1a1a1a;
}

.user-lead-box {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-lead-box.today {
    background: rgba(0, 200, 80, 0.08);
    border: 1px solid rgba(0, 200, 80, 0.2);
}

.user-lead-box.alltime {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.user-lead-num {
    font-size: 22px;
    font-weight: 900;
    font-family: 'Cinzel', serif;
}

.user-lead-box.today .user-lead-num {
    color: #00c850;
}

.user-lead-box.alltime .user-lead-num {
    color: #d4af37;
}

.user-lead-label {
    font-size: 9px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-ilan-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid #1a1a1a;
    margin-top: 4px;
}

.user-ilan-status {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 8px;
    letter-spacing: 1px;
}

.user-ilan-status.aktif {
    background: rgba(0,200,80,0.1);
    color: #00c850;
}

.user-ilan-status.pasif {
    background: rgba(255,60,60,0.1);
    color: #ff3c3c;
}

.user-ilan-time {
    font-size: 11px;
    color: #888;
    font-weight: 600;
}

/* ===== ÖNİZLEME BUTONU ===== */
.preview-bar {
    padding: 10px 15px;
    text-align: center;
    border-bottom: 1px solid #1a1a1a;
}

.preview-showroom-btn {
    background: linear-gradient(145deg, #1a1a1a, #111);
    border: 1.5px solid #d4af37;
    color: #d4af37;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 10px;
    cursor: pointer;
    letter-spacing: 2px;
    transition: all 0.2s;
}

.preview-showroom-btn:active {
    background: linear-gradient(145deg, #d4af37, #f5d060);
    color: #000;
    transform: scale(0.97);
}

/* ===== ÖNİZLEME OVERLAY ===== */
.preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    z-index: 9000;
    display: flex;
    flex-direction: column;
}

.preview-back-btn {
    background: rgba(20, 20, 20, 0.95);
    border: none;
    border-bottom: 1px solid #222;
    color: #d4af37;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 20px;
    cursor: pointer;
    text-align: left;
    flex-shrink: 0;
}

.preview-back-btn:active {
    background: #1a1a1a;
}

#preview-iframe {
    flex: 1;
    width: 100%;
    border: none;
    background: #0a0a0a;
}

/* Telefonda tam ekran */
@media (max-width: 480px) {
    #preview-iframe {
        width: 100%;
    }
}

/* Bilgisayarda ortada telefon boyutunda */
@media (min-width: 481px) {
    #preview-iframe {
        max-width: 480px;
        margin: 0 auto;
        border-left: 1px solid #222;
        border-right: 1px solid #222;
    }
}

/* ===== BİLDİRİM ===== */
.notification {
    position: fixed;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(145deg, #d4af37, #f5d060);
    color: #000;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    transition: bottom 0.3s ease;
    z-index: 200;
    max-width: 90%;
    text-align: center;
}

.notification.show {
    bottom: 30px;
}

/* ===== PANEL ANİMASYON ===== */
.admin-panel {
    animation: panelReveal 0.8s ease-out;
}

@keyframes panelReveal {
    0% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 0px;
    display: none;
}

/* ===== DESKTOP (769px ve üstü) ===== */
@media (min-width: 769px) {
    body {
        border-left: 1px solid #1a1a1a;
        border-right: 1px solid #1a1a1a;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    }

    .panel-header {
        padding: 28px 30px 14px;
    }

    .panel-title {
        font-size: 32px;
        letter-spacing: 6px;
    }

    .panel-subtitle {
        font-size: 13px;
        letter-spacing: 8px;
    }

    .tab-menu {
        padding: 14px 20px 10px;
        gap: 4px;
        justify-content: center;
    }

    .tab-item {
        padding: 10px 16px;
    }

    .tab-text {
        font-size: 13px;
    }

    .tab-icon {
        font-size: 16px;
    }

    .content-header {
        padding: 20px 30px;
    }

    .content-header h2 {
        font-size: 20px;
    }

    .ilan-form {
        padding: 25px 30px;
        gap: 20px;
    }

    .form-group label {
        font-size: 13px;
    }

    .form-group input[type="text"],
.form-group input[type="tel"],
    .form-group input[type="number"],
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 15px;
    }

    .duration-row {
        max-width: 400px;
    }

    .meeting-options {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .btn-submit {
        max-width: 400px;
        align-self: flex-start;
        font-size: 15px;
    }

    .items-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .users-list {
        padding: 20px 30px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .roles-info {
        padding: 20px 30px;
    }

    .report-stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .lead-big-number {
        font-size: 64px;
    }

    .stat-number {
        font-size: 36px;
    }

    .regions-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .region-list {
        max-height: 250px;
    }
}

/* ===== MOBİL (480px ve altı) ===== */
@media (max-width: 480px) {
    body {
        max-width: 480px;
    }

    .panel-title {
        font-size: 22px;
    }
}
