/**
 * Bukiraj Kupac - Styles
 * SCOPED CSS - Ne utiče na ostatak sajta
 */

/* Registration Styles - Scoped to dashboard root */
#bukiraj-dashboard-root .bkc-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 0 20px;
}

#bukiraj-dashboard-root .bkc-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--bkc-border);
    z-index: 0;
}

#bukiraj-dashboard-root .bkc-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

#bukiraj-dashboard-root .bkc-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bkc-border);
    color: var(--bkc-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 16px;
    transition: all 0.3s;
}

#bukiraj-dashboard-root .bkc-step.active .bkc-step-number {
    background: var(--bkc-primary);
    color: #fff;
}

#bukiraj-dashboard-root .bkc-step.completed .bkc-step-number {
    background: #10b981;
    color: #fff;
}

#bukiraj-dashboard-root .bkc-step-label {
    font-size: 13px;
    color: var(--bkc-text);
    text-align: center;
    font-weight: 500;
}

#bukiraj-dashboard-root .bkc-step.active .bkc-step-label {
    color: var(--bkc-primary);
    font-weight: 700;
}

#bukiraj-dashboard-root .bkc-step.completed .bkc-step-label {
    color: #10b981;
}

#bukiraj-dashboard-root .bkc-step-content {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form styles scoped to dashboard root */
#bukiraj-dashboard-root .bkc-form-group {
    margin-bottom: 20px;
}

#bukiraj-dashboard-root .bkc-form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--bkc-border);
    border-radius: 12px;
    font-size: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: all 0.2s;
    box-sizing: border-box;
    background: white;
    color: var(--bkc-dark);
}

#bukiraj-dashboard-root .bkc-form-control:focus {
    outline: none;
    border-color: var(--bkc-primary);
    box-shadow: 0 0 0 3px rgba(38, 99, 235, 0.1);
}

#bukiraj-dashboard-root .bkc-form-control:hover {
    border-color: var(--bkc-primary);
}

#bukiraj-dashboard-root .bkc-message {
    display: block; /* Prikaži poruku po defaultu */
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 16px;
}

#bukiraj-dashboard-root .bkc-message.bkc-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
    display: block;
}

#bukiraj-dashboard-root .bkc-message.bkc-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    display: block;
}

#bukiraj-dashboard-root .bkc-message.bkc-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
    display: block;
}

.bkc-message {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: block; /* Prikaži poruku po defaultu */
}

.bkc-message.bkc-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    display: block;
}

.bkc-message.bkc-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.bkc-message.bkc-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
    display: block;
}

.bkc-loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #4CAF50;
    border-radius: 50%;
    animation: bkc-spin 1s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes bkc-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   DASHBOARD STYLES - SCOPED TO #bukiraj-dashboard-root
   ============================================ */

#bukiraj-dashboard-root {
    /* Reset all styles to prevent conflicts */
    all: initial;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* VARIABLES */
    --bkc-primary: #2663EB;
    --bkc-primary-light: #eff6ff;
    --bkc-dark: #0f172a;
    --bkc-text: #64748b;
    --bkc-border: #e2e8f0;
    --bkc-bg: #f8fafc;
    --bkc-card: #ffffff;
    --bkc-success-bg: #dcfce7;
    --bkc-success-text: #166534;
    
    /* Layout */
    display: flex;
    width: 100%;
    min-height: 100vh;
    background-color: var(--bkc-bg);
    color: var(--bkc-dark);
    box-sizing: border-box;
    position: relative;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

/* Reset all child elements */
#bukiraj-dashboard-root *,
#bukiraj-dashboard-root *::before,
#bukiraj-dashboard-root *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* --- 1. SIDEBAR --- */
#bukiraj-dashboard-root .bk-sidebar {
    width: 260px;
    background: var(--bkc-card);
    border-right: 1px solid var(--bkc-border);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    flex-shrink: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

#bukiraj-dashboard-root .bk-logo-area {
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    line-height: 1;
}

#bukiraj-dashboard-root .bk-logo-area a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

#bukiraj-dashboard-root .bk-logo-area img {
    height: 35px;
    width: auto;
    max-width: 100%;
    display: block;
}

#bukiraj-dashboard-root .bk-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    overflow-y: auto;
}

#bukiraj-dashboard-root .bk-nav li {
    list-style: none;
    margin: 0;
    padding: 0;
}

#bukiraj-dashboard-root .bk-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: var(--bkc-text);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    border: none;
    background: transparent;
    cursor: pointer;
}

#bukiraj-dashboard-root .bk-nav-link:hover {
    background: var(--bkc-bg);
    color: var(--bkc-primary);
}

#bukiraj-dashboard-root .bk-nav-link.active {
    background: var(--bkc-primary-light);
    color: var(--bkc-primary);
}

#bukiraj-dashboard-root .bk-nav-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

#bukiraj-dashboard-root .bk-logout {
    margin-top: auto;
    border-top: 1px solid var(--bkc-border);
    padding-top: 20px;
    padding-bottom: 0;
    position: sticky;
    bottom: 0;
    background: var(--bkc-card);
    z-index: 10;
}

#bukiraj-dashboard-root .bk-logout a {
    color: #ef4444;
}

