/* assets/css/admin.css */
body {
    background-color: #050505;
    color: #e0e0e0;
    font-family: 'Inter', sans-serif;
}

.text-muted, .small {
    color: #a0a0a0 !important;
}

.form-text {
    color: #909090 !important;
}

/* DataTables Info and Pagination */
.dataTables_info, .dataTables_paginate {
    color: #a0a0a0 !important;
    padding: 10px;
}

.dataTables_length, .dataTables_filter {
    color: #e0e0e0 !important;
    padding: 10px;
}


.bg-darker {
    background-color: #111 !important;
}

.text-gold {
    color: #ffd700 !important;
}

.border-secondary {
    border-color: #333 !important;
}

/* Navbar */
.navbar {
    background: linear-gradient(90deg, #111 0%, #000 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Buttons */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.5);
}

.btn-success {
    background-color: #198754;
    border-color: #198754;
}

.btn-success:hover {
    background-color: #157347;
    border-color: #146c43;
    box-shadow: 0 0 10px rgba(25, 135, 84, 0.5);
}

.btn-outline-secondary {
    color: #ccc;
    border-color: #444;
}

.btn-outline-secondary:hover {
    color: #fff;
    background-color: #333;
    border-color: #555;
}

/* Forms */
.form-control:focus, .form-select:focus {
    background-color: #222;
    border-color: #ffd700;
    color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25);
}

/* Preview Area */
.preview-container {
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    position: relative;
    background-color: #000;
    border-radius: 0 0 0.375rem 0.375rem;
    overflow: hidden;
}

.preview-content {
    width: 1920px;
    height: 1080px;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: top left;
    display: flex;
    padding: 100px; /* Match output safe area */
}

.preview-content > span {
    display: block;
    max-width: 100%;
    word-wrap: break-word;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Table */
.table-dark {
    background-color: #111;
}
.table-hover > tbody > tr:hover > * {
    color: #fff;
    background-color: #222;
}

/* Summernote Dark Theme Fixes */
.note-editor.note-frame {
    border: 1px solid #333 !important;
    background-color: #111 !important;
}
.note-editor .note-editing-area .note-editable {
    color: #fff !important;
    background-color: #050505 !important;
}
.note-toolbar {
    background-color: #222 !important;
    border-bottom: 1px solid #333 !important;
}
.note-btn-group .note-btn {
    color: #e0e0e0 !important;
    background-color: #333 !important;
    border-color: #444 !important;
}
.note-btn-group .note-btn:hover {
    background-color: #444 !important;
    color: #fff !important;
}
.note-statusbar {
    background-color: #222 !important;
}
.note-dropdown-menu {
    background-color: #333 !important;
}
.note-dropdown-item {
    color: #fff !important;
}
.note-dropdown-item:hover {
    background-color: #444 !important;
}

/* Mobile Modal Fixes */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 0.5rem;
        max-width: 100% !important;
    }
    .modal-content {
        border-radius: 0.5rem;
    }
    .note-modal .modal-dialog {
        margin-top: 10% !important;
    }
    /* Gelen İstekler tablosu vb. için taşmaları önleme */
    .table-responsive {
        font-size: 0.85rem;
    }
    .btn {
        padding: 0.375rem 0.5rem;
    }
}
