* {
    box-sizing: border-box;
}

/* Ana Container */
.seobaz-admin-container {
    display: flex;
    margin: 20px 0;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 1400px;
}

/* Sidebar Stilleri */
.seobaz-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #1f2937 0%, #374151 100%);
    border-radius: 12px 0 0 12px;
    padding: 25px 0;
}

.sidebar-header {
    padding: 0 25px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h2 {
    color: #fff;
    margin: 0;
    font-size: 20px;
    font-weight: 500;
}

.sidebar-menu {
    margin: 0;
    padding: 15px 0;
    list-style: none;
}

.sidebar-menu li {
    padding: 16px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 3px solid transparent;
}

.sidebar-menu li:hover {
    background: rgba(255, 255, 255, 0.08);
    border-left-color: #fb923c;
    color: #ffffff;
}

.sidebar-menu li.active {
    background: rgba(251, 146, 60, 0.15);
    border-left-color: #fb923c;
    color: #fb923c;
}

.sidebar-menu .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* İçerik Alanı */
.seobaz-content {
    flex: 1;
    padding: 20px;
    background: #ffffff;
    border-radius: 0 12px 12px 0;
}

/* Ayarlar Kartları */
.settings-group {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}

.settings-group h2 {
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
    color: #1f2937;
    font-size: 18px;
    font-weight: 600;
}

/* Modern Form Elemanları */
.setting-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.setting-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border-color: #fb923c;
    transform: translateY(-2px);
}

.setting-item label {
    display: block;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    letter-spacing: -0.3px;
}

.setting-item .description {
    font-size: 13px;
    color: #64748b;
    margin-top: 6px;
}

/* Modern Input Stilleri */
.input-wrapper {
    position: relative;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="url"],
textarea,
select {
    width: 100%;
    height: 45px;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #1e293b;
    transition: all 0.3s ease;
    line-height: 1.5;
}

input[type="text"]:hover,
input[type="number"]:hover,
input[type="email"]:hover,
input[type="url"]:hover,
textarea:hover,
select:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
    border-color: #fb923c;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.1);
    outline: none;
}

/* Modern Checkbox ve Radio */
.checkbox-wrapper,
.radio-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-wrapper:hover,
.radio-wrapper:hover {
    background: #f8fafc;
}

input[type="checkbox"],
input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

input[type="radio"] {
    border-radius: 50%;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
    background: #fb923c;
    border-color: #fb923c;
}

input[type="checkbox"]:checked::before {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 14px;
    font-weight: bold;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Modern Select */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    font-size: 12px;
}

select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    cursor: pointer;
}

/* Modern Range Slider */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #fb923c;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(251, 146, 60, 0.3);
    transition: all 0.3s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

/* Modern File Upload */
.file-upload {
    position: relative;
    padding: 30px;
    border: 2px dashed #e2e8f0;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload:hover {
    border-color: #fb923c;
    background: #fff;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload-icon {
    font-size: 40px;
    color: #64748b;
    margin-bottom: 10px;
}

.file-upload-text {
    color: #64748b;
    font-size: 14px;
}

/* Modern Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e2e8f0;
    transition: .3s;
    border-radius: 34px;
}

.switch .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.switch input:checked+.slider {
    background-color: #fb923c;
}

.switch input:checked+.slider:before {
    transform: translateX(24px);
}

/* Form Grid Layout */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Input Groups */
.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group input {
    border-radius: 12px 0 0 12px;
}

.input-group-append {
    padding: 14px 18px;
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    border-left: none;
    border-radius: 0 12px 12px 0;
    color: #64748b;
    font-size: 14px;
}

/* Form Validation States */
.is-valid {
    border-color: #10b981 !important;
}

.is-invalid {
    border-color: #ef4444 !important;
}

.validation-message {
    font-size: 13px;
    margin-top: 6px;
}

.validation-message.error {
    color: #ef4444;
}

.validation-message.success {
    color: #10b981;
}

/* Kaydet Butonu */
.save-settings {
    position: sticky;
    bottom: 0;
    background: #ffffff;
    padding: 20px;
    border-top: 1px solid #e9ecef;
    text-align: right;
    margin: 20px -20px -20px;
    border-radius: 0 0 12px 0;
}

