/**
 * Rezer Dashboard Styles
 * Modern admin dashboard design
 */

:root {
    --rezer-orange: #ff6000;
    --rezer-orange-dark: #e55500;
    --rezer-orange-light: #ff7a26;
    --rezer-dark: #0a0a0a;
    --rezer-gray: #52525b;
    --rezer-light-gray: #f4f4f5;
    --rezer-white: #ffffff;
    --rezer-border: #e4e4e7;
    --sidebar-width: 280px;
}

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

.rezer-dashboard-wrapper {
    min-height: 100vh;
    background: var(--rezer-light-gray);
}

.dashboard-container {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    min-height: 100vh;
}

/* Sidebar */
.dashboard-sidebar {
    background: white;
    border-right: 1px solid var(--rezer-border);
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--rezer-border);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--rezer-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.user-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--rezer-dark);
    margin-bottom: 0.25rem;
}

.user-info p {
    font-size: 0.875rem;
    color: var(--rezer-gray);
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    color: var(--rezer-gray);
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background: var(--rezer-light-gray);
    color: var(--rezer-orange);
}

.nav-item.active {
    background: rgba(255, 96, 0, 0.1);
    color: var(--rezer-orange);
    border-left-color: var(--rezer-orange);
}

.nav-item svg {
    flex-shrink: 0;
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--rezer-border);
}

.btn-logout {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem;
    background: var(--rezer-light-gray);
    border: 1px solid var(--rezer-border);
    border-radius: 8px;
    color: var(--rezer-gray);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9375rem;
    font-weight: 500;
}

.btn-logout:hover {
    background: #fee;
    border-color: #fcc;
    color: #c33;
}

/* Main Content */
.dashboard-main {
    padding: 2rem;
    overflow-y: auto;
}

.dashboard-header {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.company-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.company-logo {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--rezer-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-details h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--rezer-dark);
    margin-bottom: 0.25rem;
}

.company-details p {
    font-size: 0.9375rem;
    color: var(--rezer-gray);
}

/* Tab Content */
.tab-content {
    display: none;
}

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

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.content-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--rezer-dark);
}

/* Appointment Filters */
.appointment-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.625rem 1.25rem;
    background: white;
    border: 1px solid var(--rezer-border);
    border-radius: 8px;
    color: var(--rezer-gray);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9375rem;
    font-weight: 500;
}

.filter-btn:hover {
    border-color: var(--rezer-orange);
    color: var(--rezer-orange);
}

.filter-btn.active {
    background: var(--rezer-orange);
    border-color: var(--rezer-orange);
    color: white;
}

/* Appointments List */
.appointments-list,
.customers-list,
.services-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.appointment-card,
.customer-card,
.service-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.appointment-info,
.customer-info,
.service-info {
    flex: 1;
}

.appointment-info h3,
.customer-info h3,
.service-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--rezer-dark);
    margin-bottom: 0.5rem;
}

.appointment-meta,
.customer-meta,
.service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9375rem;
    color: var(--rezer-gray);
}

.appointment-meta span,
.customer-meta span,
.service-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.appointment-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.btn-action {
    padding: 0.625rem 1rem;
    background: var(--rezer-orange);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-action:hover {
    background: var(--rezer-orange-dark);
}

.btn-action.secondary {
    background: var(--rezer-light-gray);
    color: var(--rezer-gray);
}

.btn-action.secondary:hover {
    background: var(--rezer-border);
}

/* Loading State */
.loading {
    text-align: center;
    padding: 3rem;
    color: var(--rezer-gray);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
}

.empty-state h3 {
    font-size: 1.25rem;
    color: var(--rezer-dark);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--rezer-gray);
}

/* Calendar */
.calendar-wrapper {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    min-height: 600px;
}

/* Customers */
.customers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.customer-card {
    background: white;
    border: 1px solid var(--rezer-border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.2s;
}

.customer-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--rezer-orange);
}

.customer-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--rezer-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

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

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rezer-gray);
}

.customer-info {
    text-align: center;
}

.customer-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--rezer-dark);
    margin-bottom: 0.75rem;
}

.customer-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.customer-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--rezer-gray);
}