#bukiraj-dashboard-root .bk-logout a:hover {
    background: #fef2f2;
    color: #dc2626;
}

/* --- 2. MAIN CONTENT --- */
#bukiraj-dashboard-root .bk-main {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
    min-height: 100vh;
}

#bukiraj-dashboard-root .bk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

#bukiraj-dashboard-root .bk-greeting h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--bkc-dark);
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

#bukiraj-dashboard-root .bk-greeting p {
    color: var(--bkc-text);
    margin-top: 5px;
    font-size: 15px;
    line-height: 1.5;
}

#bukiraj-dashboard-root .bk-avatar-wrapper {
    position: relative;
}

#bukiraj-dashboard-root .bk-avatar {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    background: var(--bkc-primary);
    color: white;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    aspect-ratio: 1 / 1;
}

#bukiraj-dashboard-root .bk-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(38, 99, 235, 0.3);
}

/* Profile Dropdown */
#bukiraj-dashboard-root .bk-profile-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: var(--bkc-card);
    border: 1px solid var(--bkc-border);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: auto;
    min-width: 280px;
    z-index: 1000;
    display: none;
    overflow: visible;
}

#bukiraj-dashboard-root .bk-profile-dropdown.active {
    display: block;
    animation: bkc-dropdown-fade-in 0.2s ease;
}

@keyframes bkc-dropdown-fade-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#bukiraj-dashboard-root .bk-dropdown-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bkc-bg);
}

#bukiraj-dashboard-root .bk-dropdown-avatar {
    width: 39px;
    height: 39px;
    min-width: 39px;
    min-height: 39px;
    background: var(--bkc-primary-light);
    color: var(--bkc-primary);
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 700;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

#bukiraj-dashboard-root .bk-dropdown-user-info {
    flex: 1;
    min-width: 0;
}

#bukiraj-dashboard-root .bk-dropdown-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--bkc-dark);
    margin-bottom: 4px;
    line-height: 1.2;
}

#bukiraj-dashboard-root .bk-dropdown-email {
    font-size: 13px;
    color: var(--bkc-text);
    line-height: 1.4;
    word-break: break-word;
}

#bukiraj-dashboard-root .bk-dropdown-divider {
    height: 1px;
    background: var(--bkc-border);
    margin: 0;
}

#bukiraj-dashboard-root .bk-dropdown-content {
    padding: 8px 20px;
}

/* Mobile dropdown specific - no padding for menu items */
#bukiraj-dashboard-root #bk-mobile-profile-dropdown .bk-dropdown-content {
    padding: 0;
}

#bukiraj-dashboard-root .bk-dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 14px;
    line-height: 1.5;
}

#bukiraj-dashboard-root .bk-dropdown-item:not(:last-child) {
    border-bottom: 1px dashed var(--bkc-border);
}

#bukiraj-dashboard-root .bk-dropdown-label {
    color: var(--bkc-text);
}

#bukiraj-dashboard-root .bk-dropdown-value {
    font-weight: 600;
    color: var(--bkc-dark);
    text-align: right;
}

#bukiraj-dashboard-root .bk-dropdown-footer {
    padding: 16px 20px;
    background: var(--bkc-bg);
}

#bukiraj-dashboard-root .bk-btn-edit-dropdown {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--bkc-border);
    background: white;
    color: var(--bkc-dark);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
}

#bukiraj-dashboard-root .bk-btn-edit-dropdown:hover {
    border-color: var(--bkc-primary);
    color: var(--bkc-primary);
}

/* Mobile dropdown menu item */
#bukiraj-dashboard-root .bk-dropdown-menu-item {
    width: 100%;
    padding: 14px 20px;
    background: transparent;
    border: none;
    color: var(--bkc-dark);
    font-size: 14px;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    text-align: left;
    border-radius: 0;
}

#bukiraj-dashboard-root .bk-dropdown-menu-item:hover {
    background: var(--bkc-bg);
    color: var(--bkc-primary);
}

#bukiraj-dashboard-root .bk-dropdown-menu-item:active {
    background: var(--bkc-primary-light);
}

/* Dashboard Sections */
#bukiraj-dashboard-root .bk-dashboard-section {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Info box „Na listi čekanja” – prikazuje se kada ima bar jedan termin na listi čekanja */
#bukiraj-dashboard-root .bk-waiting-list-info-box {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 24px;
    color: #065f46;
    font-size: 14px;
    line-height: 1.5;
}
#bukiraj-dashboard-root .bk-waiting-list-info-box strong {
    color: #047857;
}
#bukiraj-dashboard-root .bk-waiting-list-info-box p {
    margin: 0 0 8px 0;
}
#bukiraj-dashboard-root .bk-waiting-list-info-box p:last-child {
    margin-bottom: 0;
}

/* --- 3. BENTO GRID --- */
#bukiraj-dashboard-root .bk-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Active Packages Styles */
#bukiraj-dashboard-root .bk-active-packages-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#bukiraj-dashboard-root .bk-active-package-item {
    background: var(--bkc-bg);
    border: 1px solid var(--bkc-border);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.2s;
}

#bukiraj-dashboard-root .bk-active-package-item:hover {
    border-color: var(--bkc-primary);
    box-shadow: 0 4px 12px rgba(38, 99, 235, 0.1);
}

