* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --accent: #00ff88;
    --dark: #0a0e1a;
    --darker: #050812;
    --text: #e4e7eb;
    --text-dim: #8b92a0;
    --mono: 'Space Mono', monospace;
    --sans: 'DM Sans', sans-serif;
}

body {
    font-family: var(--sans);
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header / Navbar */
header {
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 1.5rem;
    font-family: var(--mono);
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.5px;
}

header h1 span {
    color: var(--text);
}

header nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

header nav a {
    color: var(--text-dim);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

header nav a:hover {
    color: var(--accent);
    background: rgba(0, 255, 136, 0.05);
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

header nav a:hover::after {
    width: 80%;
}

header nav form {
    display: inline;
}

header nav form button {
    background: transparent;
    border: 2px solid rgba(0, 255, 136, 0.3);
    color: var(--text);
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 500;
}

header nav form button:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 255, 136, 0.05);
}

/* Main content */
main {
    min-height: calc(100vh - 200px);
    padding: 2.5rem 0;
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 255, 136, 0.15);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

.card h2 {
    margin-bottom: 1.5rem;
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 700;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 255, 136, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.15);
}

.stat-card h3 {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.stat-card .value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--mono);
    line-height: 1;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

th,
td {
    text-align: left;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

th {
    background: rgba(0, 255, 136, 0.05);
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(0, 255, 136, 0.2);
}

td {
    color: var(--text);
}

tbody tr {
    transition: background 0.2s;
}

tbody tr:hover {
    background: rgba(0, 255, 136, 0.03);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    color: var(--darker);
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid rgba(0, 255, 136, 0.3);
    box-shadow: none;
}

.btn-secondary:hover {
    border-color: var(--accent);
    background: rgba(0, 255, 136, 0.05);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 8px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    font-family: var(--sans);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    font-family: var(--sans);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--mono);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: rgba(0, 255, 136, 0.15);
    color: var(--accent);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.badge-warning {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-info {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Code block */
.code-block {
    background: var(--darker);
    color: var(--text);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    font-family: var(--mono);
    font-size: 0.85rem;
    margin: 1rem 0;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

/* Messages */
.message {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    border: 1px solid;
}

.message-success {
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent);
    border-color: var(--accent);
}

.message-error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: #ef4444;
}

.message-info {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border-color: #3b82f6;
}

/* Footer */
footer {
    background: var(--darker);
    color: var(--text-dim);
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
}

footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

footer a:hover {
    text-decoration: underline;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 2px solid rgba(0, 255, 136, 0.3);
    color: var(--text);
    font-size: 1.2rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    header nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    table {
        font-size: 0.85rem;
    }

    th,
    td {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
        white-space: nowrap;
        /* ky është çelësi — nuk lejon tekstin të wrap-ohet */
    }

    header nav.mobile-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(10, 14, 26, 0.97);
        backdrop-filter: blur(20px);
        padding: 1.5rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(0, 255, 136, 0.15);
        z-index: 99;
    }
}