body {
    background-color: #f8f9fa;
    font-family: 'Arial', sans-serif;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.hero-section {
    background-image: url('https://mipromo.org.pe/img/reencuentro2019.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(23, 146, 126, 0.6);
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.promo-title {
    font-size: 3.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.promo-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s both;
}

.btn-register {
    background: linear-gradient(to right, #e74c3c, #f39c12);
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

.btn-register:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.form-container {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
}

.detail-item {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #f8f9fa;
    position: relative;
}

.btn-add {
    background: linear-gradient(to right, #2c3e50, #34495e);
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: bold;
    transition: all 0.3s;
    color: white;
}

.btn-add:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-remove {
    position: absolute;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background-color: #e74c3c;
    border: none;
    top: -10px;
}

.form-label {
    font-weight: bold;
    color: #2c3e50;
}

.btn-submit {
    background: linear-gradient(to right, #e74c3c, #f39c12);
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 20px;
    transition: all 0.3s;
    color: white;
}

.btn-submit:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.retro-border {
    border: 3px solid #f39c12;
    border-radius: 15px;
}

.sticker {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: #e74c3c;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    transform: rotate(5deg);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Estilos para los steps */
.step-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
}

.step-progress::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #ecf0f1;
    z-index: 1;
}

.progress-bar {
    position: absolute;
    top: 15px;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, #2c3e50, #34495e);
    z-index: 2;
    transition: width 0.5s ease;
}

.step {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 3px solid #ecf0f1;
    color: #34495e;
}

.step.active {
    border-color: #2c3e50;
    background-color: #2c3e50;
    color: white;
}

.step.completed {
    border-color: #2c3e50;
    background-color: #2c3e50;
    color: white;
}

.step-label {
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.8rem;
    color: #34495e;
}

.step.active .step-label {
    color: #2c3e50;
    font-weight: bold;
}

.step.completed .step-label {
    color: #2c3e50;
}

.step-content {
    display: none;
}

.step-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn-prev {
    background: linear-gradient(to right, #34495e, #2c3e50);
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: bold;
    color: white;
}

.btn-next {
    background: linear-gradient(to right, #2c3e50, #34495e);
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: bold;
    color: white;
}

/* Estilo de ticket para el resumen */
.ticket-container {
    background: #f8f9fa;
    border: 2px dashed #dcdcdc;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.ticket-header {
    text-align: center;
    border-bottom: 2px solid #2c3e50;
    padding-bottom: 15px;
    margin-bottom: 20px;
    position: relative;
}

.ticket-header h5 {
    margin: 0;
    color: #2c3e50;
    font-weight: bold;
    letter-spacing: 1px;
}

.ticket-header p {
    margin: 5px 0 0 0;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.ticket-divider {
    border-top: 1px dashed #bdc3c7;
    margin: 15px 0;
    position: relative;
}

.ticket-divider::before {
    content: "• • •";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #f8f9fa;
    padding: 0 10px;
    color: #bdc3c7;
}

.ticket-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dotted #ecf0f1;
}

.ticket-item:last-child {
    border-bottom: none;
}

.ticket-item-name {
    color: #2c3e50;
    font-weight: 500;
}

.ticket-item-price {
    color: #e74c3c;
    font-weight: bold;
    min-width: 80px;
    text-align: right;
}

.ticket-total {
    font-weight: bold;
    font-size: 1.2rem;
    color: #2c3e50;
    text-align: right;
    padding: 15px 0 5px 0;
    margin-top: 10px;
    text-align: center;
}

.ticket-corte {
    text-align: center;
    margin: 10px 0;
    color: #7f8c8d;
}

.ticket-corte::before,
.ticket-corte::after {
    content: "✂";
    margin: 0 10px;
}

.summary-item {
    background-color: #ecf0f1;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    border-left: 4px solid #f39c12;
}

.plato-item {
    border: 2px dashed #ecf0f1;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #ecf0f1;
    position: relative;
}

.precio-tag {
    background-color: #ff9800;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    position: absolute;
    top: -10px;
    /* right: 10px; */
}

.monto-total {
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    color: white;
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    margin: 20px 0;
}

.file-upload {
    border: 2px dashed #f39c12;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    background-color: #ecf0f1;
    cursor: pointer;
    transition: all 0.3s;
}

.file-upload:hover {
    background-color: #dde4e6;
    border-color: #e74c3c;
}

.file-upload i {
    font-size: 3rem;
    color: #f39c12;
    margin-bottom: 10px;
}

#comprobante-preview {
    max-width: 100%;
    max-height: 300px;
    margin-top: 15px;
    border-radius: 10px;
    display: none;
    border: 3px solid #ecf0f1;
}

.search-container {
    position: relative;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ecf0f1;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-result-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.search-result-item:hover {
    background-color: #ecf0f1;
}

.search-result-item:last-child {
    border-bottom: none;
}

.dni-search {
    position: relative;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #34495e;
    cursor: pointer;
}

.info-pago {
    background-color: rgba(44, 62, 80, 0.05);
    border-left: 4px solid #f39c12;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid rgba(44, 62, 80, 0.1);
}

.info-pago h6 {
    margin-bottom: 5px;
    color: #2c3e50;
}

.info-pago p {
    margin-bottom: 0;
    font-weight: 500;
    color: #34495e;
}

.modal-dialog {
    max-width: 800px;
    margin: 30px auto;
}

/* Remove spinner arrows from number inputs */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
    appearance: textfield;
}

/* Estilos para las imágenes en miniatura con Lightbox2 */
.prenda-thumbnail:hover {
    transform: scale(1.05);
    border-color: #f39c12 !important;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.image-preview-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estilos para los métodos de pago con logos */
.info-pago {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.info-pago:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-pago:last-child {
    margin-bottom: 0;
}

.payment-method-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 8px;
    border: 2px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.payment-logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 4px;
}

.payment-method-info h6 {
    color: #2c3e50;
    font-weight: 600;
}

.payment-method-info p {
    color: #495057;
    font-size: 0.95rem;
}

/* Personalización del overlay de Lightbox2 */
.lb-outerContainer {
    border-radius: 10px;
}

.lb-dataContainer {
    border-radius: 0 0 10px 10px;
}

@media (max-width: 768px) {
    .promo-title {
        font-size: 2.5rem;
    }

    .promo-subtitle {
        font-size: 1.2rem;
    }

    .modal-dialog {
        margin: 15px;
    }

    .ticket-container {
        padding: 15px;
    }
}