.customer-contact a {
    color: var(--rezer-gray);
    text-decoration: none;
    transition: color 0.2s;
}

.customer-contact a:hover {
    color: var(--rezer-orange);
}

.customer-contact svg {
    flex-shrink: 0;
}

.customer-notes {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--rezer-light-gray);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--rezer-gray);
    text-align: left;
    margin-top: 0.5rem;
}

.customer-notes svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.customer-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.customer-actions .btn-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
}

/* Workers */
.workers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.worker-card {
    background: white;
    border: 1px solid var(--rezer-border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.2s;
}

.worker-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--rezer-orange);
}

.worker-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.worker-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--rezer-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.worker-title {
    flex: 1;
}

.worker-title h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--rezer-dark);
    margin-bottom: 0.25rem;
}

.worker-role {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 96, 0, 0.1);
    color: var(--rezer-orange);
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.worker-bio {
    padding: 0.75rem;
    background: var(--rezer-light-gray);
    border-radius: 8px;
    font-size: 0.9375rem;
    color: var(--rezer-gray);
    line-height: 1.6;
}

.worker-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.worker-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--rezer-gray);
}

.worker-contact a {
    color: var(--rezer-gray);
    text-decoration: none;
    transition: color 0.2s;
}

.worker-contact a:hover {
    color: var(--rezer-orange);
}

.worker-contact svg {
    flex-shrink: 0;
}

.worker-notes {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #fffbf5;
    border: 1px solid #ffe4c4;
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--rezer-gray);
}

.worker-notes svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: var(--rezer-orange);
}

.worker-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.worker-actions .btn-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Services */
.services-category {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--rezer-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--rezer-border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: white;
    border: 1px solid var(--rezer-border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.2s;
}

.service-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--rezer-orange);
}

.service-card.service-hidden {
    opacity: 0.6;
    background: var(--rezer-light-gray);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.service-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--rezer-dark);
    flex: 1;
}

.service-status {
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
}

.status-active {
    background: rgba(0, 126, 101, 0.1);
    color: #007E65;
}

.status-inactive {
    background: rgba(139, 139, 139, 0.1);
    color: var(--rezer-gray);
}

.service-description {
    font-size: 0.9375rem;
    color: var(--rezer-gray);
    line-height: 1.6;
    margin-top: -0.5rem;
}

.service-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--rezer-gray);
}

.service-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-meta svg {
    flex-shrink: 0;
}

.discount-badge {
    padding: 0.25rem 0.5rem;
    background: rgba(255, 96, 0, 0.1);
    color: var(--rezer-orange);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 96, 0, 0.1);
    color: var(--rezer-orange);
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    width: fit-content;
}

.service-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.service-actions .btn-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border: 1px solid var(--rezer-border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s;
}

.stat-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.stat-clickable {
    cursor: pointer;
    transition: all 0.3s;
}

.stat-clickable:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.stat-clickable:active {
    transform: translateY(-2px);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-pending .stat-icon {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.stat-approved .stat-icon {
    background: rgba(0, 126, 101, 0.1);
    color: #007E65;
}

.stat-completed .stat-icon {
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
}

.stat-revenue .stat-icon {
    background: rgba(255, 96, 0, 0.1);
    color: var(--rezer-orange);
}

.stat-info {
    flex: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--rezer-gray);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--rezer-dark);
    line-height: 1;
}

/* Dashboard Charts */
.dashboard-charts {
    margin-bottom: 2rem;
}

.chart-card {
    background: white;
    border: 1px solid var(--rezer-border);
    border-radius: 12px;
    padding: 1.5rem;
}

.chart-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--rezer-dark);
    margin-bottom: 1.5rem;
}

.chart-container {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 1rem;
}

/* Line Chart Styles */
.line-chart {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.chart-point {
    cursor: pointer;
    transition: all 0.2s;
}

.chart-point:hover circle:first-child {
    r: 8;
    filter: drop-shadow(0 2px 8px rgba(255, 96, 0, 0.4));
}

.chart-tooltip {
    position: absolute;
    display: none;
    background: var(--rezer-dark);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    z-index: 100;
    min-width: 120px;
}

.chart-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--rezer-dark);
}