#bukiraj-dashboard-root .bk-active-package-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

#bukiraj-dashboard-root .bk-active-package-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--bkc-dark);
    flex: 1;
}

#bukiraj-dashboard-root .bk-active-package-expires {
    font-size: 12px;
    color: var(--bkc-text);
    margin-left: 12px;
}

#bukiraj-dashboard-root .bk-active-package-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

#bukiraj-dashboard-root .bk-active-package-slots {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#bukiraj-dashboard-root .bk-active-package-slots-label {
    font-size: 12px;
    color: var(--bkc-text);
}

#bukiraj-dashboard-root .bk-active-package-slots-count {
    font-size: 18px;
    font-weight: 700;
    color: var(--bkc-primary);
}

#bukiraj-dashboard-root .bk-btn-manage-package-small {
    background: var(--bkc-primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

#bukiraj-dashboard-root .bk-btn-manage-package-small:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(38, 99, 235, 0.3);
}

/* Card Styling */
#bukiraj-dashboard-root .bk-card {
    background: var(--bkc-card);
    border-radius: 24px;
    border: 1px solid var(--bkc-border);
    padding: 32px;
    box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

/* Termini – bez belog boxa */
#bukiraj-dashboard-root .bk-card.bk-appointments-card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

#bukiraj-dashboard-root .bk-card-header {
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#bukiraj-dashboard-root .bk-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--bkc-dark);
    margin: 0;
    line-height: 1.2;
}

/* --- PROFILE SECTION --- */
#bukiraj-dashboard-root .bk-profile-pic-large {
    width: 80px;
    height: 80px;
    background: var(--bkc-primary-light);
    color: var(--bkc-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px auto;
    flex-shrink: 0;
}

#bukiraj-dashboard-root .bk-profile-name {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--bkc-dark);
    margin-bottom: 5px;
    line-height: 1.2;
}

#bukiraj-dashboard-root .bk-profile-email {
    text-align: center;
    font-size: 14px;
    color: var(--bkc-text);
    margin-bottom: 30px;
    line-height: 1.5;
}

#bukiraj-dashboard-root .bk-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#bukiraj-dashboard-root .bk-info-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--bkc-border);
    line-height: 1.5;
}

#bukiraj-dashboard-root .bk-label {
    color: var(--bkc-text);
}

#bukiraj-dashboard-root .bk-value {
    font-weight: 600;
    color: var(--bkc-dark);
}

#bukiraj-dashboard-root .bk-btn-edit {
    margin-top: 30px;
    width: 100%;
    padding: 12px;
    border: 1px solid var(--bkc-border);
    background: white;
    color: var(--bkc-dark);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
}

#bukiraj-dashboard-root .bk-btn-edit:hover {
    border-color: var(--bkc-primary);
    color: var(--bkc-primary);
}

/* --- APPOINTMENTS SECTION --- */
#bukiraj-dashboard-root .bk-appt-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Ticket Design */
#bukiraj-dashboard-root .bk-ticket {
    background: #fff;
    border: 1px solid var(--bkc-border);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer; /* Osiguraj da je cursor pointer */
    z-index: 1; /* Ispred ::before pseudo-elementa */
}

#bukiraj-dashboard-root .bk-ticket:hover {
    transform: translateY(-2px);
    border-color: var(--bkc-primary);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
}

/* Service Color Indicator Line */
#bukiraj-dashboard-root .bk-ticket::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--bkc-primary);
    pointer-events: none; /* Ne blokiraj klikove */
    z-index: 0; /* Iza glavnog sadržaja */
}

#bukiraj-dashboard-root .bk-ticket[style*="--ticket-color"]::before {
    background: var(--ticket-color);
}

#bukiraj-dashboard-root .bk-date-box {
    background: var(--bkc-bg);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    min-width: 80px;
    flex-shrink: 0;
}

#bukiraj-dashboard-root .bk-date-day {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--bkc-dark);
    line-height: 1;
    margin-bottom: 4px;
}

#bukiraj-dashboard-root .bk-date-mon {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--bkc-text);
    line-height: 1.2;
    margin-bottom: 4px;
}

#bukiraj-dashboard-root .bk-date-time {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--bkc-primary);
    line-height: 1.2;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid var(--bkc-border);
}

#bukiraj-dashboard-root .bk-ticket-main {
    flex: 1;
    min-width: 0;
}

#bukiraj-dashboard-root .bk-service-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--bkc-dark);
    margin-bottom: 6px;
    display: block;
    line-height: 1.3;
}

#bukiraj-dashboard-root .bk-staff-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--bkc-text);
    line-height: 1.5;
    flex-wrap: wrap;
}

#bukiraj-dashboard-root .bk-staff-img {
    display: inline-block;
    vertical-align: middle;
}

#bukiraj-dashboard-root .bk-staff-initials {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bkc-primary-light);
    color: var(--bkc-primary);
    font-size: 10px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    vertical-align: middle;
    margin-right: 8px;
}

#bukiraj-dashboard-root .bk-staff-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    background: #e2e8f0;
    flex-shrink: 0;
    display: block;
}

#bukiraj-dashboard-root .bk-ticket-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

#bukiraj-dashboard-root .bk-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--bkc-dark);
    line-height: 1.2;
}

