body {
    background: radial-gradient(circle at top left, rgba(91,77,245,.20), transparent 28%), radial-gradient(circle at bottom right, rgba(255,255,255,.06), transparent 26%), linear-gradient(180deg, #030303 0%, #070707 100%) !important;
    min-height: 100vh;
}

:root {
    --bg: #050505;
    --panel: #111111;
    --panel-2: #171717;
    --border: #2a2a2a;
    --text: #f5f5f5;
    --muted: #a1a1aa;
    --soft: #737373;
    --white: #ffffff;
    --accent: #e5e7eb;
    --success: #22c55e;
    --dark-muted: #a1a1aa;
    --dark-soft: #d4d4d8;
}



.randevu-dark-page {
    min-height: calc(100vh - 80px);
    padding: 42px 15px 70px;
}

.randevu-shell {
    /*max-width: 980px;*/
    margin: 0 auto;
}

.randevu-hero-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,.45);
    position: relative;
    min-height: 350px;
}

.hero-image {
    position: relative;
    height: 350px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15,15,15,.25), rgba(0,0,0,.85)), url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1400&q=80");
    background-size: cover;
    background-position: center;
}

    .hero-image::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.16), transparent 26%), linear-gradient(180deg, transparent 20%, rgba(17,17,17,1) 100%);
    }

.hero-content {
    padding: 42px 54px 52px;
    text-align: center;
    position: absolute;
    width: 100%;
    z-index: 555;
    top: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.04);
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 18px;
}

.hero-title {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -.8px;
    margin-bottom: 10px;
    color: var(--white);
}

.hero-subtitle {
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 30px;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #080808;
    padding: 10px;
    transition: border-color .25s ease, box-shadow .25s ease;
}

    .search-box:focus-within {
        border-color: rgba(255,255,255,.45);
        box-shadow: 0 0 0 4px rgba(255,255,255,.06);
    }

    .search-box .input-group-text {
        background: transparent;
        border: 0;
        color: var(--muted);
        padding-left: 12px;
    }

    .search-box .form-control {
        background: transparent;
        border: 0;
        color: var(--white);
        height: 46px;
        box-shadow: none !important;
    }

        .search-box .form-control::placeholder {
            color: #737373;
        }

    .search-box .btn {
        border-radius: 12px !important;
        background: #f5f5f5;
        border-color: #f5f5f5;
        color: #111;
        font-weight: 700;
        min-width: 92px;
        transition: transform .2s ease, background .2s ease;
    }

        .search-box .btn:hover {
            background: #ffffff;
            color: #000;
            transform: translateY(-1px);
        }

.firma-list-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 34px 2px 18px;
    gap: 14px;
}

.firma-list-title {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    margin: 0;
}

.firma-list-count {
    color: var(--muted);
    border: 1px solid var(--border);
    background: rgba(255,255,255,.04);
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 13px;
}

