.header {
    width: 100%;
    background-color: #48546e;
}

* {
    box-sizing: border-box;
}

body, html {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
    overflow-x: hidden;
}

.fixed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 20px;
    background-color: #48546e;
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 2px -2px gray;
}

.header-button img.button-image {
    max-width: 32px;
    height: auto;
    cursor: pointer;
    display: block;
}

.header-button img.button-image {
    width: 32px;  /* ajusta el tamaño como necesites */
    height: auto;
    cursor: pointer;
}

.container {
    width: 80%;
    margin: 0 auto;
    margin-top: 95px;
    max-width: 1200px;
}

.logo img {
    width: 225px;
}

.result-icon img {
    width: 100px;
}

.operation-status img {
    width: 25px;
}

.title-section h1 {
    font-size: 36px;
    color: #333;
}

.title-section p {
    font-size: 18px;
    color: #555;
}

.file-section {
    text-align: center;
    margin: 30px 0;
}

.file-section button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

.file-section button:hover {
    background-color: #0056b3;
}

.file-drop-area {
    border: 2px dashed #007bff;
    padding: 40px;
    cursor: pointer;
    background-color: #fff;
    border-radius: 8px;
}

.file-drop-area span {
    font-size: 16px;
    color: #555;
}

#fileInput {
    display: none;
}

.file-list-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

.file-list-table th, .file-list-table td {
    border: 1px solid #ddd;
    padding: 10px;
}

.button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    text-align: center;
}

.processing-section button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

.processing-section button:hover {
    background-color: #0056b3;
}

#loadingGif {
    margin-top: 20px;
    text-align: center;
}

.back-section button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

.center-container {
    display: flex;
    justify-content: center;
    margin-top: 75px;
}

.vertical-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px; /* espacio vertical entre botones */
    max-width: 200px; /* opcional, para limitar el ancho */
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    position: relative;
}

.hidden {
    display: none;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

table {
    width: 100%;
    margin-top: 15px;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ccc;
    padding: 8px;
}

.wide-input {
    width: 100%;
    box-sizing: border-box;
    padding: 5px;
    font-size: 16px;
    margin: 5px 0;
}

.settings {
    text-align: center;
    margin: 5px 0;
}

.settings button {
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

.settings button:hover {
    background-color: #0056b3;
}

.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.alert {
  padding: 15px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.alert-warning {
  background-color: rgba(255, 230, 230, 0.8);
  border-left: 5px solid #ff4d4d;
  color: #b30000;
}

.alert-success {
  background-color: rgba(230, 255, 230, 0.8);
  border-left: 5px solid #33cc33;
  color: #1a6600;
}

.alert a {
  color: inherit;
  text-decoration: underline;
}