/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    background-color: #f5f5f0;
    padding: 20px;
}

/* Estilo imagen encabezado */
.hero-header {
    max-width: 800px;
    overflow: hidden;
    margin: 10px auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}



/* Estilos del contenedor principal */
.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.container-wide {
    max-width: 1200px;
}

/* Estilos de encabezados */
.header-image {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 20px;
    display: block;
    border-radius: 8px;
}

h1 {
    font-family: 'Brush Script MT', cursive;
    font-size: 3em;
    color: #333;
    margin-bottom: 10px;
    text-shadow: 4px 4px 4px #aaa;
}

.page-title {
    font-family: Arial, sans-serif;
    font-size: 1.8em;
    margin-bottom: 30px;
}

.subtitle {
    color: #666;
    margin-bottom: 20px;
    font-size: 1.6em;
}

.required-note {
    color: #d32f2f;
    font-size: 0.9em;
    margin-bottom: 30px;
}

/* Estilos de formularios */
.form-group {
    margin-bottom: 30px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.required {
    color: #d32f2f;
}

input[type="date"],
input[type="time"],
input[type="text"],
input[type="email"],
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    font-family: inherit;
}

input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.time-group {
    display: flex;
    gap: 20px;
}

.time-group > div {
    flex: 1;
}

select {
    cursor: pointer;
    background-color: white;
}

input:focus,
select:focus {
    outline: none;
    border-color: #8b7355;
}

