/* assets/css/custom.css */

:root {
    --primary-color: #2c245b;
    --text-color: #000000;
    --bg-color: #ffffff;
    --light-gray: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styles */
.hero-header {
    position: relative;
    height: 400px; /* Adjust based on preference */
    background-image: url('../imagenes/header.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end; /* Align logo to bottom */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Slight overlay for text usage if needed, or visual depth */
}

.logo-container {
    position: relative;
    z-index: 10;
    margin-bottom: -75px; /* Pull logo down to overlap slightly or just sit nicely */
    margin-left: 2rem;
    padding: 5px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: inline-block;
}

.logo-img {
    height: 150px; /* Adjust based on preference */
    width: auto;
    border-radius: 4px;
}

/* Main Content */
main {
    flex: 1;
    padding-top: 100px; /* Space for the logo overlap */
}

.search-section {
    background: var(--light-gray);
    padding: 3rem 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    text-align: center;
}

.search-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #1e1842;
    border-color: #1e1842;
    color: #fff;
}

/* Results / Info Cards */
.info-card {
    border: none;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
}

.card-title-custom {
    color: var(--primary-color);
    font-weight: 600;
}

/* Digital Receipt Style */
.receipt-container {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    position: relative;
}

.receipt-header {
    border-bottom: 2px dashed #ccc;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.receipt-total {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 800;
}

.table-custom th {
    background-color: var(--primary-color);
    color: #fff;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 2rem 0;
    margin-top: auto;
}