#save-settings {
    background: #fb923c;
    border-color: #f97316;
    padding: 8px 20px;
    height: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

#save-settings:hover {
    background: #f97316;
}

#save-settings .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Tab İçerikleri */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Medya Yükleyici */
.media-uploader .preview {
    background: #f8f9fa;
    border: 2px dashed #e9ecef;
}

.media-uploader .button {
    background: #1f2937;
    color: #fff;
    border: none;
    margin-right: 10px;
}

.media-uploader .button:hover {
    background: #374151;
}

/* Responsive */
@media screen and (max-width: 782px) {
    .seobaz-admin-container {
        flex-direction: column;
    }

    .seobaz-sidebar {
        width: 100%;
        border-radius: 12px 12px 0 0;
    }

    .seobaz-content {
        border-radius: 0 0 12px 12px;
    }
}

/* Modern Uploader Stilleri */
.modern-uploader {
    background: #ffffff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.preview-area {
    position: relative;
    background: #f8fafc;
    border: 2px dashed #e2e8f0;
    border-radius: 15px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.preview-area:hover {
    border-color: #fb923c;
}

.preview-area.has-image {
    border-style: solid;
    background: #ffffff;
}

.preview-area img {
    max-width: 60%;
    max-height: 120px;
    object-fit: contain;
}

.upload-placeholder {
    width: 100%;
    height: 160px;
    cursor: pointer;
    text-align: center;
    color: #64748b;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    display: flex;
}

.upload-placeholder .dashicons {
    font-size: 36px;
    width: 36px;
    height: 36px;
    margin-bottom: 10px;
}

.upload-placeholder span {
    display: block;
    font-size: 14px;
}

.upload-actions {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: all 0.3s ease;
}

.preview-area:hover .upload-actions {
    opacity: 1;
}

.upload-actions button {
    background: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    color: #1f2937;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.upload-actions button:hover {
    transform: translateY(-2px);
}

.upload-actions .remove-btn {
    background: #ef4444;
    color: #ffffff;
}

.upload-info {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    font-size: 12px;
    color: #64748b;
}

/* Form Grid */
.settings-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* Setting Item */
.setting-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.setting-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.setting-item label {
    display: block;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

/* Renk Seçici Stilleri */
.color-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.color-picker-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
}

input[type="color"] {
    -webkit-appearance: none;
    width: 30%;
    min-width: 45px;
    height: 45px;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
}

input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 10px;
}

.color-value {
    font-family: monospace;
    font-size: 14px;
    color: #64748b;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.description {
    display: block;
    font-size: 13px;
    color: #64748b;
    margin-top: 8px;
}

.colors-row {
    grid-template-columns: repeat(2, minmax(250px, 1fr));
    gap: 20px;
}

/* Font Ayarları Stilleri */
.font-settings {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px;
}

.font-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.font-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.font-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.font-input-wrapper input[type="number"] {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #1f2937;
    transition: all 0.3s ease;
}

.font-input-wrapper input[type="number"]:hover {
    border-color: #cbd5e1;
}

.font-input-wrapper input[type="number"]:focus {
    border-color: #fb923c;
    box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.1);
    outline: none;
}

.font-input-wrapper .unit {
    position: absolute;
    right: 15px;
    color: #64748b;
    font-size: 14px;
    pointer-events: none;
}

