:root {
    --main-color: #9e348b;
}


body {
  font-family: "Urbanist", sans-serif;
  line-height: 22px;
}

textarea,
input[type=text],
input[type=password],
input[type=datetime],
input[type=datetime-local],
input[type=date],
input[type=month],
input[type=time],
input[type=week],
input[type=number],
input[type=email],
input[type=url],
input[type=search],
input[type=tel],
input[type=color],
select, 
.swal2-popup {
    font-family: "Urbanist", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Urbanist", sans-serif;
  text-rendering: optimizeLegibility;
}

.main-color{color: var(--main-color);}
.main-color-hover:hover{color: var(--main-color) !important;}
.main-color-bg{background-color: var(--main-color) !important;}
.main-color-bg-hover:hover{background-color: var(--main-color) !important;}
.main-color-border{border-color: var(--main-color);}
.main-color-border-hover:hover{border-color: var(--main-color) !important;}

.office701-logo {width: 100px;}
.has-error {
    border-color: #b94a48 !important;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
}
.has-success {
    border-color: #50cd89 !important;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
}

.cookiealert.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0%);
    transition-delay: 1000ms;
}
.cookiealert {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0 !important;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    border-radius: 0;
    transform: translateY(100%);
    transition: all 500ms ease-out;
    color: #555555;
    background: rgba(255, 255, 255, 0.9);
}
.closecookies {
    z-index: 2;
    position: absolute !important;
    right: 0 !important;
    border: none;
    background: transparent;
    font-size: 17px;
    padding: 0px;
}
.closeBtn {
    font-weight: bold;
    color: black;
}
.cookiealert {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0 !important;
    z-index: 999;
    opacity: 0.9;
    border-style: none;
    visibility: hidden;
    border-radius: 0;
    transform: translateY(100%);
    transition: all 500ms ease-out;
    color: #555;
    background: #fff;
    box-shadow: 0 0 10 0 rgb(0 0 0 / 24%);
    padding: 15px 10px 15px 5px;
}
.cookiealert.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0%);
    transition-delay: 1000ms;
}
.cookiealert a {
    text-decoration: underline;
}
.cookiealert a:hover {
    color: var(--theme-color2);
}
.cookiealert .cookiealert-text {
    z-index: 1;
    padding: 15px 0px 0px 10px;
    margin: 0;
    width: 100%;
    font-size: 12px;
}

.cookiealert .cookiealert-text p {
    font-size: 13px;
    line-height: 1.5;
}
.cookiealert .full-width {
    width: 100%;
}
.cookiealert .pull-rightleft {
    text-align: center;
}
@media screen and (min-width: 991px) {
    .cookiealert {
        bottom: 10px;
        left: 18px;
        width: 400px;
        border-radius: 10px;
    }

    .cookiealert .cookiealert-text {
        width: 414px;
        line-height: 2;
        margin-bottom: 15px;
    }
}
@media (max-width: 768px) {
    .cookiealert .pull-rightleft {
        float: none;
        text-align: center;
    }
}

.tf-counter .icon img{
    width: 85px;
    height: 85px;
}

.status {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
}

.status.active {
    background-color: #d4edda;
    color: #155724;
}

.status.completed {
    background-color: #d1ecf1;
    color: #0c5460;
}

.status.upcoming {
    background-color: #fff3cd;
    color: #856404;
}

.status.inactive {
    background-color: #f8d7da;
    color: #721c24;
}

/* Modern Dropzone Tasarımı */
.dropzone {
    border: 3px dashed rgba(0, 135, 247, 0.3);
    border-radius: 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 60px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow-y: auto;
    max-height: 600px;
    min-height: 320px;
    display: block;
}

.dropzone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 135, 247, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.dropzone:hover {
    border-color: #0087F7;
    background: linear-gradient(135deg, #e8f4ff 0%, #f8f9ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 135, 247, 0.15);
}

.dropzone:hover::before {
    opacity: 1;
}

.dropzone.dz-drag-hover {
    border-color: #0056b3;
    background: linear-gradient(135deg, #d4ebff 0%, #e8f4ff 100%);
    transform: scale(1.01);
    box-shadow: 0 20px 60px rgba(0, 135, 247, 0.25);
}

/* Dropzone Scrollbar Styling */
.dropzone::-webkit-scrollbar {
    width: 8px;
}

.dropzone::-webkit-scrollbar-track {
    background: rgba(0, 135, 247, 0.05);
    border-radius: 10px;
}

.dropzone::-webkit-scrollbar-thumb {
    background: rgba(0, 135, 247, 0.3);
    border-radius: 10px;
}

.dropzone::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 135, 247, 0.5);
}

