/* Main Layout Styles */
.page {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.app-header {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    height: 60px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
    height: 100%;
}

.sidebar-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.2s;
}

.sidebar-toggle:hover {
    background: #f0f0f0;
}

.toggle-icon {
    font-size: 1.5rem;
}

.brand {
    font-weight: 600;
}

.app-container {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.sidebar {
    width: 260px;
    background: white;
    border-right: 1px solid #e0e0e0;
    overflow-y: auto;
    transition: transform 0.3s ease, width 0.3s ease;
}

.sidebar.expanded {
    width: 260px;
    transform: translateX(0);
}

.sidebar.collapsed {
    transform: translateX(-100%);
    width: 0;
}

.main-content {
    flex: 1;
    overflow-y: auto;
    background: #f8f9fa;
}

.content-wrapper {
    padding: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: 0;
        top: 60px;
        height: calc(100vh - 60px);
        z-index: 999;
        box-shadow: 2px 0 8px rgba(0,0,0,0.1);
    }

    .sidebar.collapsed {
        transform: translateX(-100%);
    }

    .sidebar.expanded {
        width: 260px;
        transform: translateX(0);
    }
}

/* Notification Styles */
.rz-notification {
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    font-weight: 500 !important;
    border: none !important;
    margin: 0 !important;
}

.rz-notification-success {
    background: #d4edda !important;
    color: #155724 !important;
    border-left: 4px solid #28a745 !important;
}

.rz-notification-success .rz-icon,
.rz-notification-success .rz-icon svg,
.rz-notification-success .rz-icon i,
.rz-notification-success .rz-icon::before,
.rz-notification-success .rz-icon::after {
    color: #28a745 !important;
}

/* Emoji ve özel karakterler için */
.rz-notification-success {
    filter: none !important;
}

.rz-notification-error {
    background: #f8d7da !important;
    color: #721c24 !important;
    border-left: 4px solid #dc3545 !important;
}

.rz-notification-error .rz-icon,
.rz-notification-error .rz-icon svg,
.rz-notification-error .rz-icon i {
    color: #dc3545 !important;
}

.rz-notification-info {
    background: #d1ecf1 !important;
    color: #0c5460 !important;
    border-left: 4px solid #17a2b8 !important;
}

.rz-notification-info .rz-icon,
.rz-notification-info .rz-icon svg,
.rz-notification-info .rz-icon i {
    color: #17a2b8 !important;
}

.rz-notification-warning {
    background: #fff3cd !important;
    color: #856404 !important;
    border-left: 4px solid #ffc107 !important;
}

.rz-notification-warning .rz-icon,
.rz-notification-warning .rz-icon svg,
.rz-notification-warning .rz-icon i {
    color: #ffc107 !important;
}

@media (prefers-color-scheme: dark) {
    .app-header {
        background: #1a1a1a;
        border-bottom-color: #333;
    }

    .sidebar {
        background: #1a1a1a;
        border-right-color: #333;
    }

    .main-content {
        background: #0d0d0d;
    }

    .sidebar-toggle:hover {
        background: #2a2a2a;
    }
}

