/* Estilos para el panel de administración */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #1d3557;
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid #457b9d;
    padding-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #1d3557;
}

select, input[type="file"] {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.btn {
    background-color: #457b9d;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn:hover {
    background-color: #1d3557;
}

.status {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 5px;
    display: none;
}

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

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

.header-logo {
    text-align: center;
    margin-bottom: 1rem;
}

.header-logo img {
    max-height: 80px;
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    color: #457b9d;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

.file-preview {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-family: monospace;
    font-size: 0.9rem;
}

.loader {
    display: none;
    text-align: center;
    margin: 1rem 0;
}

.loader img {
    width: 50px;
    height: 50px;
}