.tooltip-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
}

.tooltip-count {
    font-size: 0.9375rem;
    font-weight: 600;
    color: white;
}

.tooltip-revenue {
    font-size: 0.875rem;
    color: var(--rezer-orange-light);
    font-weight: 500;
}

/* Chart Bars */
.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    height: 280px;
    padding: 1rem 0;
}

.chart-bar-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.chart-bar {
    width: 100%;
    background: linear-gradient(180deg, var(--rezer-orange) 0%, var(--rezer-orange-light) 100%);
    border-radius: 8px 8px 0 0;
    transition: all 0.3s;
    position: relative;
    cursor: pointer;
}

.chart-bar:hover {
    opacity: 0.8;
    transform: scaleY(1.02);
}

.chart-bar-value {
    position: absolute;
    top: -1.75rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rezer-dark);
    white-space: nowrap;
}

.chart-bar-label {
    font-size: 0.8125rem;
    color: var(--rezer-gray);
    text-align: center;
}

/* Dashboard Recent */
.dashboard-recent {
    background: white;
    border: 1px solid var(--rezer-border);
    border-radius: 12px;
    padding: 1.5rem;
}

.recent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.recent-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--rezer-dark);
}

.view-all-link {
    color: var(--rezer-orange);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
}

.view-all-link:hover {
    color: var(--rezer-orange-dark);
}

.recent-appointments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Calendar */
.calendar-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.calendar-nav-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--rezer-border);
    border-radius: 8px;
    background: white;
    color: var(--rezer-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.calendar-nav-btn:hover {
    border-color: var(--rezer-orange);
    color: var(--rezer-orange);
}

.calendar-date-input {
    padding: 0.625rem 1rem;
    border: 1px solid var(--rezer-border);
    border-radius: 8px;
    font-size: 0.9375rem;
    color: var(--rezer-dark);
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.calendar-date-input:hover,
.calendar-date-input:focus {
    border-color: var(--rezer-orange);
    outline: none;
}

.calendar-grid-header {
    margin-bottom: 2rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--rezer-orange) 0%, var(--rezer-orange-light) 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(255, 96, 0, 0.15);
}

.calendar-grid-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-transform: capitalize;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.calendar-grid-header h3::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 32px;
    background: white;
    border-radius: 3px;
    opacity: 0.6;
}

.calendar-grid {
    display: flex;
    gap: 0;
    overflow-x: auto;
    background: white;
    border: 1px solid var(--rezer-border);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.calendar-grid::-webkit-scrollbar {
    height: 10px;
}

.calendar-grid::-webkit-scrollbar-track {
    background: var(--rezer-light-gray);
    border-radius: 0 0 12px 12px;
}

.calendar-grid::-webkit-scrollbar-thumb {
    background: var(--rezer-border);
    border-radius: 5px;
}

.calendar-grid::-webkit-scrollbar-thumb:hover {
    background: var(--rezer-gray);
}

.calendar-time-column,
.calendar-worker-column {
    flex-shrink: 0;
    min-width: 100px;
}

.calendar-time-column {
    border-right: 2px solid var(--rezer-border);
    background: var(--rezer-light-gray);
    min-width: 80px;
}

.calendar-worker-column {
    min-width: 200px;
    border-right: 1px solid var(--rezer-border);
}

.calendar-worker-column:last-child {
    border-right: none;
}

.calendar-time-header,
.calendar-worker-header {
    padding: 1.25rem 1rem;
    font-weight: 600;
    color: var(--rezer-dark);
    border-bottom: 2px solid var(--rezer-border);
    text-align: center;
    background: linear-gradient(180deg, #fafafa 0%, var(--rezer-light-gray) 100%);
    position: sticky;
    top: 0;
    z-index: 10;
    font-size: 0.9375rem;
}

.calendar-worker-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.calendar-worker-header::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--rezer-orange);
    border-radius: 50%;
    display: inline-block;
}

.calendar-time-slot {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid var(--rezer-border);
    text-align: center;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    min-height: 120px;
}

.time-range {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
}

