:root {
    --main-color: #39abbd;
}


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: 40px;
    right: 20px;
    cursor: pointer;
    color: #6c757d;
}

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