
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #121212;
    color: #f0f0f0;
}

/* Global form and input styling for a premium look */
.form-control {
    width: 100%;
    padding: 8px 12px;
    margin-top: 6px;
    margin-bottom: 12px;
    border: 1px solid #333;
    border-radius: 6px;
    background: #1e1e1e;
    color: #f0f0f0;
    font-size: 14px;
}

.form-control:focus {
    outline: none;
    border-color: #4fa3ff;
    box-shadow: 0 0 0 2px rgba(79, 163, 255, 0.5);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    margin-top: 8px;
    text-decoration: none;
    text-align: center;
    color: #fff;
    transition: background 0.2s ease-in-out;
}

/* Primary button with gradient for a premium look */
.btn-primary {
    background: linear-gradient(90deg, #0066ff 0%, #00bfff 100%);
}
.btn-primary:hover {
    background: linear-gradient(90deg, #0055cc 0%, #0099cc 100%);
}

.btn-secondary {
    background: #333;
    border: 1px solid #4fa3ff;
}

.btn-secondary:hover {
    background: #444;
}

.btn-success {
    background: #28a745;
}

.btn-success:hover {
    background: #2ecc71;
}

.btn-danger {
    background: #dc3545;
}

.btn-danger:hover {
    background: #e4606d;
}

/* Table styling */
table.dark-table {
    width: 100%;
    border-collapse: collapse;
    background: #1e1e1e;
}

table.dark-table th,
table.dark-table td {
    padding: 12px;
    border-bottom: 1px solid #333;
    text-align: left;
}

table.dark-table th {
    background: #181818;
    color: #4fa3ff;
}

table.dark-table tr:nth-child(even) {
    background: #202020;
}

/* Card improvements */
.model-card, .card {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transition: transform 0.1s ease-in-out;
}

.model-card:hover, .card:hover {
    transform: translateY(-2px);
}

.model-card h5 {
    color: #4fa3ff;
    margin-top: 10px;
}

/* Filter and add forms container */
.filter-form, .add-form {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.filter-form h4, .add-form h4 {
    margin-top: 0;
    color: #4fa3ff;
}

/* Links */
a {
    color: #4fa3ff;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.container {
    display: flex;
    min-height: 100vh;
}
.sidebar {
    width: 240px;
    background: #1e1e1e;
    padding: 20px;
}
.sidebar h2 {
    color: #55aaff;
}
.sidebar ul {
    list-style: none;
    padding: 0;
}
.sidebar ul li {
    margin: 20px 0;
}
.sidebar ul li a {
    color: #ccc;
    text-decoration: none;
    padding: 8px 0;
    display: block;
}
/* Active sidebar link */
.sidebar ul li a.active {
    color: #4fa3ff;
    font-weight: bold;
}
.main {
    flex: 1;
    padding: 30px;
    background: #181818;
    overflow-y: auto;
}
.header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}
/* New generation button uses same gradient as primary */
.new-btn {
    background: linear-gradient(90deg, #0066ff 0%, #00bfff 100%);
    border: none;
    padding: 10px 20px;
    color: white;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
}
.new-btn:hover {
    opacity: 0.85;
}
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.tab {
    background: #292929;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
.tab.active {
    background: #4fa3ff;
}
.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Login form styling */
.login-box {
    max-width: 400px;
    margin: 100px auto;
    padding: 30px;
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.login-box h2 {
    margin-bottom: 20px;
    color: #4fa3ff;
}
.login-box label {
    display: block;
    margin-bottom: 5px;
}
.login-box input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #333;
    border-radius: 4px;
    background: #1e1e1e;
    color: #f0f0f0;
}
.login-box button {
    width: 100%;
    padding: 10px;
    background-color: #4fa3ff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}
.login-box button:hover {
    background-color: #6bb5ff;
}
.login-box .error {
    color: #e4606d;
    margin-bottom: 10px;
}
.card {
    background: #222;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    width: 420px;
}
.card img {
    width: 120px;
    height: 100%;
}
.card-info {
    padding: 10px;
}
.card-info h4 {
    margin: 0;
    color: #4fa3ff;
}
.card-info p {
    margin: 8px 0;
}
.start-btn {
    background: #333;
    color: white;
    border: 1px solid #4fa3ff;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
}

/* Toast notification */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: #f0f0f0;
    padding: 15px 20px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    z-index: 1000;
}
.toast.show {
    opacity: 1;
}


