/* ================== BAZA ================== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #111;
    color: #fff;
}

/* ================== SIDEBAR ================== */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 240px;
    height: 100vh;
    background: #000;
    border-right: 2px solid #ffcc00;
    padding: 20px;
}

.sidebar h2 {
    color: #fff;
    text-align: center;
    margin: 0 0 25px 0;
    font-size: 24px;
    letter-spacing: 1px;
}

.sidebar a {
    display: block;
    padding: 11px 14px;
    margin-bottom: 8px;
    text-decoration: none;
    color: #fff;
    background: #111;
    border-radius: 6px;
    font-size: 14px;
}

.sidebar a:hover,
.sidebar a.active {
    background: #ffcc00;
    color: #000;
    font-weight: 600;
}

.sidebar .logout {
    background: #a80000 !important;
    color: #fff !important;
    font-weight: 600;
}

/* ================== CONTENT ================== */

.content {
    margin-left: 260px;
    padding: 25px 30px 40px 30px;
    background: #1b1b1b;
    min-height: 100vh;
}

.page-title {
    color: #ffcc00;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 18px;
}

/* Header stripe (admin dashboard) */

.dashboard-header {
    background: #111;
    padding: 14px 18px;
    color: #ffcc00;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 2px solid #ffcc00;
    margin-bottom: 20px;
}

/* ================== TABELA PRODUKTEVE ================== */

table {
    width: 100%;
    border-collapse: collapse;
    background: #111;
    color: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 15px;
}

table th {
    background: #ffcc00;
    color: #000;
    padding: 12px;
    font-size: 14px;
    text-transform: uppercase;
}

table td {
    padding: 10px 12px;
    border-bottom: 1px solid #333;
    font-size: 14px;
}

table tr:nth-child(even) {
    background: #181818;
}

table tr:nth-child(odd) {
    background: #141414;
}

table tr:hover {
    background: #222;
}

/* Foto në tabelë */

table img {
    max-width: 60px;
    max-height: 60px;
    display: block;
    margin: 4px auto;
}

/* Butonat Edit/Delete */

.action-btn {
    padding: 6px 10px;
    text-decoration: none;
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    margin-right: 4px;
    display: inline-block;
}

.action-edit {
    background: #007bff;
}

.action-delete {
    background: #c82333;
}

.action-edit:hover {
    background: #2196ff;
}

.action-delete:hover {
    background: #e53935;
}

/* ================== FORMA SHTO / EDIT PRODUKT ================== */

.card-form {
    background: #ffffff;
    width: 95%;
    max-width: 900px;
    padding: 40px 45px;
    border-radius: 18px;
    border: 1px solid #e3e3e3;
    margin-top: 20px;
}

.card-form label {
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
    display: block;
}

.card-form input,
.card-form select {
    width: 100%;
    padding: 12px 13px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    background: #f5f5f5;
    font-size: 14px;
}

.card-form input:focus,
.card-form select:focus {
    border-color: #ffcc00;
    outline: none;
    background: #ffffff;
}

.row2 {
    display: flex;
    gap: 24px;
    margin-bottom: 22px;
}

.field-group {
    flex: 1;
}

/* File input pak më ndryshe */

.card-form input[type="file"] {
    background: #ffffff;
    border-radius: 10px;
    padding: 10px;
    margin-top: 4px;
}

/* Butoni i verdhë */

.btn-primary {
    background: #ffcc00;
    color: #000;
    font-weight: 700;
    font-size: 16px;
    padding: 14px;
    width: 100%;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    margin-top: 18px;
}

.btn-primary:hover {
    background: #ffd633;
}
/* ===== FORM DARK ===== */

.form-dark {
    background: #151515;
    padding: 28px 30px;
    border: 2px solid #ffcc00;
    border-radius: 14px;
    width: 92%;
}

.form-dark label {
    color: #ffcc00;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.form-dark input,
.form-dark select {
    width: 100%;
    padding: 11px 12px;
    background: #222;
    border: 1px solid #444;
    color: #fff;
    border-radius: 8px;
}

.form-dark input:focus,
.form-dark select:focus {
    border-color: #ffcc00;
    outline: none;
    background: #333;
}

/* spacing perfect */
.row2 {
    display: flex;
    gap: 35px;
    margin-bottom: 18px;
}

.row2 input,
.row2 select {
    width: 92%; 
}

/* ================== HEADER MENU ================== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 60px;
    background: #000;
    border-bottom: 2px solid #ffcc00;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.header .logo {
    font-size: 28px;
    font-weight: 800;
    color: #ffcc00;
    text-transform: uppercase;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 28px;
    font-size: 17px;
    font-weight: 500;
}

.nav-links a:hover {
    color: #ffcc00;
}

.hero {
    margin-top: 90px; /* sepse header është fixed */
}