.time-start {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--rezer-dark);
}

.time-separator {
    font-size: 0.625rem;
    color: var(--rezer-gray);
    opacity: 0.5;
}

.time-end {
    font-size: 0.8125rem;
    color: var(--rezer-gray);
    font-weight: 500;
}

.calendar-slot {
    padding: 0.75rem;
    border-bottom: 1px solid var(--rezer-border);
    height: 120px;
    min-height: 120px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    transition: all 0.2s;
}

.calendar-slot.available {
    background: white;
    cursor: pointer;
}

.calendar-slot.available:hover {
    background: rgba(255, 96, 0, 0.04);
    border-color: rgba(255, 96, 0, 0.2);
}

.calendar-slot.has-appointment {
    background: white;
    padding: 0.5rem;
}

.calendar-slot.occupied {
    background: white;
    padding: 0;
    height: 120px;
    min-height: 120px;
    border-bottom: 1px solid transparent;
}

.slot-available {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--rezer-gray);
    opacity: 0.4;
    transition: all 0.2s;
}

.slot-available svg {
    opacity: 0.5;
}

.calendar-slot.available:hover .slot-available {
    opacity: 0.7;
    color: var(--rezer-orange);
}

.calendar-slot.available:hover .slot-available svg {
    opacity: 1;
}

.slot-appointment {
    width: 100%;
    padding: 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.slot-appointment::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    transition: width 0.2s;
}

.slot-appointment:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slot-appointment:hover::before {
    width: 6px;
}

.appointment-status-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.25rem;
}

.appointment-customer {
    font-size: 0.9375rem;
    color: var(--rezer-dark);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.125rem;
}

.appointment-service {
    font-size: 0.8125rem;
    color: var(--rezer-gray);
    line-height: 1.3;
    margin-bottom: 0.375rem;
}

.appointment-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.75rem;
    align-items: center;
}

.appointment-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    font-weight: 500;
}

.appointment-time {
    color: var(--rezer-dark);
}

.appointment-duration {
    color: var(--rezer-orange);
}

.appointment-price {
    color: var(--rezer-dark);
    font-weight: 600;
}

.slot-appointment.pending {
    background: linear-gradient(135deg, rgba(246, 149, 52, 0.12) 0%, rgba(246, 149, 52, 0.06) 100%);
}

.slot-appointment.pending::before {
    background: #F69534;
}

.slot-appointment.pending .appointment-status-badge {
    background: rgba(246, 149, 52, 0.2);
    color: #d97a1f;
}

.slot-appointment.approved {
    background: linear-gradient(135deg, rgba(0, 126, 101, 0.12) 0%, rgba(0, 126, 101, 0.06) 100%);
}

.slot-appointment.approved::before {
    background: #007E65;
}

.slot-appointment.approved .appointment-status-badge {
    background: rgba(0, 126, 101, 0.2);
    color: #005a47;
}

.slot-appointment.completed {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.06) 100%);
}

.slot-appointment.completed::before {
    background: #10B981;
}

.slot-appointment.completed .appointment-status-badge {
    background: rgba(16, 185, 129, 0.2);
    color: #0a845c;
}

.slot-appointment.cancelled {
    background: linear-gradient(135deg, rgba(139, 139, 139, 0.12) 0%, rgba(139, 139, 139, 0.06) 100%);
    opacity: 0.7;
}

.slot-appointment.cancelled::before {
    background: #8B8B8B;
}

.slot-appointment.cancelled .appointment-status-badge {
    background: rgba(139, 139, 139, 0.2);
    color: #606060;
}

.calendar-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--rezer-border);
}

.calendar-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--rezer-dark);
    margin-bottom: 0.5rem;
}

.calendar-date {
    font-size: 1rem;
    color: var(--rezer-gray);
    text-transform: capitalize;
}

.calendar-worker-section {
    margin-bottom: 2.5rem;
}

.calendar-worker-name {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--rezer-dark);
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: var(--rezer-light-gray);
    border-radius: 8px;
}

.calendar-worker-name svg {
    color: var(--rezer-orange);
}

