body {
    font-family: system-ui, -apple-system, sans-serif;
    background-color: #1e1e24;
    color: #f5f5f5;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    color: #e10600;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-container {
    background-color: #2b2b36;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 400px;
    margin-bottom: 40px;
    border-top: 4px solid #e10600;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input {
    padding: 12px;
    border: 1px solid #444;
    border-radius: 4px;
    font-size: 1rem;
    background-color: #1e1e24;
    color: white;
}

input:focus {
    border-color: #e10600;
    outline: none;
}

button {
    background-color: #e10600;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
    text-transform: uppercase;
}

button:hover {
    background-color: #b30500;
}

.drivers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1000px;
}

.driver-card {
    background-color: #2b2b36;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
    border-left: 4px solid #e10600;
}

.driver-card img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.driver-card h3 {
    margin: 5px 0 15px 0;
    color: #ffffff;
    font-size: 1.4rem;
}

.driver-info {
    text-align: left;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #cccccc;
}

.driver-info span {
    color: #ffffff;
    font-weight: bold;
}

.card-actions {
    display: flex;
    gap: 10px;
}

.card-actions button {
    flex: 1;
    padding: 8px;
    font-size: 0.9rem;
}

.btn-edit {
    background-color: #444;
}

.btn-edit:hover {
    background-color: #666;
}

.btn-delete {
    background-color: #222;
    border: 1px solid #e10600;
    color: #e10600;
}

.btn-delete:hover {
    background-color: #e10600;
    color: white;
}

input[type="file"] {
    padding: 8px;
    border: 1px dashed #444;
    cursor: pointer;
    color: #aaa;
}

label {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: -8px;
}