@media (max-width: 1366px) {
    body {
        transform: scale(0.75);
        transform-origin: top left;
        width: 133.33%;
    }
}

.daterangepicker .ranges li.active, .daterangepicker .drp-calendar td.active{
    background-color: #4a3795 !important;
    color: #fff !important;
}

.daterangepicker .drp-calendar td.in-range.available:not(.active):not(.off):not(.today) {
    background-color: #d6c9f7 !important;
    color: #4a3795 !important;
    border-radius: 0 !important;
}
.daterangepicker .drp-calendar td.today, .daterangepicker .drp-calendar td.today.active {
    background-color: #4a3795 !important;
    color: #fff !important;
    border-radius: 50% !important;
}

/* PRELOADER YENİ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#loader {
    z-index: 9999;
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #3f41ce;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

#loader:before {
    z-index: 9999;
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #5572d3;
    -webkit-animation: spin 3s linear infinite;
    animation: spin 3s linear infinite;
}

#loader:after {
    z-index: 9999;
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #006fff;
    -webkit-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.menu-link.active {
    background-color: #4a3795 !important;
    color: #fff !important;
}

.menu-link.active .menu-icon .text-info,
.menu-link.active .menu-title {
    color: #fff !important;
}

.checkbox-container {
    display: flex;
    gap: 20px;
    align-items: center;
}

.ios-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    --checkbox-size: 22px;
    --checkbox-color: #3b82f6;
    --checkbox-bg: #dbeafe;
    --checkbox-border: #93c5fd;
    position: relative;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.checkbox-label {
    font-size: 13px;
    color: #333;
    white-space: nowrap;
    font-weight: 600;
}

.ios-checkbox input {
    display: none;
}

.checkbox-wrapper {
    position: relative;
    width: var(--checkbox-size);
    height: var(--checkbox-size);
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.checkbox-bg {
    position: absolute;
    inset: 0;
    border-radius: 8px;
    border: 2px solid var(--checkbox-border);
    transition: all 0.2s ease;
}

.checkbox-icon {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 80%;
    height: 80%;
    color: white;
    transform: scale(0);
    transition: all 0.2s ease;
}

.check-path {
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    transition: stroke-dashoffset 0.3s ease 0.1s;
}

/* Checked State */
.ios-checkbox input:checked + .checkbox-wrapper .checkbox-bg {
    background: var(--checkbox-color);
    border-color: var(--checkbox-color);
}

.ios-checkbox input:checked ~ .checkbox-label {
    color: var(--checkbox-color);
}

.ios-checkbox input:checked + .checkbox-wrapper .checkbox-icon {
    transform: scale(1);
}

.ios-checkbox input:checked + .checkbox-wrapper .check-path {
    stroke-dashoffset: 0;
}

/* Hover Effects */
.ios-checkbox:hover .checkbox-wrapper {
    transform: scale(1.05);
}

/* Active Animation */
.ios-checkbox:active .checkbox-wrapper {
    transform: scale(0.95);
}

/* Focus Styles */
.ios-checkbox input:focus + .checkbox-wrapper .checkbox-bg {
    box-shadow: 0 0 0 4px var(--checkbox-bg);
}

/* Color Themes */
.ios-checkbox.blue {
    --checkbox-color: #3b82f6;
    --checkbox-bg: #dbeafe;
    --checkbox-border: #93c5fd;
}

.ios-checkbox.green {
    --checkbox-color: #10b981;
    --checkbox-bg: #d1fae5;
    --checkbox-border: #6ee7b7;
}

.ios-checkbox.purple {
    --checkbox-color: #8b5cf6;
    --checkbox-bg: #ede9fe;
    --checkbox-border: #c4b5fd;
}

.ios-checkbox.black {
    --checkbox-color: #252525;
    --checkbox-bg: #f3f4f6;
    --checkbox-border: #d1d5db;
}

.ios-checkbox.red {
    --checkbox-color: darkred;
    --checkbox-bg: #fee2e2;
    --checkbox-border: #cc0505;
}