.calendar-appointments {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calendar-appointment-card {
    background: white;
    border: 1px solid var(--rezer-border);
    border-radius: 10px;
    padding: 1.25rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    transition: all 0.2s;
}

.calendar-appointment-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateX(4px);
}

.calendar-appointment-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--rezer-dark);
    white-space: nowrap;
}

.calendar-appointment-time svg {
    color: var(--rezer-orange);
}

.calendar-appointment-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.calendar-appointment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.calendar-appointment-header strong {
    font-size: 1.0625rem;
    color: var(--rezer-dark);
}

.calendar-appointment-status {
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.calendar-appointment-services {
    font-size: 0.9375rem;
    color: var(--rezer-gray);
    margin: 0;
}

.calendar-appointment-note {
    font-size: 0.875rem;
    color: var(--rezer-gray);
    font-style: italic;
    margin: 0;
    padding: 0.5rem 0.75rem;
    background: var(--rezer-light-gray);
    border-radius: 6px;
}

/* Payments */
.payment-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-select {
    padding: 0.625rem 1rem;
    border: 1px solid var(--rezer-border);
    border-radius: 8px;
    font-size: 0.9375rem;
    color: var(--rezer-dark);
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 160px;
}

.filter-select:hover {
    border-color: var(--rezer-orange);
}

.filter-select:focus {
    outline: none;
    border-color: var(--rezer-orange);
    box-shadow: 0 0 0 3px rgba(255, 96, 0, 0.1);
}

.payment-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.summary-card {
    background: white;
    border: 1px solid var(--rezer-border);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.summary-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.summary-info {
    flex: 1;
}

.summary-label {
    font-size: 0.875rem;
    color: var(--rezer-gray);
    margin-bottom: 0.375rem;
}

.summary-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--rezer-dark);
    line-height: 1;
}

.payments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-card {
    background: white;
    border: 1px solid var(--rezer-border);
    border-radius: 12px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: center;
    transition: all 0.2s;
}

.payment-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--rezer-orange);
}

.payment-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.payment-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--rezer-dark);
    margin: 0;
}

.payment-status {
    padding: 0.375rem 0.875rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: capitalize;
}

.payment-status.bekliyor {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.payment-status.onaylandi {
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
}

.payment-status.bitti {
    background: rgba(156, 39, 176, 0.1);
    color: #9c27b0;
}

.payment-status.odendi {
    background: rgba(0, 126, 101, 0.1);
    color: #007E65;
}

.payment-status.iptal {
    background: rgba(139, 139, 139, 0.1);
    color: var(--rezer-gray);
}

.payment-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9375rem;
    color: var(--rezer-gray);
}

.payment-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-meta-item svg {
    flex-shrink: 0;
    color: var(--rezer-orange);
}

.payment-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.payment-total {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--rezer-orange);
}

.payment-date {
    font-size: 0.875rem;
    color: var(--rezer-gray);
}

/* Responsive */
@media (max-width: 1024px) {
    :root {
        --sidebar-width: 240px;
    }

    .dashboard-main {
        padding: 1.5rem;
    }
}

/* Appointment Detail Modal */
.appointment-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: modalFadeIn 0.3s ease;
}

.appointment-modal.active {
    display: flex;
}

.appointment-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: overlayFadeIn 0.3s ease;
}

.appointment-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.3s ease;
    display: flex;
    flex-direction: column;
}

.appointment-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--rezer-light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--rezer-gray);
    z-index: 10;
}

.appointment-modal-close:hover {
    background: var(--rezer-orange);
    color: white;
    transform: rotate(90deg);
}

.appointment-modal-header {
    padding: 2rem 3rem 1.5rem 2rem;
    border-bottom: 1px solid var(--rezer-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.appointment-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--rezer-dark);
    margin: 0;
}

.modal-status-badge {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.modal-status-badge.pending {
    background: rgba(246, 149, 52, 0.15);
    color: #F69534;
}

.modal-status-badge.approved {
    background: rgba(0, 126, 101, 0.15);
    color: #007E65;
}

.modal-status-badge.cancelled {
    background: rgba(139, 139, 139, 0.15);
    color: #8B8B8B;
}

.appointment-modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.modal-section {
    margin-bottom: 2rem;
}

.modal-section:last-child {
    margin-bottom: 0;
}

.modal-section h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rezer-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.modal-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modal-info-item.full-width {
    grid-column: 1 / -1;
}

.modal-info-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--rezer-gray);
}

