
.flex-center-col { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.mb-10 { margin-bottom: 10px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.gap-5 { gap: 5px; }
.gap-10 { gap: 10px; }
.gap-15 { gap: 15px; }
.w-100 { width: 100%; }
.h-300 { height: 300px; }
.h-60vh { height: 60vh; }
.font-0-75 { font-size: 0.75rem; }
.font-0-8 { font-size: 0.8rem; }
.font-0-85 { font-size: 0.85rem; }
.font-1-0 { font-size: 1rem; }
.font-1-2 { font-size: 1.2rem; }
.font-2rem { font-size: 2rem; }
.font-4rem { font-size: 4rem; }
.font-500 { font-weight: 500; }
.font-600 { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-mono { font-family: monospace; }
.max-w-400 { max-width: 400px; }
.max-w-600 { max-width: 600px; }
.bg-white { background: white; }
.p-4-10 { padding: 4px 10px; }
.p-20 { padding: 20px; }
.p-30 { padding: 30px; }
.p-40 { padding: 40px; }
.radius-8 { border-radius: 8px; }
.radius-16 { border-radius: 16px; }
.border-eee { border: 1px solid #eee; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-align-center { display: flex; align-items: center; }
.flex-col { display: flex; flex-direction: column; }
.justify-start { justify-content: flex-start; }
.flex-wrap { flex-wrap: wrap; }
.d-inline { display: inline; }
.d-block { display: block; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.text-ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.obj-cover { object-fit: cover; }
.cursor-pointer { cursor: pointer; }
.m-0 { margin: 0; }


.admin-form-container { background: white; padding: 32px; border-radius: 16px; }
.admin-preview-img { max-width: 150px; max-height: 100px; background: #ccc; padding: 5px; border-radius: 8px; }
.admin-gallery-item { display: flex; align-items: center; gap: 15px; padding: 10px; border: 1px solid #eee; border-radius: 8px; }
.admin-gallery-thumb { width: 80px; height: 50px; object-fit: cover; border-radius: 4px; }
.admin-dropzone { border: 2px dashed #cbd5e1; border-radius: 8px; padding: 30px; text-align: center; cursor: pointer; transition: all 0.3s; background: #f8fafc; }
.admin-dropzone:hover { background: #e0f2fe; border-color: var(--primary); }
.admin-progress-container { display: none; margin-top: 10px; height: 4px; background: #e2e8f0; border-radius: 2px; overflow: hidden; }
.admin-progress-bar { width: 0%; height: 100%; background: var(--primary); transition: width 0.3s; }

.seo-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.seo-card h3 {
    margin-top: 0;
    color: var(--primary);
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.seo-scroll-box {
    max-height: 400px;
    overflow-y: auto;
    background: #0f172a;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #334155;
}

.seo-url-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #1e293b;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.85rem;
}

.seo-url-item:last-child {
    border-bottom: none;
}

.seo-url-text {
    color: #94a3b8;
    margin-right: 12px;
    word-break: break-all;
}

.seo-url-type {
    color: #38bdf8;
    white-space: nowrap;
    font-size: 0.75rem;
    background: rgba(56, 189, 248, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.seo-table-wrapper {
    overflow-x: auto;
    background: #1e293b;
    border-radius: 12px;
    border: 1px solid #334155;
}

.seo-table {
    width: 100%;
    border-collapse: collapse;
    color: #f8fafc;
    font-size: 0.9rem;
}

.seo-table th {
    background: #0f172a;
    padding: 16px;
    text-align: left;
    border-bottom: 2px solid #334155;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.seo-table td {
    padding: 16px;
    border-bottom: 1px solid #334155;
    vertical-align: middle;
}

.seo-table tr:last-child td {
    border-bottom: none;
}

.seo-table tr:hover {
    background: #334155;
}

.seo-form-group {
    margin-bottom: 20px;
}

.seo-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.seo-divider {
    margin: 24px 0;
    border: 0;
    border-top: 1px solid #334155;
}

.btn-icon-delete {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 6px;
    border-radius: 4px;
    transition: all 0.2s;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon-delete:hover {
    background: rgba(239, 68, 68, 0.1);
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .seo-grid {
        grid-template-columns: 1fr;
    }
}
.seo-view {
    max-width: 100%;
    padding: 0;
}

.admin-container-standard {
    max-width: 1400px; 
    margin: 0 auto;
    width: 100%;
}

.drop-zone {
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #f8fafc;
}

.drop-zone:hover {
    background: #e0f2fe;
    border-color: var(--primary);
}

.gallery-grid-container {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.gallery-item-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 8px;
    animation: fadeIn 0.5s;
}

.gallery-img-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.btn-delete-absolute {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-container {
    display: none;
    margin-top: 10px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--primary);
    transition: width 0.3s;
}

.scan-status-pending { font-size: 0.8rem; color: #94a3b8; }
.scan-status-loading { font-size: 0.8rem; color: #d4af37; }
.scan-status-ok { font-size: 0.8rem; color: #10b981; }
.scan-status-err { font-size: 0.8rem; color: #ef4444; }

.settings-tabs { display: flex; gap: 5px; border-bottom: 2px solid #e2e8f0; margin-bottom: 20px; overflow-x: auto; }
.settings-tab { padding: 10px 20px; cursor: pointer; font-weight: 600; color: #64748b; border-bottom: 2px solid transparent; transition: all 0.2s; white-space: nowrap; }
.settings-tab:hover { color: var(--primary); background: #f8fafc; }
.settings-tab.active { color: var(--primary); border-bottom-color: var(--primary); background: #eff6ff; }
.tab-content { display: none; animation: fadeIn 0.3s ease; }
.tab-content.active { display: block; }

.calendar-nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; margin-bottom: 20px; background: white; padding: 15px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.cal-header { text-align: center; font-weight: bold; padding: 10px; background: #f8fafc; border-radius: 4px; color: #64748b; }
.cal-day { background: white; border: 1px solid #e2e8f0; border-radius: 8px; min-height: 100px; padding: 10px; position: relative; cursor: pointer; transition: all 0.2s; }
.cal-day:hover { border-color: var(--primary); box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.cal-day.empty { background: transparent; border: none; cursor: default; }
.cal-day.full { background: #fef2f2; border-color: #fecaca; }
.day-num { font-weight: bold; font-size: 1.1rem; margin-bottom: 5px; }
.day-stats { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 5px; }
.stat-booked { background: #dbeafe; color: #1e40af; font-size: 0.75rem; padding: 2px 6px; border-radius: 4px; }
.stat-blocked { background: #fee2e2; color: #991b1b; font-size: 0.75rem; padding: 2px 6px; border-radius: 4px; }
.day-avail { font-size: 0.8rem; color: #64748b; position: absolute; bottom: 10px; right: 10px; }
.cal-day.full .day-avail { color: #ef4444; font-weight: bold; }
.mobile-day-name { display: none; }

.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000; justify-content: center; align-items: center; }
.modal-content { background: white; padding: 25px; border-radius: 10px; width: 90%; max-width: 500px; box-shadow: 0 10px 25px rgba(0,0,0,0.2); position: relative; max-height: 90vh; overflow-y: auto; }
.modal-close { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #64748b; }

.packages-container { display: flex; flex-direction: column; gap: 15px; }
.package-card { padding: 0; overflow: hidden; border: 1px solid #e2e8f0; transition: box-shadow 0.2s; }
.package-header { padding: 15px 20px; background: #fff; cursor: pointer; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #f1f5f9; }
.package-header:hover { background: #f8fafc; }
.package-icon { font-size: 1.5rem; background: #f1f5f9; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.package-title { font-weight: 700; font-size: 1.1rem; color: var(--primary); display: flex; align-items: center; gap: 10px; }
.package-meta { font-size: 0.85rem; color: #64748b; margin-top: 2px; }
.package-body { background: #f8fafc; padding: 15px; border-top: 1px solid #e2e8f0; }
.task-item { background: white; border-radius: 8px; padding: 12px; margin-bottom: 10px; border: 1px solid #e2e8f0; border-left-width: 4px; display: flex; gap: 15px; align-items: flex-start; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.task-done { opacity: 0.6; background: #f9fafb; }
.task-main { flex: 1; }
.task-top-row { display: flex; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.task-title { font-weight: 600; color: var(--primary); font-size: 1rem; margin-bottom: 4px; }
.task-desc { font-size: 0.9rem; color: #64748b; margin-bottom: 8px; }
.task-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; min-width: 140px; }
.status-select { padding: 4px 8px; border-radius: 6px; font-size: 0.8rem; font-weight: 600; border: 1px solid transparent; cursor: pointer; width: 100%; }
.btn-icon-del { background: none; border: none; cursor: pointer; opacity: 0.5; transition: opacity 0.2s; }
.btn-icon-del:hover { opacity: 1; }
.progress-circle { width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, white 79%, transparent 80% 100%), conic-gradient(var(--c) calc(var(--p) * 1%), #e2e8f0 0); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: bold; color: var(--text-main); }
.time-widget { margin-top: 10px; background: #f1f5f9; padding: 8px; border-radius: 6px; }
.progress-bar-bg { width: 100%; height: 6px; background: #cbd5e1; border-radius: 3px; overflow: hidden; }
.progress-bar-fill { height: 100%; transition: width 0.5s ease; }
.attachment-link { display: inline-flex; align-items: center; gap: 4px; font-size: 0.85rem; color: var(--accent); text-decoration: none; margin-top: 8px; }

.toggle-switch { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.slider { position: relative; display: inline-block; width: 40px; height: 22px; background-color: #ccc; border-radius: 22px; transition: .4s; }
.slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 3px; bottom: 3px; background-color: white; border-radius: 50%; transition: .4s; }
input:checked + .slider { background-color: #3b82f6; }
input:checked + .slider:before { transform: translateX(18px); }

.config-item-card { cursor: pointer; transition: transform 0.2s; border-radius: 16px; overflow: hidden; }
.config-item-card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.config-item-card.selected .check-overlay { opacity: 1; }
.config-item-card.selected { border: 2px solid var(--accent); transform: scale(0.98); }
.config-item-card.disabled { opacity: 0.5; cursor: not-allowed; filter: grayscale(1); }
.config-item-card.unavailable { pointer-events: none; }
.config-item-card.unavailable .unavailable-overlay { display: flex; }
.config-item-card.unavailable img { filter: grayscale(1); opacity: 0.5; }
.check-overlay { position: absolute; inset: 0; background: rgba(212, 175, 55, 0.8); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s; }
.unavailable-overlay { position: absolute; inset: 0; background: rgba(255,255,255,0.85); z-index: 5; display: none; align-items: center; justify-content: center; flex-direction: column; text-align: center; padding: 10px; }

@media (max-width: 768px) {
    .calendar-grid { display: flex; flex-direction: column; gap: 15px; }
    .cal-header { display: none; }
    .cal-day.empty { display: none; }
    .cal-day { min-height: auto; padding: 15px; display: flex; flex-direction: column; }
    .day-num { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #f1f5f9; padding-bottom: 8px; margin-bottom: 10px; }
    .mobile-day-name { display: inline-block; color: var(--primary); font-weight: 600; }
    .day-avail { position: static; margin-top: 10px; text-align: right; background: #f8fafc; padding: 5px 10px; border-radius: 4px; }
    .day-stats { margin-bottom: 0; }
    .stat-booked, .stat-blocked { font-size: 0.85rem; padding: 4px 8px; }
}
