﻿/* Container Principal */
.facturacion-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    font-family: 'Roboto', sans-serif;
}

/* Header */
.facturacion-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}


.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 40px;
    color: white;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    color: white;
    font-weight: 600;
    margin: 0;
    line-height: 1;
}

.logo-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
}

.close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 24px;
}

    .close-btn:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }

    .close-btn:active {
        transform: scale(0.95);
    }

/* Main Content */
.facturacion-main {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    justify-content: center;
}

/* Footer */
.facturacion-footer {
    background: white;
    border-top: 1px solid #e0e0e0;
    padding: 15px 20px;
    text-align: center;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

/* Estilos de MudBlazor Personalizados */
.mud-stepper-custom :deep(.mud-stepper-header) {
    padding: 12px 16px;
}

.mud-info-card {
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.05) 0%, rgba(25, 118, 210, 0.02) 100%);
    border-left: 4px solid var(--mud-palette-primary);
    border-radius: 8px;
}

.mud-step-paper {
    border-radius: 12px;
    background: white;
}

:deep(.mud-select-popper) {
    max-height: 300px;
}

/* Responsive - Tablet (600px y menor) */
@media (max-width: 600px) {
    .header-content {
        padding: 0 15px;
    }

    .logo-section {
        gap: 10px;
    }

    .logo-icon {
        font-size: 32px;
    }

    .logo-title {
        font-size: 20px;
    }

    .facturacion-main {
        padding: 10px;
    }

    .close-btn {
        padding: 6px;
    }

    .facturacion-header {
        padding: 15px 20px;
    }
}

/* Responsive - Móvil (400px y menor) */
@media screen and (max-width: 400px) {
    .logo-subtitle {
        display: none;
    }

    .facturacion-header {
        padding: 12px 15px;
    }

    .facturacion-main {
        padding: 8px;
    }

    .logo-icon {
        font-size: 28px;
    }

    .close-btn {
        padding: 4px;
    }
}

/* Scroll personalizado */
.facturacion-main::-webkit-scrollbar {
    width: 8px;
}

.facturacion-main::-webkit-scrollbar-track {
    background: transparent;
}

.facturacion-main::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

    .facturacion-main::-webkit-scrollbar-thumb:hover {
        background: #999;
    }