/* Dropzone Preview Container */
.dropzone .dz-preview-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.dropzone .dz-message {
    font-size: 18px;
    color: #2c3e50;
    margin: 0 0 30px 0;
    font-weight: 500;
    z-index: 1;
    display: block;
}

.dropzone .dz-message .upload-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #0087F7 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 135, 247, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.dropzone .dz-message .upload-icon i {
    font-size: 36px;
    color: white;
}

.dropzone .dz-message h5 {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 15px 0 10px;
}

.dropzone .dz-message p {
    font-size: 14px;
    color: #6c757d;
    margin: 5px 0 0;
}

.dropzone .dz-message .supported-formats {
    display: inline-flex;
    gap: 8px;
    margin-top: 15px;
}

.dropzone .dz-message .format-badge {
    background: rgba(0, 135, 247, 0.1);
    color: #0087F7;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.dropzone .dz-preview {
    margin: 15px;
    min-height: 120px;
    display: inline-block;
    vertical-align: top;
}

.dropzone .dz-preview .dz-image {
    border-radius: 12px;
    overflow: hidden;
    width: 120px;
    height: 120px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.dropzone .dz-preview .dz-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dropzone .dz-preview .dz-details {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
    padding: 10px;
}

.dropzone .dz-preview .dz-success-mark,
.dropzone .dz-preview .dz-error-mark {
    animation: checkmark 0.5s ease-in-out;
}

@keyframes checkmark {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.dropzone .dz-preview .dz-progress {
    height: 4px;
    border-radius: 2px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.1);
}

.dropzone .dz-preview .dz-progress .dz-upload {
    background: linear-gradient(90deg, #0087F7 0%, #00c6ff 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.dropzone .dz-preview .dz-remove {
    color: #dc3545;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.dropzone .dz-preview .dz-remove:hover {
    color: #a71d2a;
    transform: scale(1.1);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item .delete-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(220, 53, 69, 0.95);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    opacity: 0;
    transform: scale(0.8);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.gallery-item:hover .delete-btn {
    opacity: 1;
    transform: scale(1);
}

.gallery-item .delete-btn:hover {
    background: #dc3545;
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.6);
}

.gallery-item .delete-btn:active {
    transform: scale(0.95);
}

/* Upload Progress Overlay */
.upload-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.upload-overlay.active {
    display: flex;
}

.upload-progress-box {
    background: white;
    border-radius: 20px;
    padding: 40px;
    min-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.upload-progress-box .spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 135, 247, 0.2);
    border-top-color: #0087F7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.upload-progress-box h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 10px;
}

.upload-progress-box p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

.toggle-password{
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    z-index: 5;
    font-size: 16px;
}

.min-h-340px{min-height: 340px;}

.category-card {
    transition: all 0.2s ease;
}
.category-card:hover {
    border-color: var(--bs-primary) !important;
    transform: translateY(-2px);
}
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    max-height: 2.6em;
}
.scroll-y::-webkit-scrollbar {
    width: 6px;
}
.scroll-y::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}
.scroll-y::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}
.scroll-y::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Tablolarım Sayfası - Tablo Kartları */
.table-card {
    transition: all 0.3s ease;
    border: 1px solid #e4e6ef;
}