/* Animation */
@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.ios-checkbox input:checked + .checkbox-wrapper {
    animation: bounce 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.teeth-box .form-check-input {
    background-color: #ddd !important;
    height: 20px !important;
    width: 20px !important;
    border-radius: 15% !important;
    border: 1px solid #ddd !important;
}

.teeth-box .form-check-input:checked {
    background-color: #4a3795 !important;
    border-color: #4a3795 !important;
}

.tooltip-left-align .tooltip-inner {
    text-align: left !important;
    max-width: 500px;
    white-space: normal;
}

.easy-autocomplete,
.twitter-typeahead {
    width: 100% !important;
}

.easy-autocomplete-container {
    z-index: 10000 !important;
}

.easy-autocomplete input {
    background-color: #F1F1F4 !important;
    border: 0 !important;
    height: 45px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    box-shadow: 0 0 0 0 !important;
}

/* Autocomplete suggestion container */
.autocomplete-suggestion {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Suggestion header */
.suggestion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Tracking number and patient */
.tracking-info {
    font-size: 16px;
    font-weight: bold;
    color: var(--bs-gray-800) !important;
}

/* Date section */
.date-info {
    font-size: 14px;
    color: #34495e;
    white-space: nowrap;
}

/* Suggestion body */
.suggestion-body p {
    margin: 4px 0;
    font-size: 16px;
    color: #34495e;
}

/* Ensure dropdown styling */
.easy-autocomplete-container ul {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
}

.easy-autocomplete-container ul li {
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

.easy-autocomplete-container ul li:hover,
.easy-autocomplete-container ul li.selected {
    background-color: #f5f5f5;
}

/* Scrollbar styling */
.easy-autocomplete-container ul::-webkit-scrollbar {
    width: 8px;
}

.easy-autocomplete-container ul::-webkit-scrollbar-thumb {
    background-color: #bdc3c7;
    border-radius: 4px;
}

.easy-autocomplete-container ul::-webkit-scrollbar-track {
    background-color: #f5f5f5;
}

.remove-arrows {
    -moz-appearance: textfield;
}

.remove-arrows::-webkit-inner-spin-button,
.remove-arrows::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.tooth-design {
    display: flex;
    flex-direction: column;
}

.quadrant-tooth {
    display: flex;
    justify-content: space-between;
}

.bottom-tooth {
    border-top: 1px solid #b5b5b5;
}

.right-top-tooth, .left-top-tooth, .right-bottom-tooth, .left-bottom-tooth {
    flex: 1;
    text-align: center;
    padding: 5px;
}

.right-top-tooth, .right-bottom-tooth {
    border-right: 1px solid #b5b5b5;
}

.tooth-design span {
    font-size: 9px !important;
    color: #000 !important;
}

.bg-color-tooth {
    background: #FFFFEA !important;
}

.timeline-line-before::before {
    left: 151px !important;
}

.timeline-label:before {
    left: 167px !important;
}

.nav-link.text-gray-800.active {
    color: #7239EA !important;
}

.card-file {
    position: relative;
    width: 300px;
    height: 200px;
    background-color: #f2f2f2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1000px;
    box-shadow: 0 0 0 5px #ffffff80;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-file svg {
    width: 48px;
    fill: #333;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-file:hover {
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}

.card-file-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    background-color: rgba(242, 242, 242, 0.78);
    transform: rotateX(-90deg);
    transform-origin: bottom;
}

.card-file:hover .card-file-content {
    transform: rotateX(0deg);
}

.card-file-title {
    margin: 0;
    font-size: 24px;
    color: #333;
    font-weight: 700;
}

.card-file:hover svg {
    scale: 0;
}

.card-file-description {
    margin: 10px 0 0;
    font-size: 14px;
    color: #777;
    line-height: 1.4;
}

.twitter-typeahead {
    position: relative !important;
}

.tt-menu {
    width: 100% !important;
    background-color: #FFFFFF !important;
    border-radius: 10px !important;
    box-shadow: 0 0 0 0 !important;
    padding: 10px !important;
    margin-top: 10px !important;
    border: 1px solid #F1F1F4 !important;
    max-height: 200px;
    overflow-y: auto;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 10000 !important;
}

.tt-suggestion {
    padding: 10px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-bottom: 1px solid #F1F1F4 !important;
    cursor: pointer;
}

.tt-suggestion:hover,
.tt-suggestion.tt-cursor {
    background-color: #F1F1F4 !important;
}

.tt-suggestion p {
    margin: 0 !important;
}

.sticky-left-panel {
    position: sticky;
    top: 110px;
    height: 100vh;
    overflow: hidden;
}

.sticky-left-panel .card-body {
    height: calc(100vh - 55px);
    overflow-y: auto;
    padding-right: 1rem;
    padding-left: 1rem;
}

.chat-container {
    position: relative;
    width: 100%;
    height: calc(100% - 120px);
    padding: 20px;
    overflow-y: auto;
    background: #f1f1f4;
}

.message-box {
    display: flex;
    ly: flex;
    width: 100%;
    margin: 10px 0;
}

.message-box.my-message {
    justify-content: flex-end;
}

.message-box.friend-message {
    justify-content: flex-start;
}

.message-content {
    position: relative;
    max-width: 75%;
    width: fit-content !important;
    padding: 12px;
    background: #dcf8c6;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.message-content audio {
    min-width: 300px;
    height: 40px !important;
    background: #f1f1f4;
    border-radius: 10px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.message-content audio::-webkit-media-controls-panel {
    background-color: transparent !important;
    border-radius: 10px !important;
}

.message-content audio::-webkit-media-controls-play-button {
    background-color: transparent !important;
    border-radius: 50% !important;
}

.message-content audio::-webkit-media-controls-current-time-display,
.message-content audio::-webkit-media-controls-time-remaining-display {
    display: none !important;
}

.message-box.friend-message .message-content {
    background: #fff;
    align-items: flex-start;
}

.message-content p {
    margin: 0 0 8px 0;
    font-size: 13px;
    font-weight: 500;
    word-wrap: break-word;
}

.message-content img,
.message-content video,
.message-content audio,
.message-content a {
    margin-bottom: 10px;
}

.message-content .timestamp {
    font-size: 0.8em;
    opacity: 0.5;
}

.message-content .fas {
    margin-left: 5px;
}

.message-box.my-message .message-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: -12px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #dcf8c6 0%, #dcf8c6 50%, transparent 50%, transparent);
}

.message-box.friend-message .message-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -12px;
    width: 20px;
    height: 20px;
    background: linear-gradient(225deg, #fff 0%, #fff 50%, transparent 50%, transparent);
}

/* Base reset */
.quota-card,
.file-size,
.quota-details,
.quota-percentage {
    background: transparent;
    color: inherit;
}

/* Light Theme */
[data-bs-theme=light] .quota-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.2s;
}
[data-bs-theme=dark] .quota-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.2s;
}