#bukiraj-dashboard-root .bk-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    line-height: 1.2;
    display: inline-block;
}

#bukiraj-dashboard-root .badge-confirmed {
    background: var(--bkc-success-bg);
    color: var(--bkc-success-text);
}

#bukiraj-dashboard-root .badge-pending {
    background: #fff7ed;
    color: #c2410c;
}

#bukiraj-dashboard-root .badge-info {
    background: #eff6ff;
    color: #1d4ed8;
}

#bukiraj-dashboard-root .badge-waiting-list {
    background: #ccfbf1;
    color: #0f766e;
}

#bukiraj-dashboard-root .badge-pending-payment {
    background: #fef3c7;
    color: #b45309;
}

#bukiraj-dashboard-root .bkc-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--bkc-text);
}

#bukiraj-dashboard-root .bkc-empty-state p {
    margin: 0;
    font-size: 15px;
}

/* Packages List */
#bukiraj-dashboard-root .bk-packages-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Package Item */
/* Tenants (Objekti) Styles */
#bukiraj-dashboard-root .bk-tenants-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#bukiraj-dashboard-root .bk-tenant-item {
    background: var(--bkc-card);
    border: 1px solid var(--bkc-border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.2s;
}

#bukiraj-dashboard-root .bk-tenant-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--bkc-bg);
    border: 1px solid var(--bkc-border);
    flex-shrink: 0;
}

#bukiraj-dashboard-root .bk-tenant-item:hover {
    border-color: var(--bkc-primary);
    box-shadow: 0 4px 12px rgba(38, 99, 235, 0.1);
    transform: translateY(-2px);
}

#bukiraj-dashboard-root .bk-tenant-header {
    flex: 1;
    display: flex;
    align-items: center;
}

#bukiraj-dashboard-root .bk-tenant-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#bukiraj-dashboard-root .bk-tenant-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--bkc-dark);
}

#bukiraj-dashboard-root .bk-tenant-appointments {
    font-size: 14px;
    color: var(--bkc-text);
}

#bukiraj-dashboard-root .bk-btn-book-again {
    background: var(--bkc-primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    margin-left: auto;
}

#bukiraj-dashboard-root .bk-btn-book-again:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(38, 99, 235, 0.3);
}

#bukiraj-dashboard-root .bk-package-item {
    background: #fff;
    border: 1px solid var(--bkc-border);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#bukiraj-dashboard-root .bk-package-item:hover {
    transform: translateY(-2px);
    border-color: var(--bkc-primary);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
}

/* Package Color Indicator Line */
#bukiraj-dashboard-root .bk-package-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--bkc-primary);
}

#bukiraj-dashboard-root .bk-package-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

#bukiraj-dashboard-root .bk-package-info {
    flex: 1;
}

#bukiraj-dashboard-root .bk-package-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--bkc-dark);
    margin-bottom: 8px;
    display: block;
}

#bukiraj-dashboard-root .bk-package-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--bkc-text);
    margin-bottom: 12px;
}

#bukiraj-dashboard-root .bk-package-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

#bukiraj-dashboard-root .bk-package-progress {
    margin-top: 12px;
}

#bukiraj-dashboard-root .bk-package-progress-text {
    font-size: 13px;
    color: var(--bkc-text);
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

#bukiraj-dashboard-root .bk-package-progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bkc-bg);
    border-radius: 4px;
    overflow: hidden;
}

#bukiraj-dashboard-root .bk-package-progress-bar-fill {
    height: 100%;
    background: var(--bkc-primary);
    border-radius: 4px;
    transition: width 0.3s ease;
}

#bukiraj-dashboard-root .bk-package-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

#bukiraj-dashboard-root .bk-package-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--bkc-dark);
    line-height: 1.2;
}

#bukiraj-dashboard-root .bk-package-status {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    line-height: 1.2;
    display: inline-block;
}

#bukiraj-dashboard-root .bk-package-status.paid {
    background: var(--bkc-success-bg);
    color: var(--bkc-success-text);
}

#bukiraj-dashboard-root .bk-package-status.not-paid {
    background: #fff7ed;
    color: #c2410c;
}

#bukiraj-dashboard-root .bk-package-btn {
    padding: 8px 16px;
    border: 1px solid var(--bkc-border);
    background: white;
    color: var(--bkc-dark);
    border-radius: 8px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: 0.2s;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-decoration: none;
    display: inline-block;
}

#bukiraj-dashboard-root .bk-package-btn:hover {
    border-color: var(--bkc-primary);
    color: var(--bkc-primary);
    background: var(--bkc-primary-light);
}

#bukiraj-dashboard-root .bk-package-btn.primary {
    background: var(--bkc-primary);
    color: white;
    border-color: var(--bkc-primary);
}

#bukiraj-dashboard-root .bk-package-btn.primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

/* Package Manage View */
#bukiraj-dashboard-root .bk-package-manage-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#bukiraj-dashboard-root .bk-package-manage-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--bkc-border);
}

#bukiraj-dashboard-root .bk-package-manage-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

#bukiraj-dashboard-root .bk-package-back-btn {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--bkc-border);
    border-radius: 8px;
    color: var(--bkc-dark);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