.firma-card {
    height: 100%;
    background: linear-gradient(180deg, #151515 0%, #101010 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 22px;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

    .firma-card::before {
        content: "";
        position: absolute;
        width: 130px;
        height: 130px;
        right: -60px;
        top: -60px;
        border-radius: 50%;
        background: rgba(255,255,255,.06);
        transition: transform .35s ease;
    }

    .firma-card:hover {
        transform: translateY(-7px);
        border-color: rgba(255,255,255,.32);
        box-shadow: 0 22px 50px rgba(0,0,0,.42);
    }

        .firma-card:hover::before {
            transform: scale(1.35);
        }

.firma-top {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.firma-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: #242424;
    display: grid;
    place-items: center;
    color: #f5f5f5;
    border: 1px solid #303030;
    font-size: 21px;
}

.firma-name {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 6px;
}

.firma-location {
    color: var(--muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.firma-desc {
    position: relative;
    z-index: 2;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
    min-height: 48px;
    margin-bottom: 18px;
}

.firma-tags {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.firma-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #d4d4d8;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
}

.btn-randevu {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 46px;
    border-radius: 13px;
    background: #f5f5f5;
    color: #111;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .22s ease, background .22s ease;
}

    .btn-randevu:hover {
        color: #000;
        background: #fff;
        transform: translateY(-2px);
    }

.empty-box {
    background: #111;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 34px;
    text-align: center;
    color: var(--muted);
}

@media(max-width: 768px) {
    .randevu-dark-page {
        padding-top: 22px;
    }

    .hero-image {
        height: 170px;
    }

    .hero-content {
        padding: 32px 20px 36px;
    }

    .firma-list-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-box .btn {
        min-width: 75px;
    }
}

.appointment-page {
    padding: 34px 0 70px;
}

.appointment-shell {
    max-width: 1280px;
    margin: 0 auto;
}

.firm-profile-card,
.booking-card {
    background: linear-gradient(180deg, #141414 0%, #0d0d0d 100%);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.firm-cover {
    height: 145px;
    background: linear-gradient(135deg, rgba(59,44,163,.75), rgba(91,77,245,.55)), radial-gradient(circle at top right, rgba(255,255,255,.26), transparent 28%), linear-gradient(135deg, #1f1f1f, #090909);
    position: relative;
}

    .firm-cover::after {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(45deg, rgba(255,255,255,.06) 25%, transparent 25%), linear-gradient(-45deg, rgba(255,255,255,.05) 25%, transparent 25%);
        background-size: 28px 28px;
        opacity: .35;
    }

.firm-body {
    padding: 0 26px 28px;
    position: relative;
}

.firm-avatar {
    width: 78px;
    height: 78px;
    border-radius: 22px;
    background: #fff;
    color: var(--brand);
    display: grid;
    place-items: center;
    font-size: 34px;
    box-shadow: 0 18px 35px rgba(0,0,0,.35);
    margin-top: -39px;
    position: relative;
    z-index: 2;
}

.firm-title {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    margin: 18px 0 10px;
    letter-spacing: -.3px;
}

.firm-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark-muted);
    font-size: 14px;
    margin-bottom: 8px;
}

.firm-desc {
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
    margin-bottom: 0;
}

.firm-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.firm-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--dark-border);
    color: #e5e7eb;
    font-size: 12px;
    font-weight: 600;
}

.booking-card {
    padding: 26px;
}

.booking-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
}

.booking-title-area {
    min-width: 0;
}

.booking-eyebrow {
    color: var(--dark-muted);
    font-size: 13px;
    margin-bottom: 5px;
}

.booking-title {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -.3px;
}

.step-badge {
    min-width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(91,77,245,.16);
    border: 1px solid rgba(91,77,245,.35);
    color: #fff;
    font-weight: 800;
}

.section-label {
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
}

.service-card {
    background: rgba(255,255,255,.035);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 16px 17px;
    min-height: 92px;
    color: #fff;
    cursor: pointer;
    transition: transform .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease;
    position: relative;
    overflow: hidden;
}

    .service-card::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 3px;
        background: linear-gradient(90deg, var(--brand), var(--brand-2));
        opacity: 0;
        transition: opacity .24s ease;
    }

    .service-card:hover {
        transform: translateY(-4px);
        border-color: var(--dark-border-2);
        background: rgba(255,255,255,.055);
        box-shadow: 0 18px 34px rgba(0,0,0,.28);
    }

    .service-card.aktif {
        border-color: rgba(91,77,245,.70);
        background: rgba(91,77,245,.14);
        box-shadow: 0 18px 40px rgba(91,77,245,.18);
    }

        .service-card.aktif::before {
            opacity: 1;
        }

.service-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.service-name {
    font-weight: 800;
    font-size: 16px;
    color: #fff;
    margin-bottom: 6px;
}

