/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-b56yujztz4] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-b56yujztz4] {
    flex: 1;
}

.sidebar[b-b56yujztz4] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-b56yujztz4] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-b56yujztz4]  a, .top-row[b-b56yujztz4]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-b56yujztz4]  a:hover, .top-row[b-b56yujztz4]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-b56yujztz4]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-b56yujztz4] {
        justify-content: space-between;
    }

    .top-row[b-b56yujztz4]  a, .top-row[b-b56yujztz4]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-b56yujztz4] {
        flex-direction: row;
    }

    .sidebar[b-b56yujztz4] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-b56yujztz4] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-b56yujztz4]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-b56yujztz4], article[b-b56yujztz4] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-18gt1670h4] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-18gt1670h4] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-18gt1670h4] {
    font-size: 1.1rem;
}

.bi[b-18gt1670h4] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-18gt1670h4] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-18gt1670h4] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-18gt1670h4] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-18gt1670h4] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-18gt1670h4] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-18gt1670h4] {
        padding-bottom: 1rem;
    }

    .nav-item[b-18gt1670h4]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-18gt1670h4]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-18gt1670h4]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-18gt1670h4] {
        display: none;
    }

    .collapse[b-18gt1670h4] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-18gt1670h4] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Contact.razor.rz.scp.css */
/* Contact Page Animations */
.pa-8[b-3pkgwvxt78], .pa-6[b-3pkgwvxt78] {
    animation: fadeInUp-b-3pkgwvxt78 0.6s ease-out;
}