#bukiraj-dashboard-root .bk-package-back-btn:hover {
    border-color: var(--bkc-primary);
    color: var(--bkc-primary);
    background: var(--bkc-primary-light);
}

#bukiraj-dashboard-root .bk-package-manage-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--bkc-dark);
    margin: 0;
}

#bukiraj-dashboard-root .bk-package-manage-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    min-width: 200px;
}

#bukiraj-dashboard-root .bk-package-manage-progress-text {
    font-size: 14px;
    color: var(--bkc-text);
    font-weight: 600;
}

#bukiraj-dashboard-root .bk-package-services-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

#bukiraj-dashboard-root .bk-package-service {
    background: var(--bkc-card);
    border: 1px solid var(--bkc-border);
    border-radius: 16px;
    padding: 24px;
}

#bukiraj-dashboard-root .bk-package-service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--bkc-border);
}

#bukiraj-dashboard-root .bk-package-service-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--bkc-dark);
    margin: 0 0 4px 0;
}

#bukiraj-dashboard-root .bk-package-service-category {
    font-size: 14px;
    color: var(--bkc-text);
    margin: 0;
}

#bukiraj-dashboard-root .bk-package-service-secondary {
    font-size: 14px;
    color: var(--bkc-text);
    font-weight: 600;
}

#bukiraj-dashboard-root .bk-package-service-slots {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#bukiraj-dashboard-root .bk-package-slot {
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--bkc-border);
    background: var(--bkc-card);
    transition: 0.2s;
}

#bukiraj-dashboard-root .bk-package-slot.booked {
    background: var(--bkc-primary-light);
    border-color: var(--bkc-primary);
}

#bukiraj-dashboard-root .bk-package-slot.empty {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--bkc-primary);
    font-weight: 600;
    font-size: 14px;
}

#bukiraj-dashboard-root .bk-package-slot.empty:hover {
    background: var(--bkc-primary-light);
    border-color: var(--bkc-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(38, 99, 235, 0.15);
}

#bukiraj-dashboard-root .bk-package-slot-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--bkc-dark);
}

#bukiraj-dashboard-root .bk-package-slot-info p {
    margin: 0;
}

#bukiraj-dashboard-root .bk-package-disc {
    color: var(--bkc-text);
    font-weight: 600;
}

#bukiraj-dashboard-root .bk-package-schedule-now {
    background: transparent;
    border: 2px dashed var(--bkc-border);
}

#bukiraj-dashboard-root .bk-package-schedule-now:hover {
    border-color: var(--bkc-primary);
    background: var(--bkc-primary-light);
}

/* Booking Panel Modal */
.bk-booking-panel-modal {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.bk-booking-panel-modal .bk-close-booking-panel:hover {
    background: #f8fafc !important;
    border-color: var(--bkc-primary) !important;
    color: var(--bkc-primary) !important;
}

/* Mobile Header */
#bukiraj-dashboard-root .bk-mobile-header {
    display: none;
}

/* Overlay for mobile */
#bukiraj-dashboard-root .bk-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#bukiraj-dashboard-root .bk-overlay.active {
    display: block;
    opacity: 1;
}

/* Hamburger Menu */
#bukiraj-dashboard-root .bk-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

#bukiraj-dashboard-root .bk-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--bkc-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

#bukiraj-dashboard-root .bk-mobile-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#bukiraj-dashboard-root .bk-mobile-logo img {
    height: 32px;
    width: auto;
    max-width: 100%;
}

#bukiraj-dashboard-root .bk-mobile-avatar-wrapper {
    position: relative;
}

#bukiraj-dashboard-root .bk-mobile-avatar {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    background: var(--bkc-primary);
    color: white;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
    flex-shrink: 0;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    aspect-ratio: 1 / 1;
}

#bukiraj-dashboard-root .bk-mobile-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(38, 99, 235, 0.3);
}