.modal-info-label svg {
    width: 16px;
    height: 16px;
    color: var(--rezer-orange);
    flex-shrink: 0;
}

.modal-info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--rezer-dark);
}

.modal-info-value.secondary {
    font-weight: 500;
    color: var(--rezer-gray);
}

.modal-section-divider {
    height: 1px;
    background: var(--rezer-border);
    margin: 1.5rem 0;
}

.modal-address-box,
.modal-note-box {
    padding: 1rem;
    background: var(--rezer-light-gray);
    border-radius: 10px;
    border-left: 3px solid var(--rezer-orange);
}

.modal-address-box p,
.modal-note-box p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--rezer-gray);
    line-height: 1.6;
}

.appointment-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--rezer-border);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.modal-btn {
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-btn.btn-secondary {
    background: var(--rezer-light-gray);
    color: var(--rezer-gray);
}

.modal-btn.btn-secondary:hover {
    background: var(--rezer-border);
}

.modal-btn.btn-primary {
    background: var(--rezer-orange);
    color: white;
}

.modal-btn.btn-primary:hover {
    background: var(--rezer-orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 96, 0, 0.3);
}

.modal-btn.btn-danger {
    background: #dc3545;
    color: white;
}

.modal-btn.btn-danger:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Create Appointment Modal Form Styles */
.modal-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rezer-dark);
    margin-bottom: 0.5rem;
}

.modal-form-input,
.modal-form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--rezer-border);
    border-radius: 8px;
    font-size: 0.9375rem;
    font-family: inherit;
    transition: all 0.2s;
    background: white;
}

.modal-form-input:focus,
.modal-form-textarea:focus {
    outline: none;
    border-color: var(--rezer-orange);
    box-shadow: 0 0 0 3px rgba(255, 96, 0, 0.1);
}

.modal-form-textarea {
    resize: vertical;
    min-height: 80px;
}

/* Toggle Buttons */
.customer-select-toggle,
.service-select-toggle {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem;
    background: var(--rezer-light-gray);
    border-radius: 10px;
}

.toggle-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background: transparent;
}

.toggle-option input[type="radio"] {
    display: none;
}

.toggle-option span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--rezer-gray);
}

.toggle-option input[type="radio"]:checked + span {
    color: white;
}

.toggle-option:has(input[type="radio"]:checked) {
    background: var(--rezer-orange);
    box-shadow: 0 2px 8px rgba(255, 96, 0, 0.2);
}

/* Search Results */
.search-results {
    position: relative;
    margin-top: 0.5rem;
    max-height: 250px;
    overflow-y: auto;
    background: white;
    border: 1px solid var(--rezer-border);
    border-radius: 8px;
    display: none;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 0.875rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid var(--rezer-border);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(255, 96, 0, 0.05);
}

.search-result-item svg {
    color: var(--rezer-orange);
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    font-weight: 600;
    color: var(--rezer-dark);
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.search-result-phone {
    font-size: 0.875rem;
    color: var(--rezer-gray);
}

.search-results-empty {
    padding: 1.5rem;
    text-align: center;
    color: var(--rezer-gray);
    font-size: 0.9375rem;
}

/* Selected Customer Badge */
.selected-customer {
    margin-top: 1rem;
}

.customer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 96, 0, 0.1);
    border: 1px solid rgba(255, 96, 0, 0.3);
    border-radius: 8px;
    color: var(--rezer-dark);
    font-weight: 600;
}

.customer-badge svg {
    color: var(--rezer-orange);
}

.remove-customer {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: var(--rezer-orange);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    line-height: 1;
    transition: all 0.2s;
    margin-left: 0.5rem;
}

.remove-customer:hover {
    background: var(--rezer-orange-dark);
    transform: rotate(90deg);
}