/* Header Footer Layout Container */
.footer-layout-container,
.header-layout-container {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

/* Sol: Header Listesi */
.footer-templates-list,
.header-templates-list {
    width: 280px;
    flex-shrink: 0;
}

.footer-template-item,
.header-template-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.footer-template-item:hover,
.header-template-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.footer-template-item.active,
.header-template-item.active {
    border-color: #fb923c;
    background: #fff8f3;
}

.template-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.template-info h3 {
    font-size: 15px;
    font-weight: 500;
    color: #1f2937;
    margin: 0;
}

.active-badge {
    background: #fb923c;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* Sağ: Component Container */
.footer-components-container,
.header-components-container {
    flex: 1;
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.footer-components,
.header-components {
    display: none;
}

.footer-components.active,
.header-components.active {
    display: block;
}

.footer-components h3,
.header-components h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
}

.components-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.footer-components-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.component-item {
    background: #f8fafc;
    border-radius: 10px;
    padding: 20px;
}

.component-footer,
.component-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.component-footer label,
.component-header label {
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
}

/* Modern Switch */
.modern-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.modern-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e2e8f0;
    transition: .3s;
    border-radius: 34px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input:checked+.switch-slider {
    background-color: #fb923c;
}

input:checked+.switch-slider:before {
    transform: translateX(24px);
}

.component-value input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.component-value input:hover {
    border-color: #cbd5e1;
}

.component-value input:focus {
    border-color: #fb923c;
    box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.1);
    outline: none;
}

.no-components {
    text-align: center;
    color: #64748b;
    font-size: 14px;
    padding: 30px;
}

.homepage-widget-container {
    width: 100%;
    gap: 20px;
    grid-template-columns: 2fr 4fr;
    display: grid;
}

.sticky,
.homepage-widget-container .sticky {
    position: sticky;
    top: 40px;
    z-index: 10;
}

.box {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3sease;
}

.homepage-widget-template-list {
    width: 100%;
    flex-direction: column;
    margin: 0px;
    padding: 20px;
    gap: 10px;
    display: flex;
}

.homepage-widget-template-list li {
    min-width: 300px;
    margin: 0px;
    padding: 15px 20px;
    background-color: #f8fafc;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: move;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    position: relative;
}

.homepage-widget-template-list li .btn-hompage-widget-delete,
.homepage-widget-template-list li .homepage-widget-name .icon {
    display: none;
}

.homepage-widget-template-list li .image {
    width: 100%;
    max-width: 300px;
    height: auto;
    left: 100%;
    top: 0;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    border-radius: 10px;
    padding: 10px;
    z-index: 999;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: absolute;
    display: none;
}

.homepage-widget-template-list li:hover {
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em, rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;
}

.homepage-widget-template-list li:hover .image {
    display: block;
}

.homepage-widget-template-list li .image img {
    width: 100%;
    display: block;
}

.homepage-widget-list {
    width: 100%;
    margin: 0px;
    padding: 0px;
    border-radius: 15px;
    padding: 15px;
    gap: 10px;
    background-color: #f8fafc;
    border: 2px dashed rgba(0, 0, 0, 0.1);
    flex-direction: column;
    display: flex;
}

.homepage-widget-list .homepage-widget-empty-message {
    width: 100%;
    margin: 50px 0px;
    opacity: 0.7;
    align-items: center;
    flex-direction: column;
    display: flex;
}

.homepage-widget-list .homepage-widget-item {
    width: 100% !important;
    height: auto !important;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px 20px;
    margin: 0px;
    flex-direction: column;
    position: relative;
    display: flex;
}

.homepage-widget-list .ui-sortable-helper {
    max-width: 600px;
}

.homepage-widget-list .drop-highlight {
    border: 2px dashed #2271b1 !important;
    background-color: #f0f6fc !important;
    border-radius: 10px;
    min-height: 80px;
}

.homepage-widget-list .homepage-widget-item .image {
    display: none;
}

.homepage-widget-list .homepage-widget-item .homepage-widget-name {
    font-weight: 700;
    cursor: pointer;
    display: flex;
}

.homepage-widget-list .homepage-widget-item .homepage-widget-name .icon {
    display: none;
}

.homepage-widget-list .homepage-widget-item .homepage-widget-name:hover .icon {
    margin-right: 5px;
    display: block;
}

.btn-hompage-widget-delete {
    color: #ef4444;
    cursor: pointer;
}

.homepage-widget-detail-form {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    gap: 10px;
    flex-direction: column;
    display: none;
}

.homepage-widget-detail-form .homepage-form-box {
    background-color: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 7px;
    padding: 15px;
    gap: 5px;
    flex-direction: column;
    display: flex;
}

.homepage-form-box h3,
.homepage-widget-detail-form .homepage-form-box h3 {
    margin: 0px;
    font-size: 0.9rem;
}

.homepage-widget-detail-form .homepage-form-box input[type="text"],
.homepage-widget-detail-form .homepage-form-box input[type="number"],
.homepage-widget-detail-form .homepage-form-box input[type="email"],
.homepage-widget-detail-form .homepage-form-box input[type="url"],
.homepage-widget-detail-form .homepage-form-box textarea,
.homepage-widget-detail-form .homepage-form-box select {
    padding: 8px 10px;
    border-radius: 5px;
    background-color: #fff;
}

.homepage-widget-detail-form .btn-homepage-ok {
    width: 100%;
    background-color: #fb923c;
    border: 1px solid #f97316;
    outline: none;
    cursor: pointer;
    padding: 5px;
    color: #fff;
    border-radius: 7px;
    justify-content: center;
    display: flex;
}

.homepage-widget-detail-form .btn-homepage-ok:hover {
    background: #f97316;
}

.homepage-widget-list .ui-sortable-helper .homepage-widget-detail-form {
    display: none !important;
}

.homepage-widget-detail-form .preview-image {
    width: 100%;
    border-radius: 7px;
    display: block;
}

.btn-hompage-widget-delete * {
    pointer-events: none;
}

.delete-confirmation {
    width: fit-content;
    top: 3px;
    right: 10px;
    gap: 5px;
    background: #fff;
    position: absolute;
    justify-content: end;
    display: flex;
}

.delete-confirmation .cancel-delete {
    background: #fb923c;
    border: 1px solid #f97316;
    color: #fff;
    font-size: 13px;
    padding: 3px 5px;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

.delete-confirmation .confirm-delete {
    background: #ef4444;
    border: 1px solid #eb2d2d;
    color: #fff;
    font-size: 13px;
    padding: 3px 5px;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

.mt-0 {
    margin-top: 0px;
}

.mt-20 {
    margin-top: 20px;
}

.mb-0 {
    margin-bottom: 0px;
}

.p-20 {
    padding: 20px;
}

.plr-20 {
    padding: 0px 20px;
}

.gap-20 {
    gap: 20px;
}

.gap-10 {
    gap: 10px;
}

.w-100 {
    width: 100%;
}

.d-flex {
    display: flex;
}

.jc-between {
    justify-content: space-between;
}

.ai-center {
    align-items: center;
}

.select2-container {
    width: 100% !important;
    display: block !important;
}

.select2-container .select2-selection {
    height: 45px !important;
    display: flex !important;
    align-items: center !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    margin-bottom: 0px;
}

.select2-container--default .select2-selection--multiple,
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 2px solid #e2e8f0 !important;
}

/* Header Preview Image */
.footer-preview-image,
.header-preview-image {
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.footer-preview-image img,
.header-preview-image img {
    width: 100%;
    object-fit: cover;
    margin-bottom: -5px;
}

.footer-components-content,
.header-components-content {
    position: relative;
}

.selected-detail-layout-container {
    gap: 20px;
    flex-wrap: wrap;
    display: flex;
}

.selected-detail-layout-item {
    width: 200px;
    height: 200px;
    cursor: pointer;
    display: block;
}

.selected-detail-layout-item input {
    display: none;
}

.selected-detail-layout-item img {
    width: 100%;
    height: 100%;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    display: block;
}

.selected-detail-layout-item input:checked+img,
.selected-detail-layout-item:hover img {
    border-color: #fb923c;
}

.sidebar-tab-menu {
    width: 100%;
    margin-bottom: 0px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    align-items: end;
    justify-content: space-between;
    display: flex;
}

.sidebar-tab-menu li {
    width: 100%;
    margin-bottom: 0px;
    display: block;
}

.sidebar-tab-menu li .btn {
    width: 100%;
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    padding: 7px 5px;
    background-color: #f8fafc;
    color: rgba(0, 0, 0, 0.6);
    outline: none;
    justify-content: center;
    align-items: center;
    display: flex;
}

.sidebar-tab-menu .active .btn {
    background-color: rgb(249 115 22 / 0.1);
    color: rgb(249 115 22 / 0.9);
    padding: 10px 5px;
}

.sidebar-tab-menu .btn:hover {
    background-color: rgb(249 115 22 / 0.1);
    color: rgb(249 115 22 / 0.9);
}

.d-none {
    display: none;
}

/*========== Tooltip ==========*/
[tooltip] {
    position: relative;
}

[tooltip]::before,
[tooltip]::after {
    text-transform: none;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1;
    user-select: none;
    pointer-events: none;
    position: absolute;
    display: none;
    opacity: 0;
}

[tooltip]::before {
    content: '';
    border: 5px solid transparent;
    z-index: 1001;
}

[tooltip]::after {
    content: attr(tooltip);
    text-align: center;
    width: max-content;
    min-width: 3em;
    max-width: 21em;
    /* white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; */
    padding: 1ch 1.5ch;
    border-radius: .3ch;
    box-shadow: 0 1em 2em -.5em rgba(0, 0, 0, 0.35);
    background: #333;
    color: #fff;
    z-index: 1000;
}

[tooltip]:hover::before,
[tooltip]:hover::after {
    display: block;
}

[tooltip='']::before,
[tooltip='']::after {
    display: none !important;
}

[tooltip]:not([flow])::before,
[tooltip][flow^="up"]::before {
    bottom: 100%;
    border-bottom-width: 0;
    border-top-color: #333;
}

[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::after {
    bottom: calc(100% + 5px);
}

[tooltip]:not([flow])::before,
[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::before,
[tooltip][flow^="up"]::after {
    left: 50%;
    transform: translate(-50%, -.5em);
}

[tooltip][flow^="down"]::before {
    top: 100%;
    border-top-width: 0;
    border-bottom-color: #333;
}

[tooltip][flow^="down"]::after {
    top: calc(100% + 5px);
}

[tooltip][flow^="down"]::before,
[tooltip][flow^="down"]::after {
    left: 50%;
    transform: translate(-50%, .5em);
}

[tooltip][flow^="left"]::before {
    top: 50%;
    border-right-width: 0;
    border-left-color: #333;
    left: calc(0em - 5px);
    transform: translate(-.5em, -50%);
}

[tooltip][flow^="left"]::after {
    top: 50%;
    right: calc(100% + 5px);
    transform: translate(-.5em, -50%);
}

[tooltip][flow^="right"]::before {
    top: 50%;
    border-left-width: 0;
    border-right-color: #333;
    right: calc(0em - 5px);
    transform: translate(.5em, -50%);
}

[tooltip][flow^="right"]::after {
    top: 50%;
    left: calc(100% + 5px);
    transform: translate(.5em, -50%);
}

@keyframes tooltips-vert {
    to {
        opacity: .9;
        transform: translate(-50%, 0);
    }
}

@keyframes tooltips-horz {
    to {
        opacity: .9;
        transform: translate(0, -50%);
    }
}

[tooltip]:not([flow]):hover::before,
[tooltip]:not([flow]):hover::after,
[tooltip][flow^="up"]:hover::before,
[tooltip][flow^="up"]:hover::after,
[tooltip][flow^="down"]:hover::before,
[tooltip][flow^="down"]:hover::after {
    animation: tooltips-vert 300ms ease-out forwards;
}

[tooltip][flow^="left"]:hover::before,
[tooltip][flow^="left"]:hover::after,
[tooltip][flow^="right"]:hover::before,
[tooltip][flow^="right"]:hover::after {
    animation: tooltips-horz 300ms ease-out forwards;
}

/*========== Tooltip End ==========*/

.btn-add-new-ads {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: rgb(0, 0, 0, 0.9);
    color: #fff;
    padding: 7px 10px;
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    display: flex;
}

.btn-add-new-ads:hover {
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.haber-botu-kategori-container {
    grid-template-columns: 0.7fr 0.7fr 1fr 0.5fr auto;
    gap: 10px;
    display: grid;
}

.haber-botu-kategori-container .btn-delete{
    width: 100%;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    outline: none;
    margin-top: 20px;
    padding: 0px 10px;
    font-weight: 600;
    height: 43px;
    color: #fff;
    justify-content: center;
    align-items: center;
    background-color: #FF0000;
    display: flex;
}

.haber-botu-flex-box {
    margin-top: 20px;
    gap: 10px;
    flex-direction: column;
    display: flex;
}

.btn-add-category-item {
    width: 100%;
    background: #fb923c;
    border: 1px solid #f97316;
    height: auto;
    border-radius: 5px;
    color: #fff;
    margin-top: 20px;
    cursor: pointer;
    padding: 5px;
    gap: 5px;
    outline: none;
    transition: all 0.3s ease;
    justify-content: center;
    align-items: center;
    display: flex;
}

.btn-add-category-item .icon{
    height: 11px;
    font-size: 0.9rem;
}