/* RESPONSIVE MOBILE */
@media (max-width: 900px) {
    #bukiraj-dashboard-root {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    
    /* Mobile Header */
    #bukiraj-dashboard-root .bk-mobile-header {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 16px;
        background: var(--bkc-card);
        border-bottom: 1px solid var(--bkc-border);
        position: sticky;
        top: 0;
        z-index: 1001;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }
    
    #bukiraj-dashboard-root .bk-hamburger {
        display: flex;
        width: 44px;
        height: 44px;
        padding: 10px;
        flex-shrink: 0;
    }
    
    #bukiraj-dashboard-root .bk-mobile-logo {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    #bukiraj-dashboard-root .bk-mobile-logo img {
        height: 28px;
        max-width: 150px;
    }
    
    #bukiraj-dashboard-root .bk-mobile-avatar {
        width: 31px;
        height: 31px;
        min-width: 31px;
        min-height: 31px;
        font-size: 10px;
        border-radius: 100px;
        flex-shrink: 0;
        aspect-ratio: 1 / 1;
    }
    
    /* Sidebar - opens from left side */
    #bukiraj-dashboard-root .bk-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        z-index: 1000;
        border-right: 1px solid var(--bkc-border);
        padding: 24px 16px;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    
    #bukiraj-dashboard-root .bk-sidebar.active {
        transform: translateX(0);
    }
    
    #bukiraj-dashboard-root .bk-logo-area {
        display: block;
        margin-bottom: 24px;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--bkc-border);
    }
    
    #bukiraj-dashboard-root .bk-logo-area img {
        height: 32px;
    }
    
    #bukiraj-dashboard-root .bk-nav {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 20px;
    }
    
    #bukiraj-dashboard-root .bk-nav-link {
        justify-content: flex-start;
        padding: 14px 16px;
        font-size: 15px;
        border-radius: 12px;
        min-height: 48px;
    }
    
    #bukiraj-dashboard-root .bk-nav-link span {
        display: inline;
    }
    
    #bukiraj-dashboard-root .bk-logout {
        display: block;
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid var(--bkc-border);
    }
    
    #bukiraj-dashboard-root .bk-logout .bk-nav-link {
        margin-top: 0;
    }
    
    /* Hide desktop header on mobile */
    #bukiraj-dashboard-root .bk-header {
        display: none;
    }

    #bukiraj-dashboard-root .bk-main {
        padding: 16px;
        margin-top: 0;
        width: 100%;
    }
    
    #bukiraj-dashboard-root .bk-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Cards - Mobile optimization */
    #bukiraj-dashboard-root .bk-card {
        padding: 20px;
        border-radius: 16px;
    }
    
    #bukiraj-dashboard-root .bk-card-header {
        margin-bottom: 20px;
    }
    
    #bukiraj-dashboard-root .bk-card-title {
        font-size: 18px;
    }
    
    /* Tickets - Mobile optimization */
    #bukiraj-dashboard-root .bk-ticket {
        padding: 16px;
        gap: 12px;
        flex-direction: column;
        align-items: stretch;
        border-radius: 12px;
    }
    
    #bukiraj-dashboard-root .bk-ticket::before {
        width: 4px;
    }
    
    #bukiraj-dashboard-root .bk-date-box {
        min-width: auto;
        width: 100%;
        padding: 12px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }
    
    #bukiraj-dashboard-root .bk-date-day {
        font-size: 20px;
        margin-bottom: 0;
    }
    
    #bukiraj-dashboard-root .bk-date-mon {
        font-size: 12px;
        margin-bottom: 0;
    }
    
    #bukiraj-dashboard-root .bk-date-time {
        font-size: 14px;
        font-weight: 700;
        margin-top: 0;
        padding-top: 0;
        border-top: none;
        border-left: 1px solid var(--bkc-border);
        padding-left: 12px;
    }
    
    #bukiraj-dashboard-root .bk-ticket-main {
        width: 100%;
    }
    
    #bukiraj-dashboard-root .bk-service-name {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    #bukiraj-dashboard-root .bk-staff-info {
        font-size: 13px;
        flex-wrap: wrap;
        gap: 6px;
    }
    
    #bukiraj-dashboard-root .bk-staff-img,
    #bukiraj-dashboard-root .bk-staff-initials {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    
    #bukiraj-dashboard-root .bk-ticket-meta {
        width: 100%;
        text-align: left;
        align-items: flex-start;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid var(--bkc-border);
        gap: 8px;
    }
    
    #bukiraj-dashboard-root .bk-badge {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    #bukiraj-dashboard-root .bk-price {
        font-size: 16px;
        font-weight: 700;
    }
    
    /* Active Packages - Mobile */
    #bukiraj-dashboard-root .bk-active-package-item {
        padding: 16px;
        border-radius: 12px;
    }
    
    #bukiraj-dashboard-root .bk-active-package-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 12px;
    }
    
    #bukiraj-dashboard-root .bk-active-package-name {
        font-size: 16px;
    }
    
    #bukiraj-dashboard-root .bk-active-package-expires {
        font-size: 12px;
    }
    
    #bukiraj-dashboard-root .bk-active-package-info {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    #bukiraj-dashboard-root .bk-btn-manage-package-small {
        width: 100%;
        padding: 12px;
        font-size: 14px;
        min-height: 44px;
    }
    
    /* Tenants - Mobile */
    #bukiraj-dashboard-root .bk-tenant-item {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px;
    }
    
    #bukiraj-dashboard-root .bk-tenant-image {
        width: 60px;
        height: 60px;
        align-self: flex-start;
    }
    
    #bukiraj-dashboard-root .bk-tenant-header {
        width: 100%;
    }
    
    #bukiraj-dashboard-root .bk-tenant-name {
        font-size: 16px;
    }
    
    #bukiraj-dashboard-root .bk-tenant-appointments {
        font-size: 13px;
    }
    
    #bukiraj-dashboard-root .bk-btn-book-again {
        width: 100%;
        margin-left: 0;
        margin-top: 0;
        padding: 12px;
        font-size: 14px;
        min-height: 44px;
    }
    
    /* Profile Dropdown - Mobile */
    #bukiraj-dashboard-root .bk-profile-dropdown {
        min-width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
        right: 0;
        left: auto;
    }
    
    #bukiraj-dashboard-root .bk-mobile-avatar-wrapper {
        position: relative;
    }
    
    #bukiraj-dashboard-root #bk-mobile-profile-dropdown {
        top: calc(100% + 8px);
        right: 0;
        left: auto;
    }
    
    /* Buttons - Touch friendly */
    #bukiraj-dashboard-root button,
    #bukiraj-dashboard-root .bk-btn-manage-package-small,
    #bukiraj-dashboard-root .bk-btn-book-again {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    /* Typography - Mobile */
    #bukiraj-dashboard-root .bk-greeting h1 {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    #bukiraj-dashboard-root .bk-greeting p {
        font-size: 14px;
    }
    
    /* Empty State - Mobile */
    #bukiraj-dashboard-root .bkc-empty-state {
        padding: 32px 20px;
        font-size: 14px;
    }
    
    /* Hamburger animation when active */
    #bukiraj-dashboard-root .bk-hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    #bukiraj-dashboard-root .bk-hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    #bukiraj-dashboard-root .bk-hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Package slots separator on mobile */
    #bukiraj-dashboard-root .bk-active-packages-list > div[style*="border-top"] {
        margin: 16px 0;
    }
    
    /* Package Items - Mobile */
    #bukiraj-dashboard-root .bk-package-item {
        padding: 16px;
        border-radius: 12px;
    }
    
    #bukiraj-dashboard-root .bk-package-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    #bukiraj-dashboard-root .bk-package-info {
        width: 100%;
    }
    
    #bukiraj-dashboard-root .bk-package-name {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    #bukiraj-dashboard-root .bk-package-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    #bukiraj-dashboard-root .bk-package-meta-item {
        font-size: 12px;
    }
    
    #bukiraj-dashboard-root .bk-package-progress {
        margin-top: 12px;
    }
    
    #bukiraj-dashboard-root .bk-package-actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 16px;
    }
    
    #bukiraj-dashboard-root .bk-package-btn {
        width: 100%;
        min-height: 44px;
        font-size: 14px;
    }
    
    /* Package Manage View - Mobile */
    #bukiraj-dashboard-root .bk-package-slot {
        padding: 16px;
        min-height: 60px;
    }
    
    #bukiraj-dashboard-root .bk-package-schedule-now {
        min-height: 56px;
        font-size: 14px;
    }
}

