/* Getränke Central Hub — Custom Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'DM Sans', sans-serif; background: #f8fafc; color: #0f172a; }

/* Sidebar */
.gc-sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; width: 250px;
    background: #fff; border-right: 1px solid #e2e8f0;
    z-index: 40; transition: transform 0.2s;
}
@media (max-width: 767px) {
    .gc-sidebar { transform: translateX(-100%); }
    .gc-sidebar.gc-sidebar-open { transform: translateX(0); box-shadow: 0 0 40px rgba(0,0,0,0.15); }
}
.gc-nav-item, .gc-nav-active {
    display: block; padding: 10px 16px; border-radius: 8px;
    font-size: 14px; font-weight: 500; text-decoration: none;
    transition: all 0.15s;
}
.gc-nav-item { color: #64748b; }
.gc-nav-item:hover { background: #F0F4F7; color: #6A8D9F; }
.gc-nav-active { background: #6A8D9F; color: #fff; }

/* Mobile header */
.gc-mobile-header {
    position: sticky; top: 0; z-index: 30;
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px; background: #fff; border-bottom: 1px solid #e2e8f0;
}

/* Main content */
.gc-main { margin-left: 250px; min-height: 100vh; }
@media (max-width: 767px) { .gc-main { margin-left: 0; } }

/* Cards */
.gc-card {
    background: #fff; border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    border: 1px solid #f1f5f9;
}

/* Table */
.gc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.gc-table th {
    text-align: left; padding: 12px 16px; font-weight: 600;
    color: #64748b; font-size: 12px; text-transform: uppercase;
    letter-spacing: 0.05em; border-bottom: 2px solid #e2e8f0;
}
.gc-table td { padding: 12px 16px; border-bottom: 1px solid #f1f5f9; }
.gc-table tr:hover td { background: #F0F4F7; }

/* Buttons */
.gc-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 20px; border-radius: 8px; font-size: 14px;
    font-weight: 600; cursor: pointer; border: none;
    transition: all 0.15s; text-decoration: none;
}
.gc-btn-primary { background: #6A8D9F; color: #fff; }
.gc-btn-primary:hover { background: #547485; }
.gc-btn-secondary { background: #f1f5f9; color: #64748b; }
.gc-btn-secondary:hover { background: #e2e8f0; }
.gc-btn-danger { background: #fee2e2; color: #dc2626; }
.gc-btn-danger:hover { background: #fecaca; }
.gc-btn-sm { padding: 6px 12px; font-size: 13px; }

/* Form fields */
.gc-input, .gc-select, .gc-textarea {
    width: 100%; padding: 10px 14px; border: 1px solid #e2e8f0;
    border-radius: 8px; font-size: 14px; font-family: inherit;
    transition: border-color 0.15s; background: #fff;
}
.gc-input:focus, .gc-select:focus, .gc-textarea:focus {
    outline: none; border-color: #6A8D9F;
    box-shadow: 0 0 0 3px rgba(106,141,159,0.15);
}
.gc-textarea { resize: vertical; min-height: 80px; }
.gc-label { display: block; font-size: 13px; font-weight: 600; color: #475569; margin-bottom: 4px; }

/* Badge */
.gc-badge {
    display: inline-block; padding: 2px 10px; border-radius: 9999px;
    font-size: 12px; font-weight: 600;
}
.gc-badge-green { background: #dcfce7; color: #16a34a; }
.gc-badge-yellow { background: #fef9c3; color: #a16207; }
.gc-badge-slate { background: #F0F4F7; color: #6A8D9F; }
.gc-badge-red { background: #fee2e2; color: #dc2626; }

/* Dropzone */
.gc-dropzone {
    border: 2px dashed #e2e8f0; border-radius: 12px; padding: 32px;
    text-align: center; cursor: pointer; transition: all 0.15s;
}
.gc-dropzone:hover, .gc-dropzone.dragover { border-color: #6A8D9F; background: #F0F4F7; }

/* Toast */
.gc-toast {
    position: fixed; bottom: 24px; right: 24px; z-index: 100;
    padding: 12px 24px; border-radius: 8px; font-size: 14px; font-weight: 500;
    color: #fff; background: #16a34a;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: toastIn 0.3s, toastOut 0.3s 2.7s;
}
.gc-toast-error { background: #dc2626; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; } }

/* Login page */
.gc-login-bg {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #6A8D9F 0%, #547485 100%);
}
