/* Basevision Corporate Identity */
:root {
    --primary-color: #00529b; /* Basevision Blue */
    --secondary-color: #f39200; /* Basevision Orange */
    --background-color: #f4f4f4; /* Light Gray */
    --text-color: #333;
    --font-family: 'Arial', sans-serif;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.menu {
    display: none;
    list-style: none;
    gap: 15px;
}

.menu ul {
    display: flex;
    gap: 15px;
    padding: 0;
    margin: 0;
}

.menu li {
    list-style: none;
}

.menu a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    background-color: white;
    height: 3px;
    width: 25px;
    margin: 3px 0;
}

.menu.active {
    display: block;
    flex-direction: column;
}

.content {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

form h2 {
    margin-bottom: 15px;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button img {
    display: inline-block;
    vertical-align: middle;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
}

.case-list {
    list-style: none;
    padding: 0;
}

.case-list li {
    margin-bottom: 10px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin-top: 10px;
}

.spinner.hidden {
    display: none;
}

.alert {
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

#drop-area {
    transition: background-color 0.2s ease-in-out;
}

#drop-area.bg-gray-100 {
    background-color: #f7fafc; /* Light gray background when dragging */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .menu {
        display: none;
    }

    .menu.active {
        display: block;
    }

    .menu-toggle {
        display: flex;
    }
}