/**
 * Mini Muhasebe Sistemi - Modern CSS
 * Kompakt, temiz, tema destekli
 */

/* ========================================== TEMA ========================================== */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #06b6d4;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --border:  #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.2s ease;
    --sidebar-width: 260px;
    --header-height: 70px;
    --border-radius: 12px;
}

/* ========================================== RESET ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}

/* ========================================== LAYOUT ========================================== */
.dashboard {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    position: fixed;
    left: 0;
    top:  0;
    bottom: 0;
    overflow-y: auto;
    z-index: 1000;
    transition: var(--transition);
}

.sidebar-header {
    padding: 24px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.sidebar-header h2 {
    font-size:  19px;
    font-weight:  700;
    margin:  0;
}

.sidebar-menu {
    list-style: none;
    padding: 12px 0;
}

.sidebar-menu li {
    margin: 2px 8px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
}

.sidebar-menu a:hover {
    background: var(--bg-main);
    color: var(--primary);
}

.sidebar-menu a.active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-weight: 600;
}

.menu-icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.menu-divider {
    height: 1px;
    background: var(--border);
    margin: 12px 16px;
}

.badge-soon {
    background: var(--warning);
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius:  10px;
    font-weight:  700;
    margin-left: auto;
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}

.header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 0 32px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-left h1 {
    font-size: 24px;
    font-weight:  700;
    color: var(--text-primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.datetime {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius:  50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-name {
    font-size:  14px;
    font-weight:  600;
    color: var(--text-primary);
    line-height: 1.2;
}

.user-role {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.2;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-primary);
}

.content {
    padding: 32px;
    max-width: 1400px;
}

/* ========================================== COMPONENTS ========================================== */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.page-header h2 {
    font-size:  28px;
    font-weight:  700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-actions {
    display: flex;
    gap: 12px;
}

.card, .welcome-section, .form-container, .table-container, .search-box, .detail-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 24px;
}

.card-header, .detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom:  2px solid var(--border);
}

.card-header h3 {
    font-size: 18px;
    font-weight: 600;
    color:  var(--text-primary);
    margin: 0;
}

.detail-header h2 {
    font-size:  24px;
    font-weight:  700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap:  12px;
}

.detail-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.detail-info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-info-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-info-value {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

/* ========================================== STATS ========================================== */
.stats-grid {
    display: grid;
    grid-template-columns:  repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stats-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.stats-grid.compact .stat-card {
    padding: 20px;
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.stats-grid.compact .stat-card-header {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin-bottom: 0;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius:  12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.stats-grid.compact .stat-icon {
    width: 48px;
    height: 48px;
    font-size: 24px;
    flex-shrink: 0;
}

.stat-icon.primary {
    background: rgba(37, 99, 235, 0.1);
}

.stat-icon.success {
    background: rgba(16, 185, 129, 0.1);
}

.stat-icon.danger {
    background: rgba(239, 68, 68, 0.1);
}

.stat-icon.info {
    background: rgba(6, 182, 212, 0.1);
}

.stat-icon.warning {
    background: rgba(245, 158, 11, 0.1);
}

.stats-grid.compact .stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    margin:  12px 0 8px;
}

.stats-grid.compact .stat-label {
    margin:  0;
    font-size: 13px;
    font-weight: 600;
}

.stat-value {
    font-size: 32px;
    font-weight:  700;
    color: var(--text-primary);
}

.stats-grid.compact .stat-value {
    font-size: 24px;
    line-height: 1;
}

.stat-value.positive,
.text-success {
    color: var(--success) !important;
    font-weight: 600;
}

.stat-value.negative,
.text-danger {
    color: var(--danger) !important;
    font-weight: 600;
}

.text-warning {
    color: var(--warning) !important;
    font-weight: 600;
}

.text-info {
    color: var(--info) !important;
    font-weight: 600;
}

/* ========================================== SEARCH & FILTERS ========================================== */
.search-box {
    padding: 28px;
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.search-header h3 {
    font-size:  16px;
    font-weight:  600;
    color: var(--text-primary);
    margin: 0;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 20px;
    background: var(--bg-main);
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.filter-tab:hover {
    background: rgba(37, 99, 235, 0.05);
    color: var(--primary);
}

.filter-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 16px;
    align-items: end;
}

.search-buttons {
    display: flex;
    gap: 10px;
}

/* ========================================== FORMS ========================================== */
.form-container {
    max-width: 900px;
    padding: 32px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-grid.full {
    grid-template-columns: 1fr;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group label .required {
    color: var(--danger);
    margin-left: 4px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group input[type="url"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    color: var(--text-primary);
    background: var(--bg-card);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline:  none;
    border-color:  var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.form-group small {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.form-section {
    margin-bottom: 32px;
}

.form-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom:  2px solid var(--border);
}

.form-actions {
    display: flex;
    gap: 12px;
    padding-top: 24px;
    border-top: 2px solid var(--border);
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.radio-option label {
    font-weight: 500;
    cursor: pointer;
    margin:  0;
}

/* ========================================== BUTTONS ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border:  none;
    border-radius: 8px;
    font-size: 15px;
    font-weight:  600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover {
    background: #059669;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-warning {
    background: var(--warning);
    color: white;
}

.btn-warning:hover {
    background: #d97706;
}

.btn-info {
    background: var(--info);
    color: white;
}

.btn-info:hover {
    background:  #0891b2;
}

.btn-secondary {
    background: var(--bg-main);
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-lg {
    padding: 14px 28px;
    font-size:  16px;
}

.btn-block {
    width:  100%;
    justify-content: center;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========================================== TABLES ========================================== */
.table-container {
    padding: 0;
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.table thead {
    background: var(--bg-main);
    border-bottom: 2px solid var(--border);
}

.table th {
    padding: 16px;
    text-align: left;
    font-size: 13px;
    font-weight:  700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
    vertical-align: middle;
}

.table tbody tr {
    transition: var(--transition);
}

.table tbody tr:hover {
    background: var(--bg-main);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.action-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================== BADGES ========================================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size:  13px;
    font-weight:  600;
}

.badge-musteri {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.badge-tedarikci {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.badge-her-ikisi {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.badge-info {
    background: rgba(6, 182, 212, 0.1);
    color: var(--info);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

/* ========================================== TABS ========================================== */
.tabs {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 24px;
    overflow-x: auto;
}

.tab-button {
    padding: 14px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    font-size: 15px;
    font-weight:  600;
    color: var(--text-secondary);
    transition: var(--transition);
    white-space: nowrap;
}

.tab-button:hover {
    color: var(--primary);
    background: var(--bg-main);
}

.tab-button.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================== MODALS ========================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left:  0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 32px;
    max-width:  600px;
    width:  90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
}

.modal-header h3 {
    font-size:  20px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--danger);
}

.modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 20px;
    border-top:  1px solid var(--border);
}

/* ========================================== ALERTS ========================================== */
.alert {
    padding: 16px 20px;
    border-radius:  8px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight:  500;
    border-left: 4px solid;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
    border-color: var(--success);
}

.alert-error {
    background:  rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border-color: var(--danger);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #92400e;
    border-color: var(--warning);
}

.alert-info {
    background: rgba(6, 182, 212, 0.1);
    color: #164e63;
    border-color: var(--info);
}

/* ========================================== PAGINATION ========================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-top: 1px solid var(--border);
}

.pagination-info {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight:  500;
}

/* ========================================== HESAP KARTLARI ========================================== */
.hesap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.hesap-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 24px;
    border: 2px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hesap-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.hesap-card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.hesap-icon {
    width:  56px;
    height:  56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items:  center;
    justify-content:  center;
    font-size:  28px;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

.hesap-info {
    flex: 1;
    min-width: 0;
}

.hesap-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px 0;
    word-break: break-word;
}

.hesap-tip {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.hesap-bakiye {
    background: var(--bg-main);
    padding: 20px;
    border-radius: 10px;
    text-align:  center;
    margin: 8px 0;
}

.bakiye-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.bakiye-value {
    font-size: 32px;
    font-weight:  800;
    line-height: 1.2;
}

.bakiye-value.positive {
    color: var(--success);
}

.bakiye-value.negative {
    color: var(--danger);
}

.hesap-aciklama {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 14px;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.hesap-durum {
    display: flex;
    justify-content: center;
    padding: 8px 0;
}

.hesap-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 16px;
    border-top:  2px solid var(--border);
}

.hesap-actions .btn {
    width: 100%;
    justify-content: center;
    font-size: 14px;
    padding: 10px 16px;
}

/* ========================================== NOTES ========================================== */
.notes-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.note-item {
    background: var(--bg-main);
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid var(--primary);
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom:  1px solid var(--border);
}

.note-author {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
}

.note-body {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.6;
}

/* ========================================== UTILITY ========================================== */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-1 {
    margin-top:  8px;
}

.mt-2 {
    margin-top: 16px;
}

.mt-3 {
    margin-top: 24px;
}

.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom:  24px;
}

.hidden {
    display: none;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-state p {
    font-size: 16px;
    margin-bottom: 20px;
}

.spinner {
    border: 3px solid var(--border);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ========================================== AUTH ========================================== */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-box {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 48px;
    width: 100%;
    max-width: 480px;
}

.auth-box h1 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 32px;
    font-weight: 700;
}

.auth-box p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin:  16px 0;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-group label {
    margin:  0;
    cursor: pointer;
    font-weight: 500;
}

/* ========================================== RESPONSIVE ========================================== */
@media (max-width: 1200px) {
    .hesap-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 1024px) {
    .detail-info {
        grid-template-columns: 1fr 1fr;
    }
    .search-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width:  768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.active {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .header {
        padding: 0 20px;
    }
    .header-left h1 {
        font-size: 18px;
    }
    .datetime {
        display: none;
    }
    .content {
        padding: 20px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .detail-info {
        grid-template-columns: 1fr;
    }
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .auth-box {
        padding: 32px 24px;
    }
    .form-actions {
        flex-direction: column;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    .hesap-grid {
        grid-template-columns: 1fr;
    }
    .hesap-actions {
        grid-template-columns: 1fr;
    }
}

@media print {
    .sidebar,
    .header,
    .page-actions,
    .action-buttons,
    .btn {
        display: none !important;
    }
    .main-content {
        margin-left: 0 !important;
    }
    .content {
        padding: 0 !important;
    }
}