/* ============================================
   APPOINTMENT MODAL STYLES
   ============================================ */

/* Modal Overlay */
.bkc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.bkc-modal-container {
    background: white;
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.bkc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.bkc-modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #111827;
}

.bkc-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s;
}

.bkc-modal-close:hover {
    background: #f3f4f6;
    color: #111827;
}

.bkc-modal-body {
    padding: 24px;
}

/* Appointment Details */
.bkc-appointment-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bkc-appointment-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bkc-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #e5e7eb;
}

.bkc-info-label {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

.bkc-info-value {
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
}

/* Appointment Actions */
.bkc-appointment-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.bkc-btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    flex: 1;
    min-width: 150px;
}

.bkc-btn-primary {
    background: #2663EB;
    color: white;
}

.bkc-btn-primary:hover:not(:disabled) {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(38, 99, 235, 0.3);
}

.bkc-btn-danger {
    background: #ef4444;
    color: white;
}

.bkc-btn-danger:hover:not(:disabled) {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3);
}

.bkc-btn-success {
    background: #10b981;
    color: white;
}

.bkc-btn-success:hover:not(:disabled) {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

.bkc-btn-secondary {
    background: #f3f4f6;
    color: #374151;
}

.bkc-btn-secondary:hover:not(:disabled) {
    background: #e5e7eb;
}

.bkc-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.bkc-action-disabled {
    padding: 12px 24px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 150px;
}

.bkc-action-disabled span {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

.bkc-action-disabled small {
    color: #9ca3af;
    font-size: 12px;
}

/* Reschedule Section */
.bkc-reschedule-header {
    margin-bottom: 24px;
}

.bkc-reschedule-header h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.bkc-reschedule-limit {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

/* Calendar Styles (cal.com inspired) */
.bkc-calendar-container {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 24px;
    margin-bottom: 24px;
}

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

.bkc-calendar-nav-btn {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #374151;
    font-size: 20px;
    font-weight: 600;
}

.bkc-calendar-nav-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.bkc-calendar-month-year {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.bkc-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.bkc-calendar-weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    padding: 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.bkc-calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    color: #374151;
    background: white;
    border: 1px solid transparent;
}

.bkc-calendar-day:hover:not(.bkc-disabled):not(.bkc-selected) {
    background: #f9fafb;
    border-color: #e5e7eb;
}

.bkc-calendar-day.bkc-disabled {
    color: #d1d5db;
    cursor: not-allowed;
    background: #f9fafb;
}

.bkc-calendar-day.bkc-today {
    background: #eff6ff;
    color: #2663EB;
    font-weight: 600;
}

.bkc-calendar-day.bkc-selected {
    background: #111827;
    color: white;
    font-weight: 600;
    border-color: #111827;
}

/* Time Slots Styles */
.bkc-time-slots-container {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 24px;
    margin-bottom: 24px;
}

.bkc-time-slots-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
}

.bkc-time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
}

.bkc-time-slot {
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.bkc-time-slot:hover:not(.bkc-disabled):not(.bkc-selected) {
    border-color: #111827;
    background: #f9fafb;
}

.bkc-time-slot.bkc-selected {
    background: #111827;
    color: white;
    border-color: #111827;
}

.bkc-time-slot.bkc-disabled {
    color: #d1d5db;
    cursor: not-allowed;
    background: #f9fafb;
    border-color: #e5e7eb;
}

.bkc-time-slots-loading {
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    padding: 40px 20px;
}

.bkc-reschedule-actions {
    display: flex;
    gap: 12px;
}

.bkc-reschedule-actions .bkc-btn {
    flex: 1;
}

/* Loading and Error States */
.bkc-loading,
.bkc-error {
    padding: 40px 20px;
    text-align: center;
}

.bkc-loading p,
.bkc-error p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.bkc-error p {
    color: #ef4444;
}

/* Responsive - Additional Mobile Optimizations */
@media (max-width: 640px) {
    /* Modal - Full screen on mobile */
    .bkc-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }
    
    .bkc-modal-container {
        max-width: 100%;
        margin: 0;
        border-radius: 20px 20px 0 0;
        max-height: 90vh;
        border-bottom: none;
    }
    
    .bkc-modal-header {
        padding: 20px;
        position: sticky;
        top: 0;
        background: white;
        z-index: 1;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .bkc-modal-header h2 {
        font-size: 20px;
    }
    
    .bkc-modal-close {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .bkc-modal-body {
        padding: 20px;
    }
    
    /* Calendar - Mobile */
    .bkc-calendar-container {
        padding: 16px;
    }
    
    .bkc-calendar-header {
        margin-bottom: 16px;
    }
    
    .bkc-calendar-grid {
        gap: 8px;
    }
    
    .bkc-calendar-day {
        min-height: 44px;
        font-size: 14px;
    }
    
    /* Time Slots - Mobile */
    .bkc-time-slots-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .bkc-time-slot {
        padding: 12px 8px;
        font-size: 13px;
        min-height: 44px;
    }
    
    /* Actions - Mobile */
    .bkc-reschedule-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .bkc-appointment-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .bkc-btn {
        width: 100%;
        min-height: 48px;
        font-size: 15px;
        padding: 14px 24px;
    }
    
    /* Info Rows - Mobile */
    .bkc-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 12px 0;
    }
    
    .bkc-info-label {
        font-size: 13px;
    }
    
    .bkc-info-value {
        font-size: 15px;
        text-align: left;
        font-weight: 700;
    }
    
    /* Profile Edit Form - Mobile */
    #bukiraj-dashboard-root .bk-profile-edit-form {
        padding: 0;
    }
    
    #bukiraj-dashboard-root .bkc-form-group {
        margin-bottom: 20px;
    }
    
    #bukiraj-dashboard-root .bkc-form-group > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    #bukiraj-dashboard-root .bkc-form-control {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 14px;
        min-height: 48px;
    }
    
    #bukiraj-dashboard-root .bk-btn-edit {
        min-height: 48px;
        font-size: 15px;
        padding: 14px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    #bukiraj-dashboard-root .bk-main {
        padding: 12px;
    }
    
    #bukiraj-dashboard-root .bk-card {
        padding: 16px;
    }
    
    #bukiraj-dashboard-root .bk-ticket {
        padding: 14px;
    }
    
    #bukiraj-dashboard-root .bk-mobile-header {
        padding: 12px;
    }
    
    .bkc-time-slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* AI Message Styles - Suptilan dizajn koji se uklapa u dashboard */
