.d-none { display: none !important; }

.randevu-app {
    --primary: #d4a853;
    --bg: #0a0a0a;
    min-height: 100vh;
    background: var(--bg);
    color: #f8fafc;
    font-family: "Inter", system-ui, sans-serif;
}

.randevu-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(16px);
}

.randevu-header .inner {
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 1.25rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.randevu-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
    transition: color 0.3s;
}

.randevu-back:hover { color: #fff; }

.randevu-title-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.randevu-title-badge i { color: var(--primary); }

.randevu-body {
    max-width: 48rem;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 4rem;
}

.randevu-steps {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.randevu-step-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.randevu-step-item.disabled { cursor: default; pointer-events: none; }

.randevu-step-dot {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    transition: all 0.4s;
}

.randevu-step-dot.done { background: var(--primary); color: #0a0a0a; }
.randevu-step-dot.active { background: rgba(212, 168, 83, 0.2); border: 1px solid var(--primary); color: var(--primary); }
.randevu-step-dot.pending { background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.2); }

.randevu-step-label {
    display: none;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 640px) { .randevu-step-label { display: inline; } }

.randevu-step-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.5s;
}

.randevu-step-line.done { background: rgba(212, 168, 83, 0.4); }

.randevu-panel { display: none; animation: randevuFade 0.3s ease; }
.randevu-panel.active { display: block; }

@keyframes randevuFade {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}

.randevu-panel h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.randevu-panel .sub {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1.75rem;
}

.randevu-grid-2 {
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .randevu-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .randevu-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.randevu-grid-3 { display: grid; gap: 1rem; }

.randevu-card-btn {
    text-align: left;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    color: inherit;
    cursor: pointer;
    transition: all 0.25s;
    width: 100%;
}

.randevu-card-btn:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.randevu-card-btn.selected {
    background: rgba(212, 168, 83, 0.1);
    border-color: rgba(212, 168, 83, 0.5);
    box-shadow: 0 8px 24px rgba(212, 168, 83, 0.1);
}

.randevu-card-btn .row-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.randevu-card-btn .name { font-size: 0.875rem; font-weight: 500; color: #fff; }
.randevu-card-btn .meta { font-size: 0.75rem; color: rgba(255, 255, 255, 0.25); }
.randevu-card-btn .price { font-family: "Cormorant Garamond", serif; font-size: 0.75rem; color: var(--primary); }

.randevu-barber-btn { text-align: center; padding: 1.45rem 1.25rem; }

.randevu-avatar {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.65rem;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    overflow: hidden;
}

.randevu-avatar img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 640px) {
    .randevu-avatar {
        width: 5rem;
        height: 5rem;
        font-size: 1.4rem;
    }
}

.randevu-card-btn.selected .randevu-avatar {
    background: rgba(212, 168, 83, 0.2);
    border-color: rgba(212, 168, 83, 0.4);
    color: var(--primary);
}

.randevu-barber-title { font-family: "Cormorant Garamond", serif; font-size: 0.875rem; font-weight: 600; }
.randevu-barber-role { font-size: 0.7rem; color: rgba(212, 168, 83, 0.6); margin-bottom: 0.25rem; }

.randevu-tags { display: flex; flex-wrap: wrap; gap: 0.25rem; justify-content: center; margin-top: 0.75rem; }

.randevu-tag {
    font-size: 0.56rem;
    color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
}

.randevu-summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.randevu-summary i { color: var(--primary); }

.randevu-field {
    margin-bottom: 1rem;
    min-width: 0;
}

.randevu-field label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 0.4rem;
}

.randevu-field label i { color: var(--primary); font-size: 0.8rem; }

.randevu-input,
.randevu-select,
.randevu-textarea {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: #fff;
    padding: 0.65rem 0.85rem;
    font-size: 0.9rem;
}

.randevu-input:focus,
.randevu-select:focus,
.randevu-textarea:focus {
    outline: none;
    border-color: rgba(212, 168, 83, 0.4);
}

.randevu-select option { background: #111; color: #fff; }

.randevu-textarea { min-height: 5rem; resize: vertical; }

.randevu-summary-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    min-width: 0;
}

.randevu-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    padding: 0.2rem 0;
}

.randevu-summary-row span:first-child { color: rgba(255, 255, 255, 0.25); }
.randevu-summary-row span:last-child { color: rgba(255, 255, 255, 0.6); }

.randevu-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.randevu-nav-back {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.875rem;
    cursor: pointer;
    visibility: hidden;
}

.randevu-nav-back.visible { visibility: visible; }
.randevu-nav-back:hover { color: #fff; }

.btn-randevu-next {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: #0a0a0a;
    border: none;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    cursor: pointer;
    transition: filter 0.3s;
}

.btn-randevu-next:disabled { opacity: 0.3; cursor: not-allowed; }
.btn-randevu-next:not(:disabled):hover { filter: brightness(1.1); }

.randevu-code-action {
    width: 100%;
    justify-content: center;
    min-height: 2.8rem;
    border-radius: 0.75rem;
    white-space: nowrap;
}

@media (max-width: 639px) {
    .randevu-nav {
        gap: 1rem;
    }

    .btn-randevu-next {
        justify-content: center;
        min-width: 0;
    }
}

.randevu-success {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: var(--bg);
}

.randevu-success-card {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    max-width: 28rem;
    width: 100%;
    text-align: center;
}

.randevu-success-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(212, 168, 83, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    font-size: 2rem;
}

.randevu-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fecaca;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: none;
}

.randevu-error.show { display: block; }

.randevu-loading {
    text-align: center;
    padding: 4rem 0;
    color: var(--primary);
}

.randevu-time-empty {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 0.5rem;
}

/* Açık tema */
.randevu-app {
    --bg: #ffffff;
    color: #111827;
}

.randevu-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: #e5e7eb;
}

.randevu-back,
.randevu-title-badge,
.randevu-step-label,
.randevu-panel .sub,
.randevu-card-btn .meta,
.randevu-summary,
.randevu-summary-row span:first-child,
.randevu-summary-row span:last-child,
.randevu-nav-back,
.randevu-time-empty,
.randevu-tag,
.randevu-barber-role {
    color: #6b7280;
}

.randevu-back:hover,
.randevu-nav-back:hover,
.randevu-card-btn .name {
    color: #111827;
}

.randevu-step-dot.pending,
.randevu-card-btn,
.randevu-summary,
.randevu-summary-card,
.randevu-input,
.randevu-select,
.randevu-textarea {
    background: #ffffff;
    border-color: #e5e7eb;
    color: #111827;
}

.randevu-card-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.randevu-card-btn.selected {
    background: rgba(212, 168, 83, 0.12);
}

.randevu-step-line,
.randevu-nav {
    border-color: #e5e7eb;
}

.randevu-step-line {
    background: #e5e7eb;
}

.randevu-select option {
    background: #ffffff;
    color: #111827;
}

.randevu-success {
    background: #ffffff;
}

.randevu-success-card {
    background: #ffffff;
    border-color: #e5e7eb;
    color: #111827;
}
