/* Envanter & Bakım Takip Otomasyonu - Fuşya/Koyu Gri/Beyaz Tema */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #67035d;
    --primary-dark: #4a0242;
    --primary-light: #fce7f3;
    --dark: #1f1f1f;
    --dark-light: #2d2d2d;
    --gray: #6b7280;
    --gray-light: #f5f5f7;
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--gray-light);
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.main-header {
    background: var(--dark-light);
    padding: 2px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-left .logo {
    height: 90px;
}

.header-left h1 {
    font-size: 18px;
    color: #fff;
    font-weight: 600;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info {
    font-weight: 500;
    color: #ccc;
    font-size: 14px;
}

.btn-password {
    background: var(--primary);
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-password:hover {
    background: var(--primary-dark);
}

.btn-logout {
    background: var(--danger);
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    transition: background 0.3s;
    font-size: 14px;
}

.btn-logout:hover {
    background: #b91c1c;
}

/* Main Content Layout */
.main-content {
    display: flex;
    flex: 1;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: var(--dark);
    color: white;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

.nav-menu {
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #aaa;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.nav-item:hover {
    background: rgba(219, 39, 119, 0.2);
    border-left-color: var(--primary);
    color: #fff;
}

.nav-item.active {
    background: rgba(219, 39, 119, 0.3);
    border-left-color: var(--primary);
    color: #fff;
}

.nav-item i {
    width: 20px;
    text-align: center;
}

.nav-section {
    margin-top: 20px;
}

.nav-section-title {
    padding: 10px 20px;
    font-size: 11px;
    text-transform: uppercase;
    opacity: 0.5;
    letter-spacing: 1px;
    color: #888;
}

.nav-section-disabled {
    background: rgba(0, 0, 0, 0.3);
    margin-top: 30px;
}

.sidebar-stats {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-around;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
}

.stat-label {
    font-size: 11px;
    opacity: 0.6;
    color: #aaa;
}

/* Content Area */
.content {
    flex: 1;
    padding: 30px;
    background: var(--gray-light);
}

.page-title {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary);
}

/* Cards */
.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header {
    background: var(--primary);
    color: white;
    padding: 15px 20px;
    font-weight: 600;
}

.card-body {
    padding: 20px;
}

/* Tables */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

table th {
    background: var(--dark-light);
    color: white;
    font-weight: 600;
    font-size: 13px;
}

table tbody tr:hover {
    background: var(--primary-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover {
    background: #047857;
}

.btn-warning {
    background: var(--warning);
    color: white;
}

.btn-warning:hover {
    background: #b45309;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #b91c1c;
}

.btn-secondary {
    background: #4b5563;
    color: white;
}

.btn-secondary:hover {
    background: #374151;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e5e5;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

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

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-info {
    background: var(--primary-light);
    color: var(--primary-dark);
    border: 1px solid #fbcfe8;
}

.alert-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.5;
}

.alert-close:hover {
    opacity: 1;
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border-left: 5px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.stat-card.purple { border-left-color: var(--primary); }
.stat-card.green { border-left-color: var(--success); }
.stat-card.orange { border-left-color: var(--warning); }
.stat-card.gray { border-left-color: #4b5563; }

.stat-card .icon {
    font-size: 45px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
}

.stat-card.purple .icon { background: var(--primary-light); color: var(--primary); }
.stat-card.green .icon { background: #d1fae5; color: var(--success); }
.stat-card.orange .icon { background: #fef3c7; color: var(--warning); }
.stat-card.gray .icon { background: #f3f4f6; color: #4b5563; }

.stat-card .info {
    flex: 1;
}

.stat-card .number {
    font-size: 32px;
    font-weight: bold;
    color: var(--dark);
    line-height: 1;
}

.stat-card .label {
    color: var(--gray);
    margin-top: 5px;
    font-size: 14px;
}

/* Project List */
.project-list {
    display: grid;
    gap: 15px;
}

.project-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border-left: 4px solid var(--primary);
}

.project-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-item.disabled {
    border-left-color: #9ca3af;
    opacity: 0.7;
}

.project-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark);
}

.project-info p {
    color: var(--gray);
    font-size: 14px;
}

.project-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #9ca3af;
    margin-top: 8px;
    flex-wrap: wrap;
}

/* Panel Grid */
.panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.panel-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.panel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.panel-card-header {
    background: var(--dark-light);
    color: white;
    padding: 15px;
}

.panel-card-header h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.panel-card-header .panel-code {
    font-size: 12px;
    opacity: 0.7;
}

.panel-card-body {
    padding: 15px;
}

.panel-detail {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
}

.panel-detail:last-child {
    border-bottom: none;
}

.panel-detail .label {
    color: var(--gray);
}

.panel-card-footer {
    padding: 15px;
    background: #f9fafb;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Status Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

.badge-info {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* Status Indicators with Animation */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-indicator .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-indicator.open {
    background: #d1fae5;
    color: #065f46;
}

.status-indicator.open .dot {
    background: #10b981;
    animation: blink 1s infinite;
}

.status-indicator.closed {
    background: #f3f4f6;
    color: #6b7280;
}

.status-indicator.closed .dot {
    background: #9ca3af;
}

.status-indicator.other {
    background: #fee2e2;
    color: #991b1b;
}

.status-indicator.other .dot {
    background: #ef4444;
    animation: blink 0.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* QR Code Display */
.qr-container {
    text-align: center;
    padding: 30px;
}

.qr-image {
    max-width: 200px;
    border: 2px solid #e5e5e5;
    padding: 10px;
    background: white;
    border-radius: 10px;
}

.qr-label {
    margin-top: 15px;
    font-weight: 600;
    color: var(--dark);
}

/* File List */
.file-list {
    list-style: none;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f3f4f6;
}

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

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.file-info i {
    font-size: 24px;
    color: var(--danger);
}

.file-name {
    font-weight: 500;
    color: #374151;
}

.file-size {
    font-size: 12px;
    color: #9ca3af;
}

/* Log Table */
.log-table th {
    background: #4b5563;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9fafb;
}

.modal-header h3 {
    font-size: 18px;
    color: var(--dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray);
}

.modal-close:hover {
    color: var(--dark);
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #e5e5e5;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: #f9fafb;
}

/* Footer */
.main-footer {
    background: var(--dark);
    color: #aaa;
    text-align: center;
    padding: 20px;
    font-size: 13px;
}

.main-footer a {
    color: var(--primary);
}

.main-footer a:hover {
    text-decoration: underline;
}

/* Login Page */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/arka.png') no-repeat center center;
    background-size: cover;
    position: relative;
}

.login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.login-container {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    width: 100%;
    max-width: 420px;
    animation: glassAppear 0.6s ease-out;
}

@keyframes glassAppear {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 24px 24px 0 0;
    pointer-events: none;
}

.login-logo {
    text-align: center;
    margin-bottom: 5px;
}

.login-logo img {
    max-width: 320px;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 8px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.login-header p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

.login-form .form-label {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.login-form .form-control {
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.login-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.login-form .form-control:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.login-form .btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border-radius: 12px;
    background: rgba(103, 3, 93, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(103, 3, 93, 0.3);
    transition: all 0.3s ease;
}

.login-form .btn:hover {
    background: rgba(103, 3, 93, 0.85);
    box-shadow: 0 6px 20px rgba(103, 3, 93, 0.4);
    transform: translateY(-1px);
}

.login-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.login-page .alert-error {
    background: rgba(220, 38, 38, 0.2);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #fecaca;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
}

/* Inventory Table */
.inventory-table {
    width: 100%;
}

.inventory-table input {
    width: 100%;
    padding: 8px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 13px;
}

.inventory-table input:focus {
    border-color: var(--primary);
    outline: none;
}

.inventory-table td {
    vertical-align: middle;
}

/* Saved indicator */
.saved-indicator {
    color: var(--success);
    font-size: 16px;
    margin-left: 5px;
}

/* Maintenance Log */
.maintenance-item {
    background: white;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.maintenance-item .header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.maintenance-item .inspector {
    font-weight: 600;
    color: var(--dark);
    font-size: 15px;
}

.maintenance-item .datetime {
    color: var(--gray);
    font-size: 13px;
}

.maintenance-item .type {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
}

.maintenance-item .type.maintenance {
    background: #fef3c7;
    color: #92400e;
}

.maintenance-item .type.inspection {
    background: #d1fae5;
    color: #065f46;
}

.maintenance-item .notes {
    color: #374151;
    font-size: 14px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f3f4f6;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.info-item {
    text-align: center;
    padding: 15px;
    background: #f9fafb;
    border-radius: 8px;
}

.info-item .label {
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.info-item .value {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.image-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.image-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
}

.image-item img:hover {
    transform: scale(1.05);
}

.image-item .delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--danger);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 12px;
}

/* Access Code */
.access-code-box {
    background: var(--primary-light);
    border: 2px dashed var(--primary);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.access-code {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 8px;
    color: var(--primary);
    font-family: monospace;
}

.access-code-expires {
    color: var(--gray);
    font-size: 13px;
    margin-top: 10px;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}

.empty-state i {
    font-size: 60px;
    margin-bottom: 20px;
    opacity: 0.3;
    color: var(--primary);
}

.empty-state h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #374151;
}

.empty-state p {
    margin-bottom: 20px;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.quick-action {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.quick-action:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.quick-action i {
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 10px;
}

.quick-action span {
    display: block;
    font-weight: 500;
    color: var(--dark);
}

/* Recent Activity */
.activity-list {
    list-style: none;
}

.activity-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f3f4f6;
}

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

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
}

.activity-content {
    flex: 1;
}

.activity-content strong {
    color: var(--dark);
}

.activity-time {
    font-size: 12px;
    color: var(--gray);
}

/* Responsive */
@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        order: 2;
    }
    .nav-menu {
        display: flex;
        overflow-x: auto;
        padding: 10px;
    }
    .nav-item {
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    .nav-item.active {
        border-bottom-color: var(--primary);
    }
    .nav-section, .sidebar-stats {
        display: none;
    }
}

@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        gap: 5px;
        text-align: center;
        padding: 3px 15px;
    }
    .header-left {
        flex-direction: column;
        gap: 3px;
    }
    .header-left .logo {
        height: 70px;
    }
    .header-left h1 {
        font-size: 14px;
    }
    .header-right {
        width: 100%;
        justify-content: center;
    }
    .content {
        padding: 15px;
    }
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .panel-grid {
        grid-template-columns: 1fr;
    }
    .project-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .btn-group {
        width: 100%;
        justify-content: flex-start;
    }
}

@media print {
    .sidebar, .main-header, .main-footer, .btn-group {
        display: none !important;
    }
    .content {
        padding: 0;
    }
    .card {
        box-shadow: none;
        border: 1px solid #e5e5e5;
    }
}