.service-meta {
    color: var(--dark-muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.service-arrow {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.05);
    color: var(--dark-soft);
    transition: all .24s ease;
    flex-shrink: 0;
}

.service-card.aktif .service-arrow {
    /*background: #fff;*/
    color: var(--brand);
}

.step-panel {
    display: none;
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid var(--dark-border);
}

.date-input {
    height: 52px;
    max-width: 260px;
    background: #050505;
    color: #fff;
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 0 15px;
    outline: none;
    box-shadow: none !important;
}

    .date-input:focus {
        border-color: rgba(91,77,245,.75);
        box-shadow: 0 0 0 4px rgba(91,77,245,.12) !important;
        background: #050505;
        color: #fff;
    }

    .date-input::-webkit-calendar-picker-indicator {
        filter: invert(1);
        opacity: .75;
    }

.slot-area {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.slot-btn {
    border: 1px solid var(--dark-border);
    background: rgba(255,255,255,.04);
    color: #fff;
    border-radius: 13px;
    padding: 10px 16px;
    font-weight: 700;
    transition: all .22s ease;
}

    .slot-btn:hover {
        transform: translateY(-2px);
        border-color: rgba(91,77,245,.65);
        background: rgba(91,77,245,.12);
        color: #fff;
    }

    .slot-btn.aktif {
        background: #fff;
        color: #111;
        border-color: #fff;
        box-shadow: 0 12px 26px rgba(255,255,255,.10);
    }

.note-label {
    color: #fff;
    font-weight: 700;
    margin-bottom: 8px;
}

.note-input {
    background: #050505;
    color: #fff;
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    box-shadow: none !important;
    resize: vertical;
}

    .note-input:focus {
        background: #050505;
        color: #fff;
        border-color: rgba(91,77,245,.75);
        box-shadow: 0 0 0 4px rgba(91,77,245,.12) !important;
    }

.confirm-btn {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    box-shadow: 0 18px 38px rgba(91,77,245,.25);
    transition: all .24s ease;
}

    .confirm-btn:hover:not(:disabled) {
        transform: translateY(-2px);
        color: #fff;
        box-shadow: 0 24px 48px rgba(91,77,245,.35);
    }

    .confirm-btn:disabled {
        opacity: .45;
        cursor: not-allowed;
    }

.login-warning {
    background: rgba(245,158,11,.11);
    border: 1px solid rgba(245,158,11,.30);
    color: #fde68a;
    border-radius: var(--radius-md);
    padding: 15px 16px;
}

    .login-warning a {
        color: #fff;
        font-weight: 800;
    }

.status-text {
    color: var(--dark-muted);
    font-size: 14px;
}

.status-error {
    color: #fca5a5;
    font-size: 14px;
}

.mini-summary {
    display: none;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.045);
    border: 1px solid var(--dark-border);
    color: #e5e7eb;
    font-size: 14px;
}

    .mini-summary strong {
        color: #fff;
    }

@media(max-width: 991px) {
    .appointment-page {
        padding-top: 22px;
    }

    .booking-card {
        padding: 20px;
    }

    .firm-cover {
        height: 120px;
    }
}

@media(max-width: 575px) {
    .booking-header {
        flex-direction: column-reverse;
    }

    .booking-title {
        font-size: 21px;
    }

    .firm-title {
        font-size: 21px;
    }

    .date-input {
        max-width: 100%;
    }
}

.profile-page {
    min-height: calc(100vh - 80px);
    padding: 42px 15px 70px;
    display: flex;
    justify-content: center;
}

.profile-shell {
    width: 100%;
    max-width: 980px;
}

.profile-header {
    margin-bottom: 22px;
    text-align: center;
}

.profile-page-title {
    color: #fff;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -.6px;
    margin-bottom: 8px;
}

.profile-page-subtitle {
    color: var(--muted);
    font-size: 15px;
    margin: 0;
}

.profile-card {
    background: linear-gradient(180deg, #151515 0%, #101010 100%);
    border: 1px solid var(--border);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 28px 90px rgba(0,0,0,.48);
    position: relative;
}

.profile-cover {
    height: 150px;
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.18), transparent 24%), radial-gradient(circle at 80% 30%, rgba(91,77,245,.45), transparent 28%), linear-gradient(135deg, #3b2ca3 0%, #111111 72%);
    position: relative;
    overflow: hidden;
}

    .profile-cover::after {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1px);
        background-size: 18px 18px;
        opacity: .22;
    }

