/* 🌙 Tamsi tema */
body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'Segoe UI', sans-serif;
}

.container {
    max-width: 1000px;
}

/* Kortelės */
.card, .table {
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
	color: white;

}

.card-header {
    border-bottom: none;
    font-weight: bold;
}

/* Lentelės */
.table {
    --bs-table-color: #f1f1f1 !important;
    --bs-table-bg: #1e1e1e !important;
    --bs-table-striped-bg: #242424 !important;
    --bs-table-striped-color: #f1f1f1 !important;
    --bs-table-hover-bg: #2b2b2b !important;
    --bs-table-hover-color: #ffffff !important;
    --bs-table-border-color: #333 !important;
}

.table ::selection {
    background: #007bff;
    color: #fff;
}

/* Įvedimo laukai */
.form-control {
    background-color: #2b2b2b;
    border: 1px solid #444;
    color: #f1f1f1;
    padding: 10px;
}
.form-control:focus {
    background-color: #333;
    color: #fff;
    border-color: #00bfff;
    box-shadow: 0 0 6px #00bfff;
}
.form-control::placeholder {
    color: #777;
}

/* Autofill tamsiai temai */
input:-webkit-autofill,
input:-webkit-autofill:focus,
input:-webkit-autofill:hover {
    box-shadow: 0 0 0 1000px #2b2b2b inset !important;
    -webkit-text-fill-color: #f1f1f1 !important;
    caret-color: #f1f1f1;
    transition: background-color 5000s ease-in-out 0s;
}

/* Etiketės */
.form-label {
    color: #e0e0e0;
}

/* Mygtukai */
.btn-custom-primary {
    background: linear-gradient(90deg, #007bff, #00bfff);
    color: white;
    border: none;
    transition: transform 0.2s ease;
}
.btn-custom-primary:hover {
    transform: scale(1.03);
    background: linear-gradient(90deg, #006ae6, #00a6d6);
}

.btn-custom-success {
    background: linear-gradient(90deg, #28a745, #34d058);
    color: white;
    border: none;
    transition: transform 0.2s ease;
}
.btn-custom-success:hover {
    transform: scale(1.03);
    background: linear-gradient(90deg, #218838, #2fb74c);
}

.btn-custom-warning {
    background: linear-gradient(90deg, #ffc107, #ffcd39);
    color: black;
    border: none;
    transition: transform 0.2s ease;
}
.btn-custom-warning:hover {
    transform: scale(1.03);
    background: linear-gradient(90deg, #e0a800, #ffbf00);
}

/* Navigacija */
.navbar {
    background-color: #1c1c1c;
    border-bottom: 1px solid #333;
}
.navbar-brand, .nav-link {
    color: #e0e0e0 !important;
}
.nav-link.bg-primary {
    background: linear-gradient(90deg, #007bff, #00bfff) !important;
    border-radius: 6px;
    margin-right: 5px;
}
.nav-link.bg-danger {
    background: linear-gradient(90deg, #dc3545, #ff4b5c) !important;
    border-radius: 6px;
}

/* Teksto pažymėjimas */
::selection {
    background: #007bff;
    color: #fff;
}