@keyframes fadeInUp-b-3pkgwvxt78 {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Field Hover Effects */
[b-3pkgwvxt78] .mud-input-outlined:hover {
    transition: all 0.3s ease;
}

/* Button Hover Effect */
[b-3pkgwvxt78] .mud-button-filled-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

/* Icon Button Hover */
[b-3pkgwvxt78] .mud-icon-button:hover {
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* Paper Hover Effect */
[b-3pkgwvxt78] .mud-paper:hover {
    transition: all 0.3s ease;
}

/* Smooth Scroll */
html[b-3pkgwvxt78] {
    scroll-behavior: smooth;
}
/* /Pages/Home.razor.rz.scp.css */
/* Hover Effects */
.hover\:elevation-10:hover[b-sqyb95ft79] {
    box-shadow: 0px 6px 6px -3px rgba(0,0,0,0.2), 0px 10px 14px 1px rgba(0,0,0,0.14), 0px 4px 18px 3px rgba(0,0,0,0.12) !important;
    transform: translateY(-5px);
}

.transition-all[b-sqyb95ft79] {
    transition: all 0.3s ease;
}

/* Animations */
.bounce-animation[b-sqyb95ft79] {
    animation: bounce-b-sqyb95ft79 3s infinite ease-in-out;
}

@keyframes bounce-b-sqyb95ft79 {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Float Animation for Background Elements */
@keyframes float-b-sqyb95ft79 {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    33% {
        transform: translateY(-20px) translateX(10px);
    }
    66% {
        transform: translateY(-10px) translateX(-10px);
    }
}

/* Fade In Animation */
@keyframes fadeIn-b-sqyb95ft79 {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse Animation for CTA */
@keyframes pulse-b-sqyb95ft79 {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Gradient Animation */
@keyframes gradientShift-b-sqyb95ft79 {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Smooth Scroll */
html[b-sqyb95ft79] {
    scroll-behavior: smooth;
}

/* Button Hover Effects */
[b-sqyb95ft79] .mud-button-filled:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

[b-sqyb95ft79] .mud-button-outlined:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Feature Card Hover */
[b-sqyb95ft79] .mud-paper.transition-all:hover {
    border-color: #6366F1 !important;
}

/* Avatar Group Animation */
[b-sqyb95ft79] .mud-avatar-group .mud-avatar {
    transition: transform 0.3s ease;
}

[b-sqyb95ft79] .mud-avatar-group:hover .mud-avatar {
    transform: scale(1.1);
}

/* Chart Animation */
[b-sqyb95ft79] .mud-chart {
    animation: fadeIn-b-sqyb95ft79 1s ease-out;
}

/* Stats Counter Animation */
@keyframes countUp-b-sqyb95ft79 {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Testimonial Card Hover */
[b-sqyb95ft79] .mud-paper:hover {
    transition: all 0.3s ease;
}

/* Rating Stars Animation */
[b-sqyb95ft79] .mud-rating-item {
    transition: transform 0.2s ease;
}

[b-sqyb95ft79] .mud-rating-item:hover {
    transform: scale(1.2);
}

/* Hero Section Animations */
.hero-title[b-sqyb95ft79] {
    animation: fadeInUp-b-sqyb95ft79 0.8s ease-out;
}

.hero-button[b-sqyb95ft79] {
    animation: fadeInUp-b-sqyb95ft79 1s ease-out;
}

@keyframes fadeInUp-b-sqyb95ft79 {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chart Container Animation */
.chart-container[b-sqyb95ft79] {
    animation: scaleIn-b-sqyb95ft79 0.8s ease-out;
}

@keyframes scaleIn-b-sqyb95ft79 {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Font Sizes */
@media (max-width: 960px) {
    .hero-title[b-sqyb95ft79] {
        font-size: 2rem !important;
    }
}
/* /Pages/SuperAdmin/EmailTemplates.razor.rz.scp.css */
/* ========== Página: centrado y contenedor ========== */
.email-templates-page[b-5zcf5zuw47] {
    min-height: 100%;
    padding: 1.5rem 0 3rem;
    background: var(--mud-palette-background-grey, #f5f5f5);
}

.email-templates-container[b-5zcf5zuw47] {
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.email-templates-header[b-5zcf5zuw47] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.email-templates-grid[b-5zcf5zuw47] {
    align-items: stretch;
}

/* ========== Lista de plantillas (izquierda) ========== */
.email-templates-list-paper[b-5zcf5zuw47] {
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    min-height: 320px;
}

.email-templates-list-header[b-5zcf5zuw47] {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--mud-palette-lines-default, #e0e0e0);
    background: var(--mud-palette-surface, #fff);
}

.email-templates-list-item[b-5zcf5zuw47] {
    padding: 0.75rem 1.25rem !important;
}

.email-templates-list-caption[b-5zcf5zuw47] {
    display: block;
    margin-top: 0.25rem;
    color: var(--mud-palette-text-secondary, #666);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========== Área del editor (centro-derecha) ========== */
.email-editor-paper[b-5zcf5zuw47] {
    border-radius: 12px;
    padding: 2rem;
    min-height: 480px;
}

.email-editor-header[b-5zcf5zuw47] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.email-editor-placeholders[b-5zcf5zuw47] {
    display: block;
    margin-top: 0.25rem;
    color: var(--mud-palette-text-secondary, #666);
}

.email-editor-subject[b-5zcf5zuw47] {
    margin-bottom: 1.5rem;
}

/* Estado vacío: selecciona plantilla */
.email-editor-empty[b-5zcf5zuw47] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.email-editor-empty-state[b-5zcf5zuw47] {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--mud-palette-text-secondary, #666);
}

/* ========== Vista previa del correo ========== */
.email-preview-section[b-5zcf5zuw47] {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--mud-palette-lines-default, #e0e0e0);
}

.email-preview-header[b-5zcf5zuw47] {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--mud-palette-text-secondary, #666);
}

.email-preview-frame-wrapper[b-5zcf5zuw47] {
    border-radius: 12px;
    border: 1px solid var(--mud-palette-lines-default, #e0e0e0);
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.email-preview-iframe[b-5zcf5zuw47] {
    display: block;
    width: 100%;
    min-height: 480px;
    height: 520px;
    border: none;
    background: #fff;
}

/* Editor GrapesJS */
.grapesjs-editor-wrapper[b-5zcf5zuw47] {
    min-height: 560px;
}

.grapesjs-container[b-5zcf5zuw47] {
    min-height: 520px;
    border: 1px solid var(--mud-palette-lines-default, #e0e0e0);
    border-radius: 8px;
}

/* Ajustar estilos de GrapesJS dentro de nuestra app */
.grapesjs-editor-wrapper .gjs-one-bg[b-5zcf5zuw47] {
    background-color: var(--mud-palette-background-grey, #f5f5f5);
}

.grapesjs-editor-wrapper .gjs-two-bg[b-5zcf5zuw47] {
    background-color: var(--mud-palette-surface, #fff);
}

/* Pie del editor */
.email-editor-footer[b-5zcf5zuw47] {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--mud-palette-lines-default, #e0e0e0);
}
