        :root {
            --brand-color: #025C6C;
            --brand-color-dark: #013a44;
            --brand-color-light: #e0f2f5;
        }
        html, body {
            max-width: 100%;
            overflow-x: hidden;
        }

        /* Genel buton stilleri */
        .btn-brand {
            background-color: var(--brand-color);
            color: #fff;
            border-radius: 0.5rem;
            transition: background-color 0.2s, transform 0.2s;
        }
        .btn-brand:hover {
            background-color: var(--brand-color-dark);
            transform: translateY(-1px);
        }
        .btn-brand-outline {
            border: 1px solid var(--brand-color);
            color: var(--brand-color);
            border-radius: 0.5rem;
            transition: background-color 0.2s, color 0.2s;
            background-color: transparent;
        }
        .btn-brand-outline:hover {
            background-color: var(--brand-color-light);
        }
        .badge-brand {
            background-color: var(--brand-color-light);
            color: var(--brand-color);
        }
        input:focus, select:focus, textarea:focus {
            border-color: var(--brand-color) !important;
            box-shadow: 0 0 0 1px rgba(2, 92, 108, 0.25);
            outline: none;
        }

        /* Sidebar menü öğesi stili */
        .menu-item {
            cursor: pointer;
            padding: 8px;
            border-radius: 4px;
            transition: background-color 0.15s;
        }
        .active-menu {
            background-color: #ffffff;
            color: #025C6C;
        }
        .menu-item:hover:not(.active-menu) {
             background-color: #ffffff;
             color: #025C6C;
        }
        
        /* Dropdown Çoklu Seçim CSS'i */
        .custom-dropdown {
            position: relative;
            cursor: pointer;
        }
        .dropdown-list {
            position: absolute;
            z-index: 10;
            top: 100%;
            left: 0;
            right: 0;
            max-height: 200px;
            overflow-y: auto;
            border: 1px solid #d1d5db;
            border-top: none;
            border-radius: 0 0 0.5rem 0.5rem;
            background-color: white;
            box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
        }
        .dropdown-item {
            padding: 10px;
            cursor: pointer;
            transition: background-color 0.1s;
        }
        .dropdown-item:hover {
            background-color: #f3f4f6;
        }
        .dropdown-item.selected {
            background-color: #bfdbfe;
            font-weight: 600;
        }

        /* Haftalık Tekrarlama Butonları */
        .day-button {
            transition: all 0.15s;
        }
        .day-button.selected-day {
            background-color: #3b82f6; /* blue-500 */
            color: white;
            font-weight: 600;
        }

        .completion-toast {
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .offer-preview {
            border: 1px solid #e5e7eb;
            border-radius: 16px;
            background: #fff;
            box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.35);
            overflow: hidden;
            width: min(794px, 100%);
            min-height: 1123px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            padding: 10mm 10mm 12mm 10mm;
            box-sizing: border-box;
        }
        .offer-preview-header {
            display: grid;
            grid-template-columns: 1fr 1.6fr;
            gap: 16px;
            padding: 0 0 10px;
            border-bottom: 1px solid #d1d5db;
            margin-bottom: 18px;
            align-items: center;
        }
        .offer-preview-logo {
            display: flex;
            flex-direction: column;
            gap: 6px;
            font-weight: 700;
            color: var(--brand-color);
            font-size: 24px;
            line-height: 1.1;
        }
        .offer-preview-logo img {
            width: 180px;
            height: auto;
        }
        .offer-preview-logo span {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.2em;
            color: #6b7280;
        }
        .offer-preview-contact {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            column-gap: 12px;
            font-size: 11px;
            line-height: 1.2;
            color: #1f2937;
            margin-top: 6px;
        }
        .offer-preview-contact-item {
            gap: 6px;
        }
        .offer-preview-contact-col {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }
        .offer-preview-contact-item {
            gap: 4px;
        }
        .offer-preview-contact-item {
            display: flex;
            gap: 6px;
            align-items: flex-start;
        }
        .offer-preview-contact-icon {
            width: 18px;
            height: 18px;
            border-radius: 999px;
            background: #e5f3f6;
            color: var(--brand-color);
            font-size: 10px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .offer-preview-contact-icon svg {
            width: 10px;
            height: 10px;
            fill: currentColor;
        }
        .offer-preview-contact-icon svg.offer-phone-icon {
            fill: none;
            stroke: currentColor;
            stroke-width: 1.8;
        }
        .offer-preview-body {
            padding: 10px 0 0;
            flex: 1;
        }
        .offer-preview-title {
            display: grid;
            grid-template-columns: 1fr auto;
            align-items: start;
            gap: 16px;
            margin-bottom: 20px;
        }
        .offer-preview-title-left {
            text-align: left;
            max-width: 75%;
        }
        .offer-preview-title-left h3 {
            font-size: 12px;
            font-weight: 700;
            color: #374151;
            margin-bottom: 4px;
        }
        .offer-preview-title-block {
            text-align: right;
        }
        .offer-preview-title h2 {
            font-size: 18px;
            font-weight: 800;
            color: var(--brand-color);
            text-transform: uppercase;
            margin: 0;
        }
        .offer-preview-title span {
            font-size: 11px;
            color: #6b7280;
        }
        .offer-preview-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 12px;
            margin-top: 28px;
        }
        .offer-preview-table thead tr {
            background: #0b5d6d;
        }
        .offer-preview-table thead th {
            background: transparent;
            color: #fff;
            padding: 8px 10px;
            text-align: left;
            font-size: 11px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            position: relative;
            z-index: 1;
        }
        .offer-preview-table thead th:last-child,
        .offer-preview-table tbody td:last-child {
            text-align: right;
        }
        .offer-preview-table thead tr,
        .offer-preview-table tbody tr {
            position: relative;
        }
        .offer-preview-table thead tr::before,
        .offer-preview-table tbody tr::before {
            content: '';
            position: absolute;
            left: -10mm;
            right: -10mm;
            top: 0;
            bottom: 0;
            background: inherit;
            z-index: 0;
        }
        .offer-preview-table tbody td {
            padding: 10px;
            vertical-align: top;
            border-bottom: 1px solid #e5e7eb;
            color: #111827;
            background: transparent;
            position: relative;
            z-index: 1;
        }
        .offer-preview-table tbody td:nth-child(2),
        .offer-preview-table tbody td:nth-child(3),
        .offer-preview-table tbody td:nth-child(4) {
            font-weight: 700;
        }
        .offer-preview-table tbody td:nth-child(4) {
            font-size: 12.5px;
        }
        .offer-preview-table tbody tr:nth-child(odd) {
            background: #ECECED;
        }
        .offer-preview-table tbody tr:nth-child(even) {
            background: #D8D9DA;
        }
        .offer-preview-service-title {
            font-weight: 800;
            font-size: 13px;
            text-transform: uppercase;
        }
        .offer-preview-service-desc {
            font-size: 12px;
            font-weight: 600;
            color: #4b5563;
            margin-top: 4px;
            white-space: pre-line;
        }
        .offer-preview-client-name {
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            display: block;
            max-width: 75%;
            overflow-wrap: break-word;
        }
        .offer-preview-summary {
            display: flex;
            justify-content: flex-end;
            margin-top: 18px;
        }
        .offer-preview-summary table {
            width: auto;
            font-size: 13px;
        }
        .offer-preview-summary td {
            padding: 4px 6px;
            text-align: right;
        }
        .offer-preview-summary td:first-child {
            padding-right: 16px;
            color: #6b7280;
            font-weight: 600;
        }
        .offer-preview-summary td:last-child {
            min-width: 120px;
        }
        .offer-preview-total {
            color: #fff;
            font-weight: 700;
        }
        .offer-preview-total td {
            color: #fff;
        }
        .offer-preview-total td:first-child {
            color: #fff;
        }
        .offer-preview-total td {
            background: #0b5d6d;
        }
        .offer-preview-description {
            margin-top: 10px;
            max-width: 60%;
        }
        .offer-preview-description h4 {
            font-size: 10px;
            font-weight: 500;
            color: #374151;
            margin-bottom: 4px;
            text-transform: uppercase;
            letter-spacing: 0.06em;
        }
        .offer-preview-description p {
            font-size: 11.5px;
            font-weight: 400;
            color: #111827;
            margin: 0;
            white-space: pre-line;
        }
        .offer-preview-footer {
            border-top: 1px solid #d1d5db;
            padding: 10px 0 0;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 12px;
        }
        .offer-preview-note {
            font-size: 10px;
            color: #4b5563;
            max-width: 65%;
            line-height: 1.4;
            margin-top: 10px;
        }
        .offer-preview-footer-logo {
            font-weight: 700;
            color: #9ca3af;
            font-size: 20px;
            text-align: right;
        }
        .offer-preview-footer-logo img {
            width: 150px;
            height: auto;
            display: block;
            margin-top: -4px;
            filter: grayscale(100%);
        }

        @media print {
            @page {
                size: A4;
                margin: 0;
            }
            html, body {
                margin: 0;
                padding: 0;
                background: #fff;
                -webkit-print-color-adjust: exact;
                print-color-adjust: exact;
                overflow: hidden;
            }
            body.print-offer #mainApp {
                display: none !important;
            }
            body.print-offer #printOfferContainer,
            body.print-offer #printOfferContainer * {
                visibility: visible;
            }
            body.print-offer #printOfferContainer {
                position: absolute;
                left: 0;
                top: 0;
                margin: 0;
                width: 210mm;
                min-height: 297mm;
                box-sizing: border-box;
                background: #fff;
            }
            body.print-offer::-webkit-scrollbar,
            body.print-offer *::-webkit-scrollbar {
                display: none;
            }
            body.print-offer .offer-preview-header {
                display: grid;
                grid-template-columns: 1fr 1.6fr;
            }
            body.print-offer .offer-preview-contact {
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
            body.print-offer .offer-preview-footer {
                flex-direction: row;
                align-items: flex-start;
            }
            body.print-offer .offer-preview-note {
                max-width: 65%;
            }
            body.print-offer .offer-preview-summary {
                justify-content: flex-end;
                width: 100%;
            }
        }
        @media (max-width: 768px) {
            .offer-preview-header {
                grid-template-columns: 1fr;
            }
            .offer-preview-contact {
                grid-template-columns: 1fr;
            }
            .offer-preview-summary {
                justify-content: flex-start;
            }
            .offer-preview-note {
                max-width: 100%;
            }
            .offer-preview-footer {
                flex-direction: column;
                align-items: flex-start;
            }
        }

        .confetti-burst {
            position: absolute;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            opacity: 0;
            animation: confettiBurst 0.8s ease-out forwards;
        }
        #upcomingEventTooltip {
            pointer-events: none;
        }
        #upcomingEventTooltip::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 22px;
            border-width: 8px 8px 0 8px;
            border-style: solid;
            border-color: #025C6C transparent transparent transparent;
        }

        @keyframes confettiBurst {
            0% {
                transform: scale(0.5);
                opacity: 1;
            }
            100% {
                transform: translate(var(--tx), var(--ty)) scale(0.8);
                opacity: 0;
            }
        }

        .brand-weekly-table {
            width: 100%;
            table-layout: fixed;
        }
        .brand-weekly-table {
            width: 100%;
            table-layout: fixed;
        }
        .brand-weekly-table th,
        .brand-weekly-table td {
            white-space: normal;
            word-break: break-word;
        }
        .brand-weekly-table .week-column {
            width: 110px;
            max-width: 110px;
            font-size: 0.7rem;
            line-height: 1.2;
        }
        .brand-weekly-table th {
            font-size: 0.6rem;
        }
        .brand-weekly-table .brand-header {
            white-space: normal;
            line-height: 1.05;
            font-size: 0.55rem;
        }
        @media (min-width: 768px) {
            .brand-weekly-table th {
                font-size: 0.7rem;
            }
            .brand-weekly-table .brand-header {
                font-size: 0.65rem;
            }
        }
        @media (max-width: 640px) {
            .brand-weekly-table th {
                font-size: 0.55rem;
            }
            .brand-weekly-table .brand-header {
                font-size: 0.5rem;
            }
        }
        .calendar-grid .day-cell {
            border: 1px solid #e5e7eb;
            border-radius: 0.45rem;
            padding: 0.45rem;
            min-height: 95px;
            display: flex;
            flex-direction: column;
            background-color: #fff;
            transition: box-shadow 0.2s, transform 0.2s;
        }
        .calendar-grid .day-cell:hover {
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            transform: translateY(-2px);
        }
        .calendar-grid .day-cell.inactive {
            background-color: #f9fafb;
            color: #9ca3af;
        }
        .calendar-grid .day-number {
            font-weight: 600;
            margin-bottom: 0.35rem;
        }
        .calendar-grid .note-pill {
            background-color: #dbeafe;
            color: #1d4ed8;
            border-radius: 9999px;
            padding: 2px 8px;
            font-size: 0.7rem;
            margin-bottom: 4px;
            display: inline-flex;
            align-items: center;
            max-width: 100%;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .calendar-grid .note-more {
            font-size: 0.65rem;
            color: #6b7280;
            margin-top: auto;
        }
        .calendar-grid .special-day-badge {
            margin-top: 0.2rem;
            font-size: 0.65rem;
            font-weight: 600;
            color: #b45309;
            background-color: #fef3c7;
            border-radius: 9999px;
            padding: 2px 6px;
            max-width: 100%;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        @media (max-width: 1280px) {
            .calendar-grid .day-cell {
                min-height: 85px;
                padding: 0.4rem;
            }
        }
        @media (max-width: 1024px) {
            .calendar-grid .day-cell {
                min-height: 75px;
            }
        }