.profile-body {
    padding: 0 46px 42px;
}

.profile-user-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-top: -48px;
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.profile-user-left {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    min-width: 0;
}

.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 28px;
    background: #f5f5f5;
    color: #111;
    border: 6px solid #101010;
    display: grid;
    place-items: center;
    font-size: 38px;
    font-weight: 900;
    box-shadow: 0 18px 40px rgba(0,0,0,.38);
    flex-shrink: 0;
}

.profile-name-box {
    padding-bottom: 8px;
    min-width: 0;
}

.profile-name {
    color: #fff;
    font-size: 25px;
    font-weight: 900;
    margin-bottom: 5px;
    letter-spacing: -.4px;
    word-break: break-word;
}

.profile-mail {
    color: var(--muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
    word-break: break-all;
}

.profile-date-card {
    min-width: 190px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,.045);
    border: 1px solid var(--border);
    color: #fff;
}

.profile-date-label {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 4px;
}

.profile-date-value {
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-alert-success,
.profile-alert-error {
    border-radius: 15px;
    padding: 13px 16px;
    font-size: 14px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.profile-alert-success {
    background: rgba(34,197,94,.12);
    border: 1px solid rgba(34,197,94,.30);
    color: #86efac;
}

.profile-alert-error {
    background: rgba(239,68,68,.12);
    border: 1px solid rgba(239,68,68,.30);
    color: #fecaca;
}

.profile-form-panel {
    background: rgba(255,255,255,.025);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 26px;
}

.profile-section-title {
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-label {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 9px;
    display: block;
}

.profile-required {
    color: #818cf8;
}

.profile-input-wrap {
    position: relative;
    margin-bottom: 20px;
}

.profile-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 18px;
    pointer-events: none;
}

.profile-input {
    width: 100%;
    height: 54px;
    border-radius: 15px;
    border: 1px solid var(--border);
    background: #080808;
    color: #fff;
    padding: 0 16px 0 48px;
    outline: none;
    transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
    font-size: 15px;
}

    .profile-input:focus {
        border-color: rgba(91,77,245,.78);
        background: #050505;
        box-shadow: 0 0 0 4px rgba(91,77,245,.13);
    }

    .profile-input::placeholder {
        color: #666;
    }

    .profile-input:disabled {
        opacity: .62;
        cursor: not-allowed;
        background: rgba(255,255,255,.035);
    }

.profile-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    margin-top: -10px;
    margin-bottom: 20px;
}

.profile-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0 24px;
}

.profile-actions {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-submit {
    min-width: 220px;
    height: 54px;
    border: 0;
    border-radius: 15px;
    background: #f5f5f5;
    color: #111;
    font-weight: 900;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
    box-shadow: 0 16px 34px rgba(255,255,255,.08);
    cursor: pointer;
}

    .profile-submit:hover {
        background: #fff;
        color: #000;
        transform: translateY(-2px);
        box-shadow: 0 22px 44px rgba(255,255,255,.12);
    }

@media(max-width: 768px) {
    .profile-page {
        padding-top: 24px;
    }

    .profile-body {
        padding: 0 22px 28px;
    }

    .profile-user-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-user-left {
        align-items: center;
    }

    .profile-avatar {
        width: 82px;
        height: 82px;
        border-radius: 24px;
        font-size: 32px;
    }

    .profile-date-card {
        width: 100%;
    }

    .profile-form-panel {
        padding: 20px;
    }

    .profile-page-title {
        font-size: 27px;
    }

    .profile-submit {
        width: 100%;
        min-width: unset;
    }
}

@media(max-width: 480px) {
    .profile-user-left {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-name-box {
        padding-bottom: 0;
    }
}