* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

/* Fondo de pantalla completa */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contenedor Principal con márgenes específicos */
.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 1cm 6cm; /* 1cm arriba/abajo, 6cm lados */
}

/* Formulario con estilo profesional Blue-Glass */
.glass-card {
    display: flex;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

/* Panel Izquierdo (Pequeño) - Subido */
.panel-left {
    flex: 0.8;
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Subir contenido */
    padding: 60px 40px;
    text-align: center;
}

.content-wrapper {
    margin-top: 20px;
}

.logo-main {
    max-width: 140px;
    margin: 25px auto 15px;
}

.title {
    color: #0d47a1;
    font-size: 1.4rem;
    margin-bottom: 5px;
    line-height: 1.3;
}

.coffee-text {
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    font-style: italic;
    color: #1565c0;
    font-size: 1.9rem;
}

.slogan {
    font-style: italic;
    color: #1a237e;
    font-size: 1rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.subtitle {
    color: #546e7a;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Botones Profesionales - Centrados */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-professional {
    background: linear-gradient(to right, #1e88e5, #1565c0);
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.3s ease;
    text-align: center; /* Centrar texto */
    box-shadow: 0 4px 6px rgba(21, 101, 192, 0.2);
}

.btn-professional:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(21, 101, 192, 0.3);
    background: linear-gradient(to right, #1565c0, #0d47a1);
}

/* Panel Derecho (Grande) */
.panel-right {
    flex: 1.2;
    position: relative;
    background: #000;
    overflow: hidden;
}

.slideshow-container {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* NUEVO: Flechas Profesionales */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: rgb(0, 0, 0);
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    border: none;
    background-color: rgba(255, 255, 255, 0.5); /* Fondo sutil para visibilidad */
    z-index: 10;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: #1e88e5; /* Color Coffee al hover */
}

/* Contenedor de las bolitas */
.dots-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 13px;
    height: 13px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dot.active {
    background-color: #1e88e5;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(30, 136, 229, 0.6);
}

#form-container {
    background-color: #ffffff; /* O el color que mejor combine con tus index_*.php */
    overflow: hidden;
}

/* Para que el iframe se adapte suavemente */
#iframe-coffee {
    background: white;
    transition: opacity 0.5s ease;
}
