/* Variables de colores */
:root {
    --color-purple: #692A86;
    --color-orange: #FFAA00;
    --color-white: #FFFFFF;
    --color-light-purple: rgba(179, 74, 212, 0.62);
    --color-dark-purple: #4a1a5c;
}

/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--color-purple);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Estilos para el header */
.main-header {
    background-color: var(--color-dark-purple);
    padding: 15px 0;
    box-shadow: 2px 2px 20px 10px var(--color-light-purple) inset;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.btn-volver {
    background-color: var(--color-orange);
    color: var(--color-white);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-volver:hover {
    background-color: #e69900;
    transform: translateY(-2px);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Estilos para el logo */
.logo-container {
    margin-bottom: 20px;
    text-align: center;
}

.logo-img {
    width: 200px;
    height: auto;
}

/* Estilos para los títulos */
.main-title {
    color: var(--color-white);
    font-size: 32px;
    margin-bottom: 5px;
    text-align: center;
}

.subtitle {
    color: var(--color-orange);
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

/* Contenedor principal de contenido */
.content-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* Estilos para la tarjeta */
.card {
    background-color: var(--color-dark-purple);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 2px 2px 20px 10px var(--color-light-purple) inset;
    color: var(--color-white);
    width: 100%;
}

/* Estilos para el formulario */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--color-light-purple);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-orange);
    background-color: rgba(255, 255, 255, 0.15);
}

.btn-consultar {
    width: 100%;
    padding: 12px;
    background-color: var(--color-orange);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-consultar:hover {
    background-color: #e69900;
    transform: translateY(-2px);
}

/* Estilos para los resultados */
#resultados {
    margin-top: 20px;
}

/* Estilos para la información del cliente */
.cliente-info {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.cliente-info h3 {
    color: var(--color-orange);
    margin-bottom: 15px;
    font-size: 18px;
}

.cliente-info p {
    margin-bottom: 10px;
    font-size: 14px;
}

.cliente-info strong {
    color: var(--color-orange);
    margin-right: 5px;
}

/* Estilos para las facturas */
.factura {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.factura p {
    margin-bottom: 10px;
    font-size: 14px;
}

.factura strong {
    color: var(--color-orange);
    margin-right: 5px;
}

.factura a {
    display: inline-block;
    background-color: var(--color-orange);
    color: var(--color-white);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.factura a:hover {
    background-color: #e69900;
    transform: translateY(-2px);
}

/* Estilos para mensajes de error */
.error {
    color: #ff6b6b;
    background-color: rgba(255, 107, 107, 0.1);
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
}

/* Estilos para detalles de depuración */
details {
    margin-top: 10px;
    color: #ccc;
}

details summary {
    cursor: pointer;
    padding: 5px;
}

details pre {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
    font-size: 12px;
    margin-top: 5px;
}

/* Estilos para el footer */
footer {
    background-color: var(--color-dark-purple);
    padding: 16px 24px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 40px;
    width: 100%;
}

footer > div {
    width: 25%;
}

footer .logo {
    width: 150px;
    height: auto;
    margin-bottom: 15px;
}

footer h2 {
    margin-top: 12px;
    color: var(--color-white);
    font-size: 14px;
}

footer h3 {
    color: var(--color-white);
    font-weight: bold;
    font-size: 20px;
}

footer ul {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

footer li {
    color: var(--color-white);
    font-size: 12px;
}

footer a {
    color: var(--color-white);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer img {
    height: 24px;
}

footer .social-icons {
    display: flex;
    flex-direction: row;
    margin-top: 16px;
    gap: 16px;
}

footer .contact-info {
    text-align: right;
}

footer .contact-info li {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 18px;
    white-space: nowrap;
}

footer .contact-info a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: normal;
}

.copyright {
    background-color: var(--color-orange);
    text-align: center;
    padding: 12px;
    color: var(--color-white);
}

.copyright b {
    font-weight: bold;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .card {
        padding: 20px;
    }
    
    .main-title {
        font-size: 28px;
    }
    
    .subtitle {
        font-size: 20px;
    }
    
    footer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    footer > div {
        width: 100%;
        margin-bottom: 20px;
    }
    
    footer .contact-info {
        text-align: center;
    }
    
    footer .contact-info li {
        justify-content: center;
    }
    
    footer .social-icons {
        justify-content: center;
    }
} 