/* Modal Animations */
@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes overlayFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-container {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        bottom: 0;
        width: 280px;
        z-index: 1000;
        transition: left 0.3s;
    }

    .dashboard-sidebar.open {
        left: 0;
    }

    .dashboard-main {
        padding: 1rem;
    }

    .content-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .appointment-card,
    .customer-card,
    .service-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .appointment-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    /* Calendar responsive */
    .calendar-grid-header {
        padding: 1rem 1.5rem;
    }

    .calendar-grid-header h3 {
        font-size: 1.125rem;
    }

    .calendar-grid-header h3::before {
        width: 4px;
        height: 24px;
    }

    .calendar-time-column {
        min-width: 70px;
    }

    .calendar-worker-column {
        min-width: 180px;
    }

    .time-start {
        font-size: 0.875rem;
    }

    .time-end {
        font-size: 0.75rem;
    }

    .appointment-customer {
        font-size: 0.875rem;
    }

    .appointment-service {
        font-size: 0.75rem;
    }

    .appointment-meta {
        font-size: 0.6875rem;
    }

    /* Modal responsive */
    .appointment-modal {
        padding: 0.5rem;
    }

    .appointment-modal-content {
        max-height: 95vh;
    }

    .appointment-modal-header {
        padding: 1.5rem 3rem 1rem 1.5rem;
    }

    .appointment-modal-header h2 {
        font-size: 1.25rem;
    }

    .appointment-modal-close {
        top: 1rem;
        right: 1rem;
        width: 32px;
        height: 32px;
    }

    .appointment-modal-body {
        padding: 1.5rem;
    }

    .modal-info-grid {
        grid-template-columns: 1fr;
    }

    .appointment-modal-footer {
        padding: 1rem 1.5rem;
        flex-direction: column-reverse;
    }

    .modal-btn {
        width: 100%;
        justify-content: center;
    }
}
/* ====================
   MODERN APPOINTMENT MODAL STYLES
   ==================== */

/* Modal Header Updates */
.modal-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--rezer-gray);
    font-size: 0.95rem;
    margin: 0;
    font-weight: 400;
}

/* Summary Card */
.modal-summary-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-datetime-full {
    grid-column: 1 / -1;
}

.summary-card-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--rezer-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.2s;
}

.summary-card-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.summary-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.summary-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
}

.summary-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--rezer-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.summary-info strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--rezer-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Info Cards */
.modal-info-card {
    background: white;
    border: 1px solid var(--rezer-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.2s;
}

.modal-info-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(to right, #fafafa, #ffffff);
    border-bottom: 1px solid var(--rezer-border);
}

.info-card-header svg {
    color: var(--rezer-orange);
    flex-shrink: 0;
}

.info-card-header h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--rezer-dark);
    margin: 0;
    text-transform: none;
    letter-spacing: normal;
}

.info-card-content {
    padding: 1.25rem;
}

/* Service Name Styling */
.service-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--rezer-dark);
}

/* Person Info Styling */
.person-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.person-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--rezer-dark);
}

.person-phone {
    font-size: 0.95rem;
    color: var(--rezer-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.person-phone::before {
    content: '📞';
    font-size: 0.875rem;
}

/* Payment Info */
.payment-info {
    font-size: 1rem;
    font-weight: 500;
    color: var(--rezer-dark);
}

/* Address Text */
.address-text {
    font-size: 0.95rem;
    color: var(--rezer-gray);
    line-height: 1.6;
}

/* Note Text */
.note-text {
    font-size: 0.95rem;
    color: var(--rezer-gray);
    line-height: 1.6;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 3px solid var(--rezer-orange);
}

.state-note-card .note-text {
    background: #fff3e0;
    border-left-color: #ff9800;
}

/* Cards Row (for side-by-side cards) */
.modal-cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .modal-summary-card {
        grid-template-columns: 1fr;
    }

    .summary-card-item {
        padding: 1rem;
    }

    .summary-icon {
        width: 40px;
        height: 40px;
    }

    .summary-info strong {
        font-size: 1rem;
    }

    .modal-cards-row {
        grid-template-columns: 1fr;
    }

    .info-card-content {
        padding: 1rem;
    }
}