[data-bs-theme=light] .file-size {
    font-size: 1rem;
    color: #555;
}

[data-bs-theme=light] .quota-details {
    font-size: 0.9rem;
    color: #333;
}

[data-bs-theme=light] .quota-percentage {
    font-weight: bold;
    color: #007bff;
}

/* Responsive Design */
@media (max-width: 576px) {
    [data-bs-theme=light] .quota-card {
        padding: 15px;
    }

    [data-bs-theme=light] .file-size {
        font-size: 0.9rem;
        color: #555;
    }

    [data-bs-theme=light] .quota-details {
        font-size: 0.8rem;
        color: #333;
    }
}

#chat-messages {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#messages-container {
    flex-grow: 1;
    overflow-y: auto;
}

#back-to-chats {
    display: flex;
    align-items: center;
}

#chat-recipient-name {
    flex-grow: 1;
}

.pending-message {
    opacity: 0.5;
}

#load-more-messages {
    margin-bottom: 10px;
}

.tooth-design-div .d-flex {
    flex-wrap: wrap;
}

.teeth {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.teeth-box {
    flex: 1 0 10%;
    max-width: 50px;
    min-width: 35px;
}

.input-edit-background {
    background-color: rgba(245, 210, 155, 0.68) !important;
    border-color: rgba(245, 210, 155, 0.68) !important;
    color: #000 !important;
}

.fc-custom-event {
    background-color: #ffffff;
    padding: 2px;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 2px;
}

.fc-custom-event > div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fc-custom-fittings {
    color: #fa2f2f;
}

.fc-custom-milling {
    color: #dd00ff;
}

.fc-custom-order {
    color: #446bf4;
}

.fc-custom-extra {
    font-size: 0.8em;
    color: #1e1e2f;
}

/* Dark Theme */
[data-bs-theme=dark] .chat-container {
    background: #1e1e2f;
}

[data-bs-theme=dark] .message-content {
    background: #2a2a3d;
    color: #ddd;
}

[data-bs-theme=dark] .message-box.friend-message .message-content {
    background: #3a3a4e;
}

[data-bs-theme=dark] .message-box.my-message .message-content::before {
    background: linear-gradient(135deg, #2a2a3d 0%, #2a2a3d 50%, transparent 50%, transparent);
}

[data-bs-theme=dark] .message-box.friend-message .message-content::before {
    background: linear-gradient(225deg, #3a3a4e 0%, #3a3a4e 50%, transparent 50%, transparent);
}

[data-bs-theme=dark] .checkbox-label {
    color: #ddd;
}

[data-bs-theme=dark] .table-container {
    background: transparent;
}

[data-bs-theme=dark] .quota-card,
[data-bs-theme=dark] .file-size,
[data-bs-theme=dark] .quota-details,
[data-bs-theme=dark] .quota-percentage {
    background: #1e1e2f;
    color: #ddd;
}

[data-bs-theme=dark] .file-size {
    font-size: 1rem;
    color: #ccc;
}

[data-bs-theme=dark] .quota-details {
    font-size: 0.9rem;
    color: #bbb;
}

[data-bs-theme=dark] .quota-percentage {
    font-weight: bold;
    color: #66b0ff;
}

[data-bs-theme=dark] .easy-autocomplete input {
    background-color: var(--bs-gray-100) !important;
    color: var(--bs-gray-700) !important;
}

[data-bs-theme=dark] .autocomplete-suggestion {
    background-color: var(--bs-gray-100) !important;
    color: #ecf0f1 !important;
}

[data-bs-theme=dark] .suggestion-header {
    color: #ecf0f1 !important;
}

[data-bs-theme=dark] .tracking-info {
    color: #ecf0f1 !important;
}

[data-bs-theme=dark] .date-info {
    color: #bdc3c7 !important;
}

[data-bs-theme=dark] .suggestion-body p {
    color: #ecf0f1 !important;
}

[data-bs-theme=dark] .easy-autocomplete-container ul li,
[data-bs-theme=dark] .easy-autocomplete-container ul li.selected {
    background-color: var(--bs-gray-100) !important;
}

[data-bs-theme=dark] .nav-link.text-gray-800.active {
    color: #b19dff !important;
}

[data-bs-theme=dark] .app-sidebar-menu-primary.menu > .menu-item.hover:not(.here) > .menu-link:not(.disabled):not(.active):not(.here),
[data-bs-theme=dark] .app-sidebar-menu-primary.menu > .menu-item:not(.here) > .menu-link:hover:not(.disabled):not(.active):not(.here),
[data-bs-theme=dark] .app-sidebar-menu-primary.menu > .menu-item.hover:not(.here) > .menu-link:not(.disabled):not(.active):not(.here) .menu-title,
[data-bs-theme=dark] .app-sidebar-menu-primary.menu > .menu-item:not(.here) > .menu-link:hover:not(.disabled):not(.active):not(.here) .menu-title,
[data-bs-theme=dark] .app-sidebar-menu-primary.menu > .menu-item.hover:not(.here) > .menu-link:not(.disabled):not(.active):not(.here) .menu-icon i,
[data-bs-theme=dark] .app-sidebar-menu-primary.menu > .menu-item:not(.here) > .menu-link:hover:not(.disabled):not(.active):not(.here) .menu-arrow:after,
[data-bs-theme=dark] .app-sidebar-menu-primary.menu > .menu-item .menu-item.hover:not(.here) > .menu-link:not(.disabled):not(.active):not(.here) .menu-title,
[data-bs-theme=dark] .app-sidebar-menu-primary.menu > .menu-item .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) .menu-title,
[data-bs-theme=dark] .app-sidebar-menu-primary.menu > .menu-item.hover:not(.here) > .menu-link:not(.disabled):not(.active):not(.here) .menu-icon,
[data-bs-theme=dark] .app-sidebar-menu-primary.menu > .menu-item.hover:not(.here) > .menu-link:not(.disabled):not(.active):not(.here) .menu-icon .svg-icon,
[data-bs-theme=dark] .app-sidebar-menu-primary.menu > .menu-item:not(.here) > .menu-link:hover:not(.disabled):not(.active):not(.here) .menu-icon,
[data-bs-theme=dark] .app-sidebar-menu-primary.menu > .menu-item:not(.here) > .menu-link:hover:not(.disabled):not(.active):not(.here) .menu-icon .svg-icon,
[data-bs-theme=dark] .app-sidebar-menu-primary.menu > .menu-item:not(.here) > .menu-link:hover:not(.disabled):not(.active):not(.here) .menu-icon i {
    color: #b19dff !important;
}

[data-bs-theme=dark] {
    --bs-text-info: #b19dff !important;
}

[data-bs-theme=dark] .iti__country-list,
[data-bs-theme=dark] .iti__dropdown-content {
    background: #0D0E12;
    color: #ddd;
    border: 1px solid #444 !important;
}

[data-bs-theme=dark] .tooth-design {
    background: #ffffffa1 !important;
}

[data-bs-theme=dark] .swal2-title {
    color: #ddd !important;
}

[data-bs-theme=dark] .fc-daygrid-day-number {
    background: #0D0E12;
}

[data-bs-theme=dark] .fc-custom-event {
    background-color: #1e1e2f;
    color: #ddd;
}

[data-bs-theme=dark] .fc-custom-extra {
    color: #bbb;
}

/* Responsive Design for Dark Theme */
@media (max-width: 576px) {
    [data-bs-theme=dark] .quota-card {
        padding: 15px;
    }

    [data-bs-theme=dark] .file-size {
        font-size: 0.9rem;
        color: #ccc;
    }

    [data-bs-theme=dark] .quota-details {
        font-size: 0.8rem;
        color: #bbb;
    }
}


.col-protez-adi {
    width: auto;
    min-width: 200px !important;
    max-width: 200px !important;
}

.col-dis-no {
    width: auto;
    min-width: 100px !important;
}

.col-adet {
    width: auto;
    min-width: 60px !important;
}
.col-renk, .col-kole {
    width: auto;
    min-width: 80px !important;
}
.col-birim-fiyat, .col-toplam-tutar {
    width: auto;
    min-width: 80px !important;
}

.col-rpt {
    width: 50px !important;
}

.col-rpt-detail {
    width: 215px !important;
}


/* Custom Modal Styles */
.reference-modal-dialog {
    max-width: 1200px;
}

.reference-modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.reference-modal-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: none;
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.reference-modal-title {
    color: white;
    font-weight: 700;
    font-size: 2rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.reference-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.reference-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.reference-modal-body {
    padding: 2rem;
    background: white;
    margin: 0;
}

.reference-modal-product-card {
    background: white;
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.reference-modal-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.reference-modal-code-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.reference-modal-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(45deg, #f093fb 0%, #f5576c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.reference-modal-card-body {
    padding: 1.5rem;
}

.reference-modal-card-title {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.reference-modal-card-text {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.reference-modal-input-group {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.reference-modal-input-group:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.reference-modal-form-control {
    background: transparent;
    border: none;
    padding: 15px 20px;
    font-weight: 600;
    color: #495057;
    font-size: 1rem;
}

.reference-modal-form-control:focus {
    background: transparent;
    box-shadow: none;
    color: #495057;
}

.reference-modal-copy-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    color: white;
    padding: 15px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 0;
}

.reference-modal-copy-btn:hover {
    background: linear-gradient(45deg, #5a6fd8, #6a4190);
    transform: scale(1.05);
    color: white;
}

.reference-modal-icon {
    margin-right: 8px;
}

/* Card specific gradients */
.reference-modal-card-1 .reference-modal-card-img {
    background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
}

.reference-modal-card-2 .reference-modal-card-img {
    background: linear-gradient(45deg, #43e97b 0%, #38f9d7 100%);
}

.reference-modal-card-3 .reference-modal-card-img {
    background: linear-gradient(45deg, #fa709a 0%, #fee140 100%);
}

/* Animation for modal entrance */
.reference-modal-fade .modal-dialog {
    transform: scale(0.8) translateY(-50px);
    opacity: 0;
    transition: all 0.3s ease;
}

.reference-modal-fade.show .modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .reference-modal-dialog {
        margin: 10px;
    }

    .reference-modal-header,
    .reference-modal-body {
        padding: 1.5rem;
    }

    .reference-modal-title {
        font-size: 1.5rem;
    }
}

.referans-product-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    background: white;
}

.referans-code-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.3);
}

.referans-product-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.referans-product-card .card-body {
    padding: 25px;
    background: white;
}

.referans-product-card .card-title {
    color: #2d3748;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.referans-product-card .card-text {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.referans-product-card .input-group {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.referans-product-card .form-control {
    border: 2px solid #e2e8f0;
    border-right: none;
    background: #f8fafc;
    color: #2d3748;
    font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
    font-weight: 600;
    letter-spacing: 1px;
}

.referans-product-card .form-control:focus {
    border-color: #667eea;
    box-shadow: none;
    background: white;
}

.btn-referral-copy {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 2px solid #667eea;
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.3s ease;
    border-left: none;
}

.btn-referral-copy:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    color: white;
    transform: translateX(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-referral-copy:active {
    transform: translateX(0);
}

.btn-referral-copy.copied {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border-color: #48bb78;
}

.referans-product-card .card-footer {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: none;
    padding: 20px 25px;
}

.referral-price {
    color: #2d3748;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animasyon için */
@keyframes copySuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.copy-success {
    animation: copySuccess 0.5s ease;
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .referans-code-badge {
        top: 10px;
        right: 10px;
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    .referans-product-card .card-body {
        padding: 20px;
    }

    .btn-referral-copy {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}
