/* --- GLOBALE VARIABLER & BASE --- */
:root {
    --primary-color: #333;
    --bg-color: #f4f4f4;
	--bg-darkblue: rgba(15, 23, 42, 0.9);
    --card-bg: #fff;
    --border-radius: 8px;
    --gap: 20px;
    --grid-columns: 4; 
    --sidebar-bg: #212529;
    --sidebar-hover: #343a40;
    --admin-accent: #0d6efd;
	--bg-midnight: #0f172a;
    --bg-panel: #1e293b;
    --tech-green: #00df9a;
    --tech-blue: #38bdf8;
    --text-main: #f1f5f9;
    --text-dim: #94a3b8;
	
}

body {
    background-color: var(--bg-color);
    font-family: 'Inter', sans-serif;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: bold;
}

.logo-text span {
    color: var(--tech-green);
}

.server-icon {
    width: 24px;
    height: 30px;
    border: 2px solid var(--tech-blue);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.server-icon div {
    width: 14px;
    height: 2px;
    background: var(--tech-green);
	box-shadow: 0 0 3px #00ff00;
}

/* --- SHOP PRODUCT GRID --- */


@media (max-width: 1200px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 992px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; } }
@media (max-width: 576px) { .product-grid { grid-template-columns: repeat(1, 1fr); gap: 10px; } }

/* --- SHOP KURV & TABELLER --- */
.table img {
    object-fit: cover;
    height: 60px;
    width: 60px;
    border-radius: 5px;
}

.card { border-radius: 12px; }

/* --- ADMIN LAYOUT (INDEX.PHP) --- */
.sidebar { 
    min-height: 100vh; 
    background: var(--sidebar-bg); 
    color: white; 
    padding: 20px; 
    position: fixed; 
    width: inherit; 
}

.sidebar h4 { 
    font-size: 1.2rem; 
    letter-spacing: 1px; 
}

.sidebar a { 
    color: #adb5bd; 
    text-decoration: none; 
    display: block; 
    padding: 12px 15px; 
    border-radius: 5px; 
    margin-bottom: 5px; 
    transition: 0.2s; 
}

.sidebar a:hover, 
.sidebar a.active { 
    background: var(--sidebar-hover); 
    color: white; 
    box-shadow: inset 4px 0 0 var(--admin-accent); 
}

.admin-content { 
    padding: 40px; 
    margin-left: 16.66667%; /* Tilpasset Bootstrap col-md-2 */
}

/* --- ADMIN KOMPONENTER (STOCK/ORDERS) --- */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.admin-table thead {
    background: var(--sidebar-bg);
    color: white;
    text-align: left;
}

.admin-table th, .admin-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.sku-badge {
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9rem;
    color: #555;
}

.stock-form {
    display: flex;
    gap: 8px;
    max-width: 180px;
}

.stock-form input {
    text-align: center;
    font-weight: bold;
}

.btn-save {
    background-color: var(--admin-accent);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-save:hover { background-color: #0b5ed7; }

.btn-view {
    text-decoration: none;
    color: #6c757d;
    font-size: 0.85rem;
    border: 1px solid #dee2e6;
    padding: 5px 10px;
    border-radius: 4px;
}

.btn-view:hover { background: #f8f9fa; color: #212529; }

.text-primary {
	color: #0d6efd !important;
}

.btn-primary {
	
}