/* Estilos de botones */
button,
.button {
    background-color: #8b7355;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    transition: background-color 0.3s;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

button:hover,
.button:hover {
    background-color: #6d5a44;
}

.button-container {
    text-align: center;
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.button-container .button,
.button-container button {
    width: auto;
    min-width: 180px;
    margin: 0;
}

.button-secondary {
    background-color: #6c757d;
}

.button-secondary:hover {
    background-color: #5a6268;
}

.button-cancel {
    background-color: #dc3545;
}

.button-cancel:hover {
    background-color: #c82333;
}

/* Estilos de secciones de huéspedes */
.guest-section {
    margin-bottom: 40px;
    padding: 30px;
    background-color: #fafafa;
    border-radius: 8px;
    border-left: 4px solid #8b7355;
}

.guest-header {
    background-color: #e8e8e8;
    padding: 10px 15px;
    margin: -30px -30px 20px -30px;
    border-radius: 8px 8px 0 0;
    font-weight: bold;
    color: #333;
}

.huespedo-label {
    color: #d32f2f;
    font-weight: bold;
    font-size: 1em;
    margin-bottom: 20px;
    display: block;
}

/* Estilos de tablas */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

td {
    padding: 12px;
    vertical-align: middle;
}

.label-cell {
    width: 20%;
    color: #333;
    font-weight: 500;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    font-size: 0.95em;
}

.input-cell {
    width: 30%;
    background-color: white;
    border: 1px solid #ddd;
    padding: 8px 12px;
}

.input-cell small {
    display: block;
    margin-top: 4px;
    line-height: 1.3;
}

.red-label {
    color: #d32f2f;
}

.name-row td {
    width: 33.33%;
}

.address-input {
    margin-bottom: 10px;
}

.small-text {
    font-size: 0.85em;
    color: #666;
}

/* Estilos de tabla para inputs */
table input[type="text"],
table input[type="date"],
table input[type="email"],
table select {
    padding: 10px;
    font-size: 1em;
    min-height: 42px;
}

/* Estilos de página de confirmación */
.text-center {
    text-align: center;
}

.success {
    color: #4caf50;
    font-size: 1.2em;
    margin: 20px 0;
}

.success-title {
    color: #8b7355;
    margin-bottom: 20px;
}

/* ESTILOS DE LA PÁGINA ADMIN */

        .admin-header {
            background: linear-gradient(135deg, #8b7355 0%, #6d5a44 100%);
            color: white;
            padding: 20px 40px;
            margin: -20px -20px 30px -20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .admin-header h1 {
            color: white;
            margin: 0;
            font-size: 1.8em;
        }
        
        .admin-header .user-info {
            display: flex;
            align-items: center;
            gap: 20px;
        }
        
        .logout-btn {
            background-color: rgba(255,255,255,0.2);
            color: white;
            padding: 8px 20px;
            border: 1px solid rgba(255,255,255,0.3);
            border-radius: 4px;
            text-decoration: none;
            transition: all 0.3s;
        }
        
        .logout-btn:hover {
            background-color: rgba(255,255,255,0.3);
        }
        
        .search-section {
            background: #f8f9fa;
            padding: 25px;
            border-radius: 8px;
            margin-bottom: 30px;
        }
        
        .search-form {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 15px;
            align-items: end;
        }
        
        .search-group {
            display: flex;
            flex-direction: column;
        }
        
        .search-group label {
            margin-bottom: 8px;
            font-weight: 500;
            color: #333;
        }
        
        .search-group input {
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 1em;
        }
        
        .search-btn {
            background-color: #8b7355;
            color: white;
            padding: 12px 30px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 1.1em;
            height: 50px;
            grid-column: 1 / -1;
            font-weight: bold;
            transition: all 0.3s;
        }
        
        .search-btn:hover {
            background-color: #6d5a44;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }
        
        .results-table {
            width: 100%;
            border-collapse: collapse;
            background: white;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            border-radius: 8px;
            overflow: hidden;
        }
        
        .results-table thead {
            background-color: #8b7355;
            color: white;
        }
        
        .results-table th {
            padding: 15px;
            text-align: left;
            font-weight: 600;
        }
        
        .results-table td {
            padding: 12px 15px;
            border-bottom: 1px solid #e9ecef;
        }
        
        .results-table tbody tr:hover {
            background-color: #f8f9fa;
        }
        
        .action-buttons {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }
        
        .btn-action {
            padding: 6px 12px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 0.9em;
            text-decoration: none;
            display: inline-block;
            transition: all 0.3s;
        }
        
        .btn-edit {
            background-color: #007bff;
            color: white;
        }
        
        .btn-edit:hover {
            background-color: #0056b3;
        }
        
        .btn-edit-complete {
            background-color: #28a745;
            color: white;
        }
        
        .btn-edit-complete:hover {
            background-color: #218838;
        }
        
        .btn-edit-incomplete {
            background-color: #dc3545;
            color: white;
        }
        
        .btn-edit-incomplete:hover {
            background-color: #c82333;
        }
        
        .btn-pdf {
            background-color: #dc3545;
            color: white;
        }
        
        .btn-pdf:hover {
            background-color: #c82333;
        }
        
        .btn-xml {
            background-color: #28a745;
            color: white;
        }
        
        .btn-xml:hover {
            background-color: #218838;
        }
        
        .btn-disabled {
            background-color: #6c757d;
            color: #adb5bd;
            cursor: not-allowed;
            opacity: 0.5;
        }
        
        .btn-disabled:hover {
            background-color: #6c757d;
        }
        
        .status-complete {
            color: #28a745;
            font-weight: bold;
        }
        
        .status-incomplete {
            color: #dc3545;
            font-weight: bold;
        }
        
        .no-results {
            text-align: center;
            padding: 40px;
            color: #666;
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        
        .stats-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .stat-card {
            background: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            text-align: center;
        }
        
        .stat-card h3 {
            color: #8b7355;
            margin: 0 0 10px 0;
            font-size: 2em;
        }
        
        .stat-card p {
            color: #666;
            margin: 0;
        }
        .language-selector {
            text-align: center;
            margin: 20px 0;
            padding: 15px;
            background-color: #f8f9fa;
            border-radius: 8px;
        }
        
        .language-selector label {
            font-size: 14px;
            color: #666;
            margin-right: 10px;
            font-weight: 500;
        }
        
        .language-selector select {
            padding: 8px 15px;
            border: 1px solid #ddd;
            border-radius: 4px;
            background-color: white;
            color: #333;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s;
            min-width: 180px;
        }
        
        .language-selector select:hover {
            border-color: #8b7355;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        .language-selector select:focus {
            outline: none;
            border-color: #8b7355;
            box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
        }