#bukiraj-dashboard-root .bk-ai-message {
    margin-top: 0;
    margin-bottom: 32px;
    background: var(--bkc-primary-light);
    border: 1px solid var(--bkc-border);
    border-left: 3px solid var(--bkc-primary);
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    display: block !important; /* FORSIRAJ DA BUDE UVEK VIDLJIVO */
    visibility: visible !important;
    opacity: 1 !important;
}

#bukiraj-dashboard-root .bk-ai-message:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
    border-left-color: var(--bkc-primary);
}

#bukiraj-dashboard-root .bk-ai-message-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#bukiraj-dashboard-root .bk-ai-message-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--bkc-primary);
    margin: 0;
}

#bukiraj-dashboard-root .bk-ai-message-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--bkc-dark);
    font-weight: 400;
    margin: 0;
    word-wrap: break-word;
}

#bukiraj-dashboard-root .bk-ai-link {
    color: var(--bkc-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

#bukiraj-dashboard-root .bk-ai-link:hover {
    color: var(--bkc-primary);
    text-decoration: underline;
}

@media (max-width: 768px) {
    /* AI Message Mobile */
    #bukiraj-dashboard-root .bk-ai-message {
        margin-top: 16px !important;
        margin-bottom: 24px !important;
        padding: 16px 20px !important;
        border-radius: 12px !important;
        display: block !important; /* FORSIRAJ DA BUDE UVEK VIDLJIVO NA MOBILNIM */
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    #bukiraj-dashboard-root .bk-ai-message-content {
        gap: 6px;
    }
    
    #bukiraj-dashboard-root .bk-ai-message-label {
        font-size: 10px;
    }
    
    #bukiraj-dashboard-root .bk-ai-message-text {
        font-size: 14px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    #bukiraj-dashboard-root .bk-ai-message {
        padding: 14px 16px;
        margin-top: 12px;
    }
    
    #bukiraj-dashboard-root .bk-ai-message-text {
        font-size: 13px;
    }
}