.table-card:hover {
    border-color: var(--bs-primary) !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.table-card .card-header {
    min-height: auto;
}

.table-card .bgi-size-cover {
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.table-card:hover .bgi-size-cover {
    transform: scale(1.02);
}

.table-card .badge i {
    line-height: 1;
}

.table-card .card-footer {
    background: transparent;
}

.table-card .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* İstatistik Kartları */
.card-xl-stretch .symbol-label {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Filtre Kartı */
#tableFilterForm .form-control-solid,
#tableFilterForm .form-select-solid {
    background-color: #f5f8fa;
    border-color: #f5f8fa;
    transition: all 0.2s ease;
}

#tableFilterForm .form-control-solid:focus,
#tableFilterForm .form-select-solid:focus {
    background-color: #eef3f7;
    border-color: var(--bs-primary);
}

/* Responsive düzenlemeler */
@media (max-width: 767px) {
    .table-card .bgi-size-cover {
        min-height: 180px !important;
    }
    
    .table-card .card-footer .btn-sm {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .table-card .d-flex.gap-3 {
        gap: 0.5rem !important;
    }
}

/* Badge'ler için ek stiller */
.badge-light-primary i,
.badge-light-success i,
.badge-light-warning i,
.badge-light-danger i,
.badge-light-info i {
    vertical-align: middle;
}

/* Menu dropdown geliştirmeleri */
.menu-sub-dropdown {
    animation: fadeInDown 0.2s ease;
}

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

.menu-link:hover .menu-icon i {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* ==========================================
   Profil Sayfası - Dikey Tab Tasarımı
   ========================================== */

/* Sol taraf - Tab menüsü */
.profile-vertical-tabs {
    padding: 30px 0;
    border-right: 1px solid #eff2f5;
    min-height: 500px;
    background: #fafbfc;
    border-radius: 0.625rem 0 0 0.625rem;
    height: 100%;
}

.profile-vertical-tabs .nav-pills {
    padding: 0 15px;
}

.profile-vertical-tabs .nav-item {
    margin-bottom: 4px;
}

.profile-vertical-tabs .nav-link {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    border-radius: 10px;
    color: #5e6278;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid transparent;
}

.profile-vertical-tabs .nav-link:hover {
    background-color: #f1f1f4;
    color: #3f4254;
}

.profile-vertical-tabs .nav-link.active {
    background-color: #fff;
    color: var(--main-color);
    border-color: #e8e8ef;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

.profile-vertical-tabs .nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: var(--main-color);
    border-radius: 0 4px 4px 0;
}

.profile-vertical-tabs .nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f1f1f4;
    margin-right: 14px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.profile-vertical-tabs .nav-link.active .nav-icon {
    background: rgba(158, 52, 139, 0.1);
    color: var(--main-color);
}

.profile-vertical-tabs .nav-link.active .nav-icon i {
    color: var(--main-color) !important;
}

.profile-vertical-tabs .nav-text {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1;
}

.profile-vertical-tabs .nav-title {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-vertical-tabs .nav-desc {
    font-size: 12px;
    color: #a1a5b7;
    line-height: 1.3;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-vertical-tabs .nav-link.active .nav-title {
    color: var(--main-color);
}

.profile-vertical-tabs .nav-badge {
    margin-left: auto;
    flex-shrink: 0;
}

/* Sağ taraf - Tab Content */
.profile-tab-content {
    padding: 30px 35px;
    min-height: 500px;
}

.profile-tab-header {
    margin-bottom: 0;
}

.profile-tab-header h3 {
    font-size: 20px;
    color: #181c32;
}

.profile-tab-header p {
    font-size: 13.5px;
}

/* Ölçü fiyat tablosu */
#sizePricesInlineTableBody .size-price-input {
    font-weight: 600;
    text-align: right;
    padding-right: 8px;
}

#sizePricesInlineTableBody .input-group-text {
    background: #f5f8fa;
    border-left: 0;
    font-size: 13px;
    color: #7e8299;
}

#sizePricesInlineTableBody tr:hover {
    background-color: #fafbfd;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .profile-vertical-tabs {
        border-right: none;
        border-bottom: 1px solid #eff2f5;
        min-height: auto;
        padding: 15px 0;
        border-radius: 0.625rem 0.625rem 0 0;
    }

    .profile-vertical-tabs .nav-pills {
        flex-direction: row !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0 10px;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .profile-vertical-tabs .nav-pills::-webkit-scrollbar {
        display: none;
    }

    .profile-vertical-tabs .nav-item {
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .profile-vertical-tabs .nav-link {
        padding: 10px 16px;
        white-space: nowrap;
    }

    .profile-vertical-tabs .nav-link.active::before {
        display: none;
    }

    .profile-vertical-tabs .nav-desc {
        display: none;
    }

    .profile-tab-content {
        padding: 20px 15px;
    }
}

/* Satışlarım Sayfası */
.w-130px { width: 130px; }

/* SMS Doğrulama Kutuları */
.verify-code-input {
    width: 50px;
    height: 55px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    border: 2px solid #e1e3ea;
    border-radius: 10px;
    outline: none;
    transition: border-color .2s;
    margin: 0 4px;
}
.verify-code-input:focus {
    border-color: #3E97FF;
    box-shadow: 0 0 0 3px rgba(62,151,255,.15);
}
.verify-code-input.has-error {
    border-color: #f1416c;
}
.verify-timer {
    font-size: 14px;
    color: #7e8299;
}
.verify-timer strong {
    color: #181c32;
    font-weight: 600;
}
.resend-link {
    pointer-events: none;
    opacity: .5;
    cursor: default;
}
.resend-link.active {
    pointer-events: auto;
    opacity: 1;
    cursor: pointer;
}
/* Sözleşme Modal */
.contract-modal-body {
    max-height: 60vh;
    overflow-y: auto;
}
.contract-checkbox label a {
    text-decoration: underline;
}
.form-check.has-error .form-check-label {
    color: #f1416c;
}

.tooltip, .tooltip-inner {
    font-family: "Urbanist", sans-serif !important;
    font-weight: 500 !important;
}