﻿:root {
    --m360-primary: #6D28D9;
    --m360-secondary: #9333EA;
    --m360-dark: #2E1065;
    --m360-gold: #D4AF37;
    --m360-light: #F8F5FF;
  
    --m360-success: #10B981;
    --m360-info: #3B82F6;
    --m360-danger: #EF4444;

}

.hero-section{
    min-height:100vh;

    background:
        linear-gradient(
            135deg,
            #2E1065 0%,
            #6D28D9 60%,
            #9333EA 100%);

    color:white;

    position:relative;

    overflow:hidden;
}

.hero-section::before{

    content:'';

    position:absolute;

    width:700px;
    height:700px;

    background:
        radial-gradient(
            rgba(255,255,255,.12),
            transparent 70%);

    top:-200px;
    right:-200px;
}

.hero-section .container{
    position:relative;
    z-index:2;
}

.hero-image{

    border-radius:24px;

    box-shadow:
        0 30px 60px rgba(0,0,0,.30);

    transform:rotate(-2deg);

    transition:.4s;
}

.hero-image:hover{

    transform:
        rotate(0deg)
        scale(1.02);
}

.text-gradient{

    background:
        linear-gradient(
            90deg,
            #D4AF37,
            #FFD700);

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.feature-card{

    padding:30px;

    border-radius:20px;

    transition:.3s;
}

.feature-card:hover{

    transform:translateY(-5px);
}

.icon-circle{

    width:80px;
    height:80px;

    border-radius:50%;

    display:flex;

    align-items:center;
    justify-content:center;

    margin:auto auto 20px;

    font-size:28px;

    font-weight:700;

    color:white;

    background:
        linear-gradient(
            135deg,
            var(--m360-primary),
            var(--m360-secondary));

    box-shadow:
        0 15px 30px rgba(109,40,217,.25);
}

.benefit-card{

    background:white;

    border-radius:24px;

    padding:35px;

    height:100%;

    border:none;

    box-shadow:
        0 15px 40px rgba(0,0,0,.06);

    transition:.3s;
}

.benefit-card:hover{

    transform:translateY(-8px);

    box-shadow:
        0 20px 50px rgba(109,40,217,.15);
}

.benefit-card h4{

    color:var(--m360-primary);

    margin-bottom:15px;
}

.stats-section{

    padding:90px 0;

    background:
        linear-gradient(
            135deg,
            var(--m360-dark),
            var(--m360-primary));

    color:white;
}

.stats-section h2{

    font-size:4rem;

    font-weight:800;

    margin-bottom:10px;
}

.stats-section p{

    font-size:1.1rem;

    opacity:.85;
}

.cta-section{

    padding:120px 0;

    color:white;

    background:
        linear-gradient(
            135deg,
            var(--m360-primary),
            var(--m360-dark));
}

.cta-section .btn{

    border-radius:50px;

    font-size:1.2rem;

    padding:15px 40px;

    box-shadow:
        0 15px 40px rgba(0,0,0,.20);
}

.btn-warning{

    background:#D4AF37;
    border:none;
    color:#222;
    font-weight:600;
}

.btn-warning:hover{

    background:#E6C35A;
}

.hero-section .badge{

    padding:12px 18px;

    border-radius:30px;

    font-size:.9rem;
}

section{

    position:relative;
}

.bg-light{

    background:#F8F5FF !important;
}

@media(max-width:768px){

    .hero-section{

        text-align:center;
        padding-top:50px;
    }

    .hero-image{

        margin-top:40px;
    }

    .stats-section h2{

        font-size:2.5rem;
    }
}



.hero-section {
    min-height: 100vh;
    background: linear-gradient( 135deg, #2E1065 0%, #6D28D9 60%, #9333EA 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        width: 700px;
        height: 700px;
        background: radial-gradient( rgba(255,255,255,.12), transparent 70%);
        top: -200px;
        right: -200px;
    }

    .hero-section .container {
        position: relative;
        z-index: 2;
    }

.hero-image {
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,.30);
    transform: rotate(-2deg);
    transition: .4s;
}

    .hero-image:hover {
        transform: rotate(0deg) scale(1.02);
    }

.text-gradient {
    background: linear-gradient( 90deg, #D4AF37, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card {
    padding: 30px;
    border-radius: 20px;
    transition: .3s;
}

    .feature-card:hover {
        transform: translateY(-5px);
    }

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto auto 20px;
    font-size: 28px;
    font-weight: 700;
    color: white;
    background: linear-gradient( 135deg, var(--m360-primary), var(--m360-secondary));
    box-shadow: 0 15px 30px rgba(109,40,217,.25);
}

.benefit-card {
    background: white;
    border-radius: 24px;
    padding: 35px;
    height: 100%;
    border: none;
    box-shadow: 0 15px 40px rgba(0,0,0,.06);
    transition: .3s;
}

    .benefit-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 50px rgba(109,40,217,.15);
    }

    .benefit-card h4 {
        color: var(--m360-primary);
        margin-bottom: 15px;
    }

.stats-section {
    padding: 90px 0;
    background: linear-gradient( 135deg, var(--m360-dark), var(--m360-primary));
    color: white;
}

    .stats-section h2 {
        font-size: 4rem;
        font-weight: 800;
        margin-bottom: 10px;
    }

    .stats-section p {
        font-size: 1.1rem;
        opacity: .85;
    }

.cta-section {
    padding: 120px 0;
    color: white;
    background: linear-gradient( 135deg, var(--m360-primary), var(--m360-dark));
}

    .cta-section .btn {
        border-radius: 50px;
        font-size: 1.2rem;
        padding: 15px 40px;
        box-shadow: 0 15px 40px rgba(0,0,0,.20);
    }

.btn-warning {
    background: #D4AF37;
    border: none;
    color: #222;
    font-weight: 600;
}

    .btn-warning:hover {
        background: #E6C35A;
    }

.hero-section .badge {
    padding: 12px 18px;
    border-radius: 30px;
    font-size: .9rem;
}

section {
    position: relative;
}

.bg-light {
    background: #F8F5FF !important;
}

@media(max-width:768px) {

    .hero-section {
        text-align: center;
        padding-top: 50px;
    }

    .hero-image {
        margin-top: 40px;
    }

    .stats-section h2 {
        font-size: 2.5rem;
    }
}


/********************************
 KPI CARDS
*********************************/

.kpi-card {
    border: none;
    border-radius: 24px;
    background: white;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
    transition: .3s;
}

    .kpi-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 50px rgba(109,40,217,.12);
    }

    .kpi-card .card-body {
        padding: 25px;
    }

.kpi-label {
    color: #6B7280;
    font-size: .9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.kpi-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-top: 5px;
}

.kpi-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

/********************************
 ICONOS KPI
*********************************/

.bg-kpi-primary {
    background: linear-gradient( 135deg, #6D28D9, #9333EA);
}

.bg-kpi-success {
    background: linear-gradient( 135deg, #10B981, #34D399);
}

.bg-kpi-info {
    background: linear-gradient( 135deg, #2563EB, #60A5FA);
}

.bg-kpi-gold {
    background: linear-gradient( 135deg, #D4AF37, #FCD34D);
}

/********************************
 DASHBOARD CARDS
*********************************/

.dashboard-card {
    border: none;
    border-radius: 24px;
    background: white;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.dashboard-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 20px;
}

/********************************
 EVENTOS RECIENTES
*********************************/

.event-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-radius: 15px;
    transition: .3s;
}

    .event-item:hover {
        background: #F8F5FF;
    }

.event-avatar {
    width: 55px;
    height: 55px;
    border-radius: 15px;
    background: linear-gradient( 135deg, #6D28D9, #9333EA);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/********************************
 BOTONES
*********************************/

.btn-m360 {
    background: linear-gradient( 135deg, #6D28D9, #9333EA);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 12px 24px;
    font-weight: 600;
}

    .btn-m360:hover {
        color: white;
        transform: translateY(-2px);
    }

/* ===========================
   LOGIN
=========================== */

.login-shell {
    width: min(1080px, 100%);
    margin: 25px auto 45px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(46,16,101,.12);
}

.login-panel {
    position: relative;
    min-height: 560px;
    padding: 44px;
    color: #fff;
    background: linear-gradient(135deg,#1B1033,#321456 58%,#231038);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

    .login-panel::after {
        content: '';
        position: absolute;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        right: -150px;
        top: -130px;
        background: rgba(255,255,255,.06);
        pointer-events: none;
    }

.login-brand,
.login-intro,
.login-benefits {
    position: relative;
    z-index: 1;
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.login-logo {
    width: 100px;
    height: auto;
    object-fit: cover;
    object-position: left center;
    border-radius: 14px;
    display: block;
    box-shadow: 0 12px 26px rgba(0,0,0,.24);
}

.login-brand-title {
    display: block;
    font-family: Georgia,'Times New Roman',serif;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.login-brand-subtitle {
    display: block;
    margin-top: 6px;
    color: var(--m360-gold);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.login-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(212,175,55,.14);
    color: #F7D875;
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.login-intro h1 {
    margin: 22px 0 14px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.02;
}

.login-intro p {
    max-width: 520px;
    color: rgba(255,255,255,.78);
    font-size: 1.04rem;
    margin: 0;
}

.login-benefits {
    display: grid;
    gap: 12px;
}

    .login-benefits div {
        display: flex;
        align-items: center;
        gap: 12px;
        color: rgba(255,255,255,.86);
        font-weight: 600;
    }

    .login-benefits i {
        width: 36px;
        height: 36px;
        border-radius: 12px;
        background: rgba(255,255,255,.12);
        color: var(--m360-gold);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

.login-card {
    padding: 54px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-card-header {
    margin-bottom: 30px;
}

    .login-card-header h2 {
        margin: 0;
        color: #111827;
        font-size: 1.75rem;
        font-weight: 800;
    }

    .login-card-header p {
        margin: 8px 0 0;
        color: #6B7280;
    }

.login-field {
    margin-bottom: 20px;
}

    .login-field .form-label {
        color: #374151;
        font-weight: 700;
        margin-bottom: 8px;
    }

.login-input-icon {
    position: relative;
}

    .login-input-icon i {
        position: absolute;
        left: 17px;
        top: 50%;
        transform: translateY(-50%);
        color: #8B5CF6;
        z-index: 2;
    }

    .login-input-icon .form-control {
        min-height: 52px;
        border: 1px solid #E5E7EB;
        border-radius: 14px;
        padding-left: 46px;
        background: #FAFAFB;
    }

        .login-input-icon .form-control:focus {
            border-color: #8B5CF6;
            background: #fff;
            box-shadow: 0 0 0 .22rem rgba(109,40,217,.12);
        }

.login-actions {
    display: grid;
    gap: 16px;
    margin-top: 8px;
}

.login-register-link {
    color: var(--m360-primary);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

    .login-register-link:hover {
        color: var(--m360-dark);
        text-decoration: underline;
    }

.activation-shell {
    width: min(980px, 100%);
    min-height: 540px;
    margin: 25px auto 45px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(109,40,217,.08);
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(46,16,101,.14);
}

.activation-brand-panel {
    position: relative;
    isolation: isolate;
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 36px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(145deg,#1b1033 0%,#3d1768 58%,#25103e 100%);
}
.activation-brand-panel::before {
    content: '';
    position: absolute;
    z-index: -1;
    width: 360px;
    height: 360px;
    top: -170px;
    right: -115px;
    border-radius: 50%;
    background: radial-gradient(circle,rgba(212,175,55,.23),rgba(212,175,55,0) 68%);
}
.activation-brand-copy h1 {
    margin: 20px 0 14px;
    font-size: clamp(2.15rem,4vw,3.4rem);
    font-weight: 800;
    line-height: 1.03;
}
.activation-brand-copy p {
    margin: 0;
    color: rgba(255,255,255,.76);
    font-size: 1.04rem;
    line-height: 1.7;
}
.activation-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.84);
    font-weight: 600;
}
.activation-trust i { color: var(--m360-gold); font-size: 1.25rem; }
.activation-result-card {
    padding: 48px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.activation-status-icon {
    width: 82px;
    height: 82px;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 26px;
    font-size: 2rem;
    transform: rotate(-4deg);
}
.activation-status-icon i { transform: rotate(4deg); }
.activation-status-icon.is-success { color: #047857; background: #ecfdf5; box-shadow: 0 14px 32px rgba(5,150,105,.16); }
.activation-status-icon.is-error { color: #b45309; background: #fffbeb; box-shadow: 0 14px 32px rgba(217,119,6,.14); }
.activation-kicker {
    color: #047857;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.activation-kicker.is-error { color: #b45309; }
.activation-result-card h2 {
    margin: 9px 0 12px;
    color: #171126;
    font-size: clamp(1.8rem,3vw,2.35rem);
    font-weight: 800;
}
.activation-result-card > p { margin: 0 0 26px; color: #6b6475; line-height: 1.7; }
.activation-primary-action { width: 100%; padding: 14px 22px; box-shadow: 0 12px 24px rgba(109,40,217,.2); }
.activation-secondary-action {
    width: 100%;
    margin-top: 15px;
    color: var(--m360-primary);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}
.activation-help {
    width: 100%;
    margin-top: 28px;
    padding-top: 20px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    border-top: 1px solid #eeeaf4;
    color: #7a7383;
    font-size: .86rem;
}

@media(max-width:991px) {
    .activation-shell { grid-template-columns: 1fr; margin-top: 10px; }
    .activation-brand-panel { min-height: auto; padding: 34px; }
}
@media(max-width:575px) {
    .activation-shell { border-radius: 18px; }
    .activation-brand-panel, .activation-result-card { padding: 28px 22px; }
}

.partner-benefits {
    display: grid;
    gap: 14px;
}

    .partner-benefits div {
        display: flex;
        align-items: center;
        gap: 12px;
        color: #374151;
        font-weight: 700;
    }

    .partner-benefits i {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        background: rgba(109,40,217,.1);
        color: var(--m360-primary);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

/* ===========================
   PERFIL DE USUARIO
=========================== */

.profile-hero .btn.disabled {
    opacity: 1;
}

.profile-layout {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.profile-card,
.profile-editor,
.profile-info-item {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.profile-card {
    padding: 30px;
    text-align: center;
    position: sticky;
    top: 24px;
}

.profile-photo-zone {
    display: flex;
    justify-content: center;
}

.profile-photo-frame {
    width: 178px;
    height: 178px;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    background: #F8F5FF;
    border: 5px solid #fff;
    box-shadow: 0 18px 40px rgba(46,16,101,.16);
    cursor: pointer;
}

    .profile-photo-frame img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.profile-photo-action {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg,#6D28D9,#9333EA);
    box-shadow: 0 10px 20px rgba(46,16,101,.24);
}

.profile-identity {
    margin-top: 22px;
}

    .profile-identity h2 {
        margin: 0 0 8px;
        font-size: 1.5rem;
        font-weight: 800;
        color: #111827;
        overflow-wrap: anywhere;
    }

    .profile-identity a {
        color: var(--m360-primary);
        text-decoration: none;
        font-weight: 700;
        overflow-wrap: anywhere;
    }

.profile-meta-list {
    display: grid;
    gap: 12px;
    margin-top: 26px;
    text-align: left;
}

    .profile-meta-list div {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px;
        border-radius: 14px;
        background: #F8F5FF;
        color: #374151;
        font-weight: 600;
    }

    .profile-meta-list i,
    .profile-help i {
        color: var(--m360-primary);
    }

.profile-help {
    margin-top: 22px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(212,175,55,.12);
    color: #6B5B18;
    display: flex;
    gap: 10px;
    text-align: left;
    font-weight: 700;
}

.profile-main {
    display: grid;
    gap: 22px;
}

.profile-summary {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.profile-section-label {
    display: block;
    color: var(--m360-primary);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.profile-summary h3,
.profile-form-header h4,
.profile-empty-state h4 {
    margin: 0;
    color: #111827;
    font-weight: 800;
}

.profile-actions,
.profile-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
}

.profile-info-item {
    padding: 20px;
}

    .profile-info-item span {
        display: block;
        color: #6B7280;
        font-size: .86rem;
        font-weight: 700;
        margin-bottom: 6px;
        text-transform: uppercase;
    }

    .profile-info-item strong {
        display: block;
        color: #111827;
        font-size: 1.05rem;
        overflow-wrap: anywhere;
    }

.profile-editor {
    min-height: 240px;
    padding: 26px;
}

.profile-empty-state {
    min-height: 190px;
    display: flex;
    align-items: center;
    gap: 18px;
    color: #6B7280;
}

    .profile-empty-state > i {
        width: 62px;
        height: 62px;
        border-radius: 18px;
        background: linear-gradient(135deg,#6D28D9,#9333EA);
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        flex: 0 0 auto;
    }

    .profile-empty-state p {
        margin: 8px 0 0;
    }

.profile-form-panel {
    display: grid;
    gap: 22px;
}

.profile-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid #EEF0F5;
}

    .profile-form-header > i {
        width: 48px;
        height: 48px;
        border-radius: 16px;
        background: #F8F5FF;
        color: var(--m360-primary);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
    }

.profile-form .form-label {
    color: #374151;
    font-weight: 700;
}

.profile-form .form-control {
    min-height: 48px;
    border-radius: 14px;
    border-color: #E5E7EB;
    background: #FAFAFB;
}

    .profile-form .form-control:focus {
        border-color: #8B5CF6;
        background: #fff;
        box-shadow: 0 0 0 .22rem rgba(109,40,217,.12);
    }

@media(max-width:991px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }

    .profile-card {
        position: static;
    }

    .profile-summary {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ===========================
   HOME PUBLICO MEMORIAS 360
=========================== */

.contenido-publico {
    overflow-x: clip;
}

.public-home-hero {
    min-height: min(780px, calc(100vh - 74px));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: #fff;
    background: #171126;
}

.public-home-hero::before {
    content: "";
    position: absolute;
    inset: -5%;
    background-image: url('/imagenes/landing1.jpg');
    background-position: center 62%;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1.04);
    transform-origin: center center;
    animation: m360-hero-background 18s ease-in-out infinite alternate;
    will-change: transform, background-position;
}

.public-home-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15,9,27,.97), rgba(31,16,56,.88) 52%, rgba(24,13,44,.48)),
        linear-gradient(180deg, rgba(0,0,0,.12), rgba(20,10,38,.42));
    pointer-events: none;
}

.public-home-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    opacity: .28;
    pointer-events: none;
    will-change: transform;
}

.public-home-hero-glow--one {
    width: 340px;
    height: 340px;
    right: 7%;
    top: 12%;
    background: radial-gradient(circle, rgba(231,199,90,.58), transparent 68%);
    animation: m360-float 8s ease-in-out infinite;
}

.public-home-hero-glow--two {
    width: 460px;
    height: 460px;
    right: 26%;
    bottom: -28%;
    background: radial-gradient(circle, rgba(139,92,246,.52), transparent 67%);
    animation: m360-float 11s ease-in-out -3s infinite reverse;
}

.public-home-hero-content {
    position: relative;
    z-index: 1;
    padding: 88px 12px 72px;
}

.public-home-hero-content > * {
    animation: m360-hero-in .8s cubic-bezier(.22,.75,.25,1) both;
}

.public-home-hero-content > h1 { animation-delay: 80ms; }
.public-home-hero-content > p { animation-delay: 160ms; }
.public-home-hero-content > .public-home-actions { animation-delay: 240ms; }
.public-home-hero-content > .public-home-trust { animation-delay: 320ms; }

.public-home-eyebrow {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 9px 15px;
    background: rgba(212,175,55,.18);
    border: 1px solid rgba(212,175,55,.30);
    color: #F7D875;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

    .public-home-eyebrow.is-dark {
        background: rgba(109,40,217,.10);
        border-color: rgba(109,40,217,.18);
        color: #6D28D9;
    }

.public-home-hero h1 {
    max-width: 840px;
    margin: 18px 0 14px;
    font-size: clamp(3.25rem, 7vw, 6.25rem);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .94;
    text-shadow: 0 4px 28px rgba(0,0,0,.34);
}

.public-home-hero h1 span {
    color: #E7C75A;
}

.public-home-hero p {
    max-width: 680px;
    color: rgba(255,255,255,.93);
    font-size: clamp(1.05rem, 1.7vw, 1.26rem);
    line-height: 1.55;
    margin-bottom: 28px;
    text-shadow: 0 2px 12px rgba(0,0,0,.30);
}

.public-home-btn {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 13px 23px;
    font-weight: 850;
    letter-spacing: -.01em;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.public-home-btn--gold {
    color: #211429;
    background: linear-gradient(135deg,#F9DF82,#D4AF37);
    border-color: #F8DC75;
    box-shadow: 0 13px 32px rgba(212,175,55,.28), inset 0 1px rgba(255,255,255,.48);
}

.public-home-btn--gold:hover,
.public-home-btn--gold:focus {
    color: #130B19;
    background: linear-gradient(135deg,#FFECA5,#DEB83C);
    border-color: #FFE797;
    box-shadow: 0 17px 38px rgba(212,175,55,.38), inset 0 1px rgba(255,255,255,.6);
    transform: translateY(-2px);
}

.public-home-btn--glass {
    color: #fff;
    background: rgba(16,9,29,.48);
    border-color: rgba(255,255,255,.68);
    box-shadow: 0 10px 28px rgba(0,0,0,.18), inset 0 1px rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
}

.public-home-btn--glass:hover,
.public-home-btn--glass:focus {
    color: #fff;
    background: rgba(255,255,255,.16);
    border-color: #fff;
    box-shadow: 0 15px 34px rgba(0,0,0,.24);
    transform: translateY(-2px);
}

.public-home-btn--purple {
    color: #fff;
    background: linear-gradient(135deg,#6D28D9,#4C1D95);
    border-color: #5B21B6;
    box-shadow: 0 12px 28px rgba(109,40,217,.23);
}

.public-home-btn--purple:hover,
.public-home-btn--purple:focus {
    color: #fff;
    background: linear-gradient(135deg,#7C3AED,#3B1679);
    border-color: #6D28D9;
    box-shadow: 0 16px 34px rgba(109,40,217,.32);
    transform: translateY(-2px);
}

.public-home-btn--outline {
    color: #4C1D95;
    background: rgba(255,255,255,.88);
    border-color: #6D28D9;
    box-shadow: 0 9px 24px rgba(76,29,149,.08);
}

.public-home-btn--outline:hover,
.public-home-btn--outline:focus {
    color: #fff;
    background: #4C1D95;
    border-color: #4C1D95;
    box-shadow: 0 14px 30px rgba(76,29,149,.22);
    transform: translateY(-2px);
}

.public-home-btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.public-home-actions,
.public-home-trust,
.public-home-partner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.public-home-trust {
    margin-top: 28px;
}

    .public-home-trust span {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border-radius: 999px;
        padding: 9px 14px;
        background: rgba(12,7,22,.38);
        border: 1px solid rgba(255,255,255,.24);
        color: rgba(255,255,255,.96);
        font-weight: 800;
        transition: background .25s ease, border-color .25s ease, transform .25s ease;
    }

    .public-home-trust span:hover {
        background: rgba(255,255,255,.16);
        border-color: rgba(255,255,255,.22);
        transform: translateY(-2px);
    }

    .public-home-trust i {
        color: #F7D875;
    }

.public-home-section {
    padding: 96px 0;
    background: #fff;
}

.public-home-intro {
    background: #F8F5FF;
}

.public-home-section-head {
    max-width: 780px;
    margin: 0 auto 38px;
    text-align: center;
}

    .public-home-section-head span {
        color: #6D28D9;
        display: block;
        font-size: .82rem;
        font-weight: 900;
        letter-spacing: .08em;
        margin-bottom: 9px;
        text-transform: uppercase;
    }

    .public-home-section-head h2,
    .public-home-band h2,
    .public-home-partners h2,
    .public-home-cta h2 {
        color: #111827;
        font-size: clamp(2rem, 4vw, 3.25rem);
        font-weight: 900;
        letter-spacing: 0;
        line-height: 1.05;
        margin-bottom: 14px;
    }

    .public-home-section-head p,
    .public-home-band p,
    .public-home-partners p {
        color: #6B7280;
        font-size: 1.06rem;
        line-height: 1.65;
        margin: 0;
    }

.public-home-scenarios,
.public-home-feature-grid,
.public-home-flow {
    display: grid;
    gap: 18px;
}

.public-home-scenarios {
    grid-template-columns: repeat(3,minmax(0,1fr));
}

    .public-home-scenarios article {
        background: #fff;
        border: 1px solid rgba(109,40,217,.08);
        border-radius: 20px;
        padding: 30px;
        box-shadow: 0 18px 48px rgba(46,16,101,.07);
        transition: transform .2s ease, box-shadow .2s ease;
    }

    .public-home-scenarios article:hover {
        transform: translateY(-4px);
        box-shadow: 0 24px 60px rgba(46,16,101,.11);
    }

    .public-home-scenarios i,
    .public-home-feature-grid i {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg,#6D28D9,#9333EA);
        color: #fff;
        font-size: 1.2rem;
        margin-bottom: 18px;
    }

    .public-home-scenarios h3 {
        color: #111827;
        font-size: 1.18rem;
        font-weight: 900;
        margin-bottom: 10px;
    }

.public-home-scenarios p {
        color: #6B7280;
        line-height: 1.55;
        margin: 0;
    }

.public-home-events {
    background: linear-gradient(180deg,#F8F5FF 0%,#fff 100%);
}

.public-home-events-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3,minmax(0,1fr));
}

.home-event-card {
    background: #fff;
    border: 1px solid rgba(109,40,217,.09);
    border-radius: 22px;
    box-shadow: 0 18px 48px rgba(46,16,101,.07);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .home-event-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 26px 62px rgba(46,16,101,.12);
    }

.home-event-card__img {
    display: block;
    height: 190px;
    object-fit: cover;
    width: 100%;
}

.home-event-card__img--empty {
    align-items: center;
    background: linear-gradient(135deg,#5b6cff,#8f56ff);
    color: #fff;
    display: flex;
    font-size: 2.6rem;
    justify-content: center;
}

.home-event-card__body {
    display: grid;
    gap: 8px;
    padding: 22px;
}

.home-event-card__date {
    color: #6D28D9;
    display: block;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.home-event-card h3 {
    color: #111827;
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.25;
    margin: 0;
}

.home-event-card__place,
.home-event-card__org {
    color: #6B7280;
    font-size: .92rem;
    line-height: 1.5;
    margin: 0;
}

.home-event-card__org {
    font-weight: 700;
    margin-top: -2px;
}

.home-event-card__link {
    align-items: center;
    color: #6D28D9;
    display: inline-flex;
    font-size: .92rem;
    font-weight: 800;
    margin-top: 8px;
    text-decoration: none;
    transition: gap .2s ease;
    gap: 4px;
}

    .home-event-card__link:hover {
        gap: 8px;
        color: #5B21B6;
    }

@media (max-width: 991.98px) {
    .public-home-events-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 575.98px) {
    .public-home-events-grid {
        grid-template-columns: 1fr;
    }
}

.public-home-band {
    background: #fff;
}

.public-home-feature-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
}

    .public-home-feature-grid div {
        border: 1px solid #EEF2F7;
        border-radius: 18px;
        padding: 24px;
        background: #F8FAFC;
        transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
    }

    .public-home-feature-grid div:hover {
        border-color: rgba(109,40,217,.20);
        box-shadow: 0 20px 45px rgba(46,16,101,.09);
        transform: translateY(-5px);
    }

    .public-home-feature-grid strong,
    .public-home-feature-grid span {
        display: block;
    }

    .public-home-feature-grid strong {
        color: #111827;
        font-weight: 900;
        margin-bottom: 6px;
    }

    .public-home-feature-grid span {
        color: #6B7280;
        line-height: 1.45;
    }

.public-home-flow {
    grid-template-columns: repeat(4,minmax(0,1fr));
}

    .public-home-flow div {
        position: relative;
        min-height: 190px;
        padding: 24px;
        border-radius: 18px;
        background: #F8F5FF;
        border: 1px solid rgba(109,40,217,.10);
        transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
    }

    .public-home-flow div:hover {
        background: #fff;
        box-shadow: 0 22px 50px rgba(46,16,101,.10);
        transform: translateY(-5px);
    }

    .public-home-flow span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: #6D28D9;
        color: #fff;
        font-weight: 900;
        margin-bottom: 18px;
        transition: transform .25s ease;
    }

    .public-home-flow div:hover > span { transform: scale(1.1) rotate(-4deg); }

.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity .7s ease var(--reveal-delay, 0ms),
        transform .7s cubic-bezier(.22,.75,.25,1) var(--reveal-delay, 0ms);
}

.reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-ready .public-home-scenarios article[data-reveal].is-visible:hover,
.reveal-ready .public-home-feature-grid div[data-reveal].is-visible:hover,
.reveal-ready .public-home-flow div[data-reveal].is-visible:hover {
    transform: translateY(-5px);
}

@keyframes m360-hero-in {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes m360-float {
    0%, 100% { transform: translate3d(0,0,0) scale(1); }
    50% { transform: translate3d(18px,-20px,0) scale(1.08); }
}

@keyframes m360-hero-background {
    0% {
        background-position: 48% 62%;
        transform: scale(1.04);
    }
    100% {
        background-position: 54% 58%;
        transform: scale(1.12);
    }
}

@media (prefers-reduced-motion: reduce) {
    .public-home-hero-content > *,
    .public-home-hero-glow,
    .public-home-hero::before {
        animation: none !important;
    }

    .reveal-ready [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .public-home-scenarios article,
    .public-home-feature-grid div,
    .public-home-flow div,
    .public-home-flow span,
    .public-home-trust span {
        transition: none;
    }
}

    .public-home-flow strong {
        display: block;
        color: #111827;
        font-weight: 900;
        margin-bottom: 8px;
    }

    .public-home-flow p {
        color: #6B7280;
        line-height: 1.48;
        margin: 0;
    }

.public-home-partners {
    background: linear-gradient(135deg,#F8F5FF,#EEF2FF 62%,#F7F3FF);
}

.public-home-partner-actions {
    justify-content: flex-end;
}

.public-home-cta {
    padding: 92px 0;
    background:
        radial-gradient(circle at 75% 20%,rgba(139,92,246,.34),transparent 34%),
        linear-gradient(135deg,#171126,#2C174C 60%,#211230);
    color: #fff;
}

    .public-home-cta span {
        color: #F7D875;
        display: block;
        font-weight: 900;
        letter-spacing: .08em;
        margin-bottom: 12px;
        text-transform: uppercase;
    }

    .public-home-cta h2 {
        color: #fff;
        max-width: 820px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 28px;
    }

@media(max-width:991px) {
    .public-home-hero-overlay {
        background: linear-gradient(90deg, rgba(27,16,51,.92), rgba(27,16,51,.72));
    }

    .public-home-scenarios,
    .public-home-flow {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .public-home-partner-actions {
        justify-content: flex-start;
    }
}

@media(max-width:575px) {
    .public-home-hero {
        min-height: 72vh;
    }

    .public-home-hero-content {
        padding-top: 46px;
    }

    .public-home-actions .btn,
    .public-home-partner-actions .btn {
        width: 100%;
    }

    .public-home-scenarios,
    .public-home-feature-grid,
    .public-home-flow {
        grid-template-columns: 1fr;
    }

    .public-home-section {
        padding: 58px 0;
    }
}

@media(max-width:575px) {
    .profile-info-grid {
        grid-template-columns: 1fr;
    }

    .profile-actions,
    .profile-form-actions {
        flex-direction: column;
    }

    .profile-actions .btn,
    .profile-form-actions .btn {
        width: 100%;
    }

    .profile-empty-state {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media(max-width:991px) {
    .login-shell {
        grid-template-columns: 1fr;
        margin-top: 10px;
    }

    .login-panel {
        min-height: auto;
        gap: 38px;
        padding: 34px;
    }
}

@media(max-width:575px) {
    .login-shell {
        border-radius: 18px;
    }

    .login-panel,
    .login-card {
        padding: 28px 22px;
    }

    .login-logo {
        width: 84px;
    }

    .login-brand-title {
        font-size: 1.28rem;
    }

    .login-brand-subtitle {
        font-size: .62rem;
        letter-spacing: .12em;
    }
}

/********************************
 TABLAS
*********************************/

.table-m360 {
    background: white;
    border-radius: 20px;
    overflow: hidden;
}

    .table-m360 thead {
        background: #F8F5FF;
    }

    .table-m360 th {
        color: #6D28D9;
        font-weight: 600;
        border: none;
    }

    .table-m360 td {
        vertical-align: middle;
    }

/********************************
 BADGES
*********************************/

.badge-m360 {
    background: rgba(109,40,217,.1);
    color: #6D28D9;
    padding: 8px 12px;
    border-radius: 50px;
    font-weight: 600;
}


/* ===========================
   DASHBOARD MEMORIA360
=========================== */

.dashboard-hero {
    background: linear-gradient( 135deg, #2E1065, #6D28D9);
    color: white;
    border-radius: 24px;
    padding: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(109,40,217,.20);
}

    .dashboard-hero > * {
        position: relative;
        z-index: 1;
    }

    .dashboard-hero::after {
        content: '';
        position: absolute;
        width: 400px;
        height: 400px;
        border-radius: 50%;
        background: rgba(255,255,255,.05);
        right: -120px;
        top: -120px;
        z-index: 0;
        pointer-events: none;
    }

.dashboard-home-hero {
    margin-top: 2px;
}

.dashboard-hero-actions {
    display: grid;
    gap: 12px;
    justify-content: end;
}

/* ===========================
   MÉTRICAS
=========================== */

.metric-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
    transition: .3s;
}

    .metric-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(109,40,217,.12);
    }

.metric-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    background: linear-gradient( 135deg, #6D28D9, #9333EA);
    color: white;
    margin-bottom: 20px;
}

.metric-value {
    font-size: 2.8rem;
    font-weight: 700;
    color: #111827;
}

.metric-label {
    color: #6B7280;
    font-size: 1rem;
    margin-top: 5px;
}

.dashboard-metric {
    align-items: center;
    display: flex;
    gap: 18px;
    padding: 22px;
    text-align: left;
}

    .dashboard-metric .metric-icon {
        flex: 0 0 62px;
        font-size: 26px;
        height: 62px;
        margin: 0;
        width: 62px;
    }

    .dashboard-metric .metric-value {
        font-size: 2.15rem;
        line-height: 1;
    }

    .dashboard-metric .metric-label {
        line-height: 1.2;
        margin-top: 6px;
    }

/* ===========================
   ACCESOS RÁPIDOS
=========================== */

.quick-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    display: block;
    text-align: center;
    color: #111827;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,.05);
    transition: .3s;
}

    .quick-card:hover {
        transform: translateY(-5px);
        color: #6D28D9;
        box-shadow: 0 20px 40px rgba(109,40,217,.15);
    }

.quick-icon {
    width: 70px;
    height: 70px;
    margin: auto;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: linear-gradient( 135deg, #6D28D9, #9333EA);
    color: white;
    margin-bottom: 20px;
}

.dashboard-action-card {
    padding: 24px;
    text-align: left;
}

    .dashboard-action-card .quick-icon {
        height: 54px;
        margin: 0 0 16px;
        width: 54px;
        font-size: 22px;
    }

    .dashboard-action-card strong,
    .dashboard-action-card span {
        display: block;
    }

    .dashboard-action-card strong {
        color: #111827;
        font-size: 1.05rem;
        font-weight: 900;
        margin-bottom: 4px;
    }

    .dashboard-action-card span {
        color: #6B7280;
        line-height: 1.35;
    }

.dashboard-panel {
    border: 1px solid rgba(109,40,217,.08);
}

.dashboard-panel-header {
    align-items: center;
    border-bottom: 1px solid #EEF2F7;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 18px;
}

.dashboard-event-list {
    display: grid;
    gap: 12px;
}

.dashboard-event-item {
    align-items: center;
    background: #F8FAFC;
    border: 1px solid #EEF2F7;
    border-radius: 18px;
    color: #111827;
    display: grid;
    gap: 14px;
    grid-template-columns: auto 1fr auto;
    padding: 16px;
    transition: .25s;
}

    .dashboard-event-item:hover {
        background: #F8F5FF;
        border-color: rgba(109,40,217,.22);
        color: #111827;
        transform: translateY(-2px);
    }

    .dashboard-event-item > i {
        color: #9CA3AF;
    }

.dashboard-event-date {
    align-items: center;
    background: rgba(109,40,217,.10);
    border-radius: 16px;
    color: #6D28D9;
    display: flex;
    flex-direction: column;
    height: 58px;
    justify-content: center;
    line-height: 1;
    width: 58px;
}

    .dashboard-event-date strong {
        font-size: 1.25rem;
        font-weight: 900;
    }

    .dashboard-event-date span {
        font-size: .78rem;
        font-weight: 800;
        text-transform: uppercase;
    }

.dashboard-event-main h6 {
    font-weight: 900;
    margin: 0;
}

.dashboard-event-main p {
    color: #6B7280;
    margin: 0;
}

.dashboard-memory-list {
    display: grid;
}

.dashboard-memory-item {
    padding: 16px 0;
}

    .dashboard-memory-item p {
        color: #374151;
        line-height: 1.45;
        margin: 8px 0 0;
    }

.dashboard-empty-state {
    padding: 46px 18px;
    text-align: center;
}

    .dashboard-empty-state i {
        color: #6D28D9;
        font-size: 2.8rem;
        margin-bottom: 16px;
    }

    .dashboard-empty-state h5 {
        font-weight: 900;
        margin-bottom: 6px;
    }

    .dashboard-empty-state p {
        color: #6B7280;
        margin-bottom: 18px;
    }

    .dashboard-empty-state.is-compact {
        padding: 32px 14px;
    }

/* ===========================
   EVENTOS RECIENTES
=========================== */

.evento-card {
    background: #FAFAFA;
    border-radius: 18px;
    padding: 20px;
    border-left: 5px solid #6D28D9;
    transition: .3s;
}

    .evento-card:hover {
        background: #F8F5FF;
        transform: translateY(-3px);
    }

.evento-date {
    display: inline-block;
    background: rgba(109,40,217,.10);
    color: #6D28D9;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* ===========================
   FORMULARIO EVENTOS
=========================== */

.event-form-shell .form-control,
.event-form-shell .form-select {
    border-color: #E5E7EB;
    border-radius: 14px;
    padding: 12px 14px;
}

    .event-form-shell .form-control:focus,
    .event-form-shell .form-select:focus {
        border-color: #9333EA;
        box-shadow: 0 0 0 .22rem rgba(147,51,234,.12);
    }

.event-form-card,
.event-form-side {
    border: 1px solid rgba(109,40,217,.08);
}

.event-form-section {
    border-bottom: 1px solid #EEF2F7;
    margin-bottom: 24px;
    padding-bottom: 20px;
}

    .event-form-section h5 {
        color: #111827;
        font-size: 1.35rem;
        font-weight: 800;
        margin-bottom: 6px;
    }

    .event-form-section p {
        color: #6B7280;
        margin: 0;
    }

.event-form-eyebrow {
    color: #6D28D9;
    display: inline-flex;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.event-form-side {
    position: sticky;
    top: 24px;
}

.event-cover-preview,
.event-cover-empty {
    aspect-ratio: 16 / 10;
    border-radius: 20px;
    width: 100%;
}

.event-cover-preview {
    box-shadow: 0 16px 32px rgba(17,24,39,.12);
    object-fit: cover;
}

.event-cover-empty {
    align-items: center;
    background: linear-gradient(135deg,#F8F5FF,#EEF2FF);
    border: 1px dashed rgba(109,40,217,.32);
    color: #6D28D9;
    display: flex;
    flex-direction: column;
    font-weight: 800;
    gap: 10px;
    justify-content: center;
}

    .event-cover-empty i {
        font-size: 2.3rem;
    }

.event-form-option {
    align-items: center;
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 18px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 16px;
}

    .event-form-option strong,
    .event-form-option small {
        display: block;
    }

    .event-form-option small {
        color: #6B7280;
        line-height: 1.35;
        margin-top: 4px;
    }

.event-form-note {
    align-items: flex-start;
    background: rgba(109,40,217,.08);
    border-radius: 16px;
    color: #4C1D95;
    display: flex;
    gap: 10px;
    line-height: 1.45;
    margin-top: 18px;
    padding: 14px 16px;
}

    .event-form-note i {
        margin-top: 3px;
    }

/* ===========================
   ADMINISTRACION EVENTO
=========================== */

.event-admin-hero-actions {
    display: grid;
    gap: 12px;
    justify-content: end;
}

.event-admin-panel {
    border: 1px solid rgba(109,40,217,.08);
}

.event-admin-cover {
    border-radius: 20px;
    min-height: 260px;
    overflow: hidden;
    position: relative;
}

.event-admin-cover img,
.event-admin-cover-empty {
    height: 100%;
    min-height: 260px;
    width: 100%;
}

.event-admin-cover img {
    object-fit: cover;
}

.event-admin-cover-empty {
    align-items: center;
    background: linear-gradient(135deg,#F8F5FF,#EEF2FF);
    color: #6D28D9;
    display: flex;
    font-size: 4rem;
    justify-content: center;
}

.event-admin-cover-state {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    left: 18px;
    position: absolute;
    top: 18px;
}

.event-admin-section {
    border-bottom: 1px solid #EEF2F7;
    display: grid;
    gap: 20px;
    padding: 28px 0;
}

.event-admin-section:last-child {
    border-bottom: 0;
}

.event-admin-section h5,
.event-admin-side-title h5 {
    color: #111827;
    font-weight: 900;
    margin-bottom: 4px;
}

.event-admin-section p,
.event-admin-side-title span {
    color: #6B7280;
    margin: 0;
}

.event-admin-status-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.event-admin-status-item {
    align-items: flex-start;
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 18px;
    display: grid;
    gap: 4px;
    padding: 16px;
}

.event-admin-status-item i {
    color: #6D28D9;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.event-admin-status-item span,
.event-admin-payment-line span,
.event-list-order span {
    color: #6B7280;
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.event-admin-status-item strong,
.event-admin-payment-line strong,
.event-list-order strong {
    color: #111827;
    line-height: 1.25;
}

.event-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.event-admin-metric {
    padding: 20px;
}

.event-admin-metric .metric-icon {
    height: 54px;
    width: 54px;
    border-radius: 16px;
    font-size: 22px;
    margin-bottom: 14px;
}

.event-admin-metric .metric-value {
    font-size: 2rem;
}

.event-admin-sidebar {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 24px;
}

.event-admin-side-title {
    align-items: center;
    border-bottom: 1px solid #EEF2F7;
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 16px;
}

.event-admin-side-title > i {
    align-items: center;
    background: linear-gradient(135deg,#6D28D9,#9333EA);
    border-radius: 16px;
    color: white;
    display: flex;
    flex: 0 0 48px;
    height: 48px;
    justify-content: center;
}

.event-admin-payment-line {
    border-bottom: 1px solid #F1F5F9;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 10px 0;
}

.event-admin-payment-line:last-child {
    border-bottom: 0;
}

.event-admin-link-box {
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    color: #4C1D95;
    font-weight: 800;
    overflow-wrap: anywhere;
    padding: 12px 14px;
}

.event-admin-qr {
    border: 1px solid #E5E7EB;
    border-radius: 18px;
    display: block;
    margin: 16px auto 0;
    max-width: 180px;
    width: 100%;
}

.event-list-meta {
    display: grid;
    gap: 8px;
}

.event-list-meta span {
    color: #6B7280;
    line-height: 1.35;
}

.event-list-order {
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    padding: 12px 14px;
}

.payment-method-option.is-disabled {
    cursor: not-allowed;
    opacity: .62;
}

.payment-method-option.is-disabled input,
.payment-method-option.is-disabled span {
    pointer-events: none;
}

.privacy-option-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
}

.privacy-option {
    cursor: pointer;
    display: block;
}

.privacy-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.privacy-option span {
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 18px;
    display: grid;
    gap: 6px;
    min-height: 148px;
    padding: 18px;
    position: relative;
    transition: .2s;
}

.privacy-option i {
    align-items: center;
    background: rgba(109,40,217,.10);
    border-radius: 14px;
    color: #6D28D9;
    display: flex;
    font-size: 1.1rem;
    height: 42px;
    justify-content: center;
    margin-bottom: 4px;
    width: 42px;
}

.privacy-option strong {
    color: #111827;
    font-weight: 900;
}

.privacy-option small,
.privacy-option em {
    color: #6B7280;
    font-style: normal;
    line-height: 1.35;
}

.privacy-option em {
    color: #B45309;
    font-weight: 700;
}

.privacy-option b {
    color: #111827;
    display: inline-flex;
    font-size: 1.12rem;
    font-weight: 900;
    margin-top: 6px;
}

.privacy-option input:checked + span {
    background: #F8F5FF;
    border-color: #6D28D9;
    box-shadow: 0 0 0 .18rem rgba(109,40,217,.10);
}

.privacy-option input:checked + span i {
        background: #6D28D9;
        color: #fff;
    }

.event-type-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
}

.event-type-option {
    cursor: pointer;
    display: block;
}

.event-type-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.event-type-option span {
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 18px;
    display: grid;
    gap: 6px;
    min-height: 120px;
    padding: 16px;
    position: relative;
    transition: .2s;
}

.event-type-option i {
    align-items: center;
    background: rgba(109,40,217,.10);
    border-radius: 14px;
    color: #6D28D9;
    display: flex;
    font-size: 1.05rem;
    height: 40px;
    justify-content: center;
    margin-bottom: 4px;
    width: 40px;
}

.event-type-option strong {
    color: #111827;
    font-weight: 900;
}

.event-type-option small {
    color: #6B7280;
    font-style: normal;
    line-height: 1.35;
}

.event-type-option input:checked + span {
    background: #F8F5FF;
    border-color: #6D28D9;
    box-shadow: 0 0 0 .18rem rgba(109,40,217,.10);
}

.event-type-option input:checked + span i {
    background: #6D28D9;
    color: #fff;
}

@media (max-width: 991.98px) {
    .event-admin-hero-actions,
    .dashboard-hero-actions {
        justify-content: stretch;
    }

    .event-admin-sidebar {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .event-admin-status-grid {
        grid-template-columns: 1fr;
    }

    .event-admin-actions .btn,
    .event-admin-actions form {
        width: 100%;
    }

    .event-admin-actions .btn {
        display: block;
    }
}

/* ===========================
   CLIENTES
=========================== */

.client-metric {
    padding: 22px;
}

    .client-metric .metric-icon {
        height: 58px;
        width: 58px;
        border-radius: 16px;
        font-size: 24px;
        margin-bottom: 14px;
    }

    .client-metric .metric-value {
        font-size: 2rem;
    }

.client-list-card {
    overflow: hidden;
}

.client-list-header {
    align-items: center;
    border-bottom: 1px solid #EEF2F7;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin: -4px -4px 18px;
    padding: 0 0 18px;
}

.client-table td {
    vertical-align: middle;
}

.client-identity {
    align-items: center;
    display: flex;
    gap: 14px;
    min-width: 240px;
}

    .client-identity strong,
    .client-identity span {
        display: block;
    }

    .client-identity strong {
        color: #111827;
        font-weight: 800;
    }

    .client-identity span {
        color: #6B7280;
        font-size: .9rem;
    }

.client-avatar {
    align-items: center;
    background: linear-gradient(135deg,#6D28D9,#9333EA);
    border-radius: 18px;
    color: #fff;
    display: flex;
    flex: 0 0 48px;
    font-size: 1.1rem;
    font-weight: 900;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.client-contact {
    display: grid;
    gap: 6px;
    min-width: 220px;
}

    .client-contact span {
        align-items: center;
        color: #4B5563;
        display: flex;
        gap: 8px;
        line-height: 1.2;
    }

    .client-contact i {
        color: #6D28D9;
        width: 16px;
    }

.client-partner-badge {
    align-items: center;
    background: #F3F4F6;
    border-radius: 999px;
    color: #4B5563;
    display: inline-flex;
    font-size: .86rem;
    font-weight: 700;
    gap: 7px;
    padding: 7px 12px;
    white-space: nowrap;
}

    .client-partner-badge.is-partner {
        background: rgba(109,40,217,.10);
        color: #5B21B6;
    }

.client-empty-state {
    padding: 56px 18px;
    text-align: center;
}

    .client-empty-state i {
        color: #6D28D9;
        font-size: 3rem;
        margin-bottom: 16px;
    }

    .client-empty-state h5 {
        font-weight: 800;
        margin-bottom: 6px;
    }

.client-empty-state p {
        color: #6B7280;
        margin-bottom: 20px;
    }

/* ===========================
   CREAR EVENTO PUBLICO
=========================== */

.create-event-page {
    background: #F8F5FF;
    min-height: 100vh;
}

.create-event-hero {
    background: linear-gradient(135deg,#1B1033,#6D28D9);
    color: #fff;
    padding: 72px 0 44px;
}

    .create-event-hero h1 {
        font-size: clamp(2.3rem,5vw,4.8rem);
        font-weight: 900;
        letter-spacing: 0;
        margin: 14px 0 12px;
    }

    .create-event-hero p {
        color: rgba(255,255,255,.78);
        font-size: 1.18rem;
        margin: 0;
        max-width: 760px;
    }

.create-event-badge {
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: .85rem;
    font-weight: 800;
    padding: 8px 14px;
}

.create-event-price {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 22px;
    padding: 22px;
}

    .create-event-price span,
    .create-event-price small {
        color: rgba(255,255,255,.72);
        display: block;
    }

    .create-event-price strong {
        color: #fff;
        display: block;
        font-size: 2rem;
        font-weight: 900;
        margin: 4px 0;
    }

.create-event-steps {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(17,24,39,.06);
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(4,1fr);
    padding: 12px;
}

    .create-event-steps div {
        align-items: center;
        border-radius: 16px;
        color: #6B7280;
        display: flex;
        gap: 10px;
        justify-content: center;
        padding: 12px;
    }

    .create-event-steps span {
        align-items: center;
        background: #EEF2FF;
        border-radius: 50%;
        color: #6D28D9;
        display: flex;
        font-weight: 900;
        height: 30px;
        justify-content: center;
        width: 30px;
    }

    .create-event-steps .is-active {
        background: rgba(109,40,217,.1);
        color: #4C1D95;
    }

.create-event-form .form-control {
    border-color: #E5E7EB;
    border-radius: 14px;
    padding: 12px 14px;
}

    .create-event-form .form-control:focus {
        border-color: #9333EA;
        box-shadow: 0 0 0 .22rem rgba(147,51,234,.12);
    }

.create-event-card {
    border: 1px solid rgba(109,40,217,.08);
}

.create-event-section {
    border-bottom: 1px solid #EEF2F7;
    margin-bottom: 22px;
    padding-bottom: 18px;
}

    .create-event-section h2 {
        color: #111827;
        font-size: 1.45rem;
        font-weight: 900;
        margin-bottom: 6px;
    }

    .create-event-section p {
        color: #6B7280;
        margin: 0;
    }

.create-event-partner {
    align-items: center;
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    display: grid;
    gap: 14px;
    grid-template-columns: auto 1fr;
    margin-bottom: 22px;
    padding: 16px;
}

    .create-event-partner strong,
    .create-event-partner span {
        display: block;
    }

    .create-event-partner strong {
        font-weight: 900;
    }

    .create-event-partner span,
    .create-event-partner em {
        color: #6B7280;
        font-style: normal;
    }

    .create-event-partner em {
        grid-column: 1 / -1;
    }

.create-event-includes {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2,minmax(0,1fr));
}

    .create-event-includes div {
        background: #fff;
        border: 1px solid #EEF2F7;
        border-radius: 18px;
        padding: 18px;
    }

    .create-event-includes i {
        color: #6D28D9;
        font-size: 1.4rem;
        margin-bottom: 14px;
    }

    .create-event-includes strong,
    .create-event-includes span {
        display: block;
    }

    .create-event-includes strong {
        font-weight: 900;
        margin-bottom: 4px;
    }

    .create-event-includes span {
        color: #6B7280;
        line-height: 1.35;
    }

.create-event-summary {
    border: 1px solid rgba(109,40,217,.08);
    position: sticky;
    top: 24px;
}

    .create-event-summary h3 {
        font-size: 1.35rem;
        font-weight: 900;
        margin-bottom: 18px;
    }

.create-event-summary-price {
    background: linear-gradient(135deg,#6D28D9,#9333EA);
    border-radius: 20px;
    color: #fff;
    margin-bottom: 18px;
    padding: 20px;
}

    .create-event-summary-price span {
        color: rgba(255,255,255,.74);
        display: block;
    }

    .create-event-summary-price strong {
        display: block;
        font-size: 2rem;
        font-weight: 900;
    }

.create-event-summary-line {
    align-items: center;
    border-bottom: 1px solid #EEF2F7;
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
}

    .create-event-summary-line span {
        color: #6B7280;
    }

    .create-event-summary-line strong {
        color: #111827;
        font-weight: 800;
        text-align: right;
    }

.create-event-timeline {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

    .create-event-timeline div {
        align-items: center;
        display: flex;
        gap: 10px;
    }

    .create-event-timeline i {
        align-items: center;
        background: rgba(109,40,217,.1);
        border-radius: 50%;
        color: #6D28D9;
        display: flex;
        height: 34px;
        justify-content: center;
        width: 34px;
    }

.create-event-partner-note {
    background: rgba(109,40,217,.08);
    border-radius: 16px;
    color: #4C1D95;
    display: flex;
    gap: 10px;
    line-height: 1.4;
    margin-top: 18px;
    padding: 14px;
}

.create-event-secure {
    color: #6B7280;
    display: block;
    line-height: 1.4;
    margin-top: 14px;
    text-align: center;
}

.payment-method-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2,minmax(0,1fr));
}

.payment-method-option {
    cursor: pointer;
    display: block;
    position: relative;
}

    .payment-method-option input {
        inset: 0;
        opacity: 0;
        pointer-events: none;
        position: absolute;
    }

    .payment-method-option span {
        background: #fff;
        border: 1px solid #EEF2F7;
        border-radius: 18px;
        color: #111827;
        display: grid;
        gap: 8px;
        min-height: 134px;
        padding: 18px;
        transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    }

    .payment-method-option i {
        align-items: center;
        background: rgba(109,40,217,.1);
        border-radius: 14px;
        color: #6D28D9;
        display: flex;
        font-size: 1.1rem;
        height: 42px;
        justify-content: center;
        width: 42px;
    }

    .payment-method-option strong,
    .payment-method-option small {
        display: block;
    }

    .payment-method-option strong {
        font-weight: 900;
    }

    .payment-method-option small {
        color: #6B7280;
        line-height: 1.4;
    }

    .payment-method-option:hover span,
    .payment-method-option input:checked + span {
        border-color: #6D28D9;
        box-shadow: 0 18px 38px rgba(109,40,217,.16);
        transform: translateY(-1px);
    }

@media (max-width: 767px) {
    .create-event-steps {
        grid-template-columns: repeat(2,1fr);
    }

    .create-event-includes {
        grid-template-columns: 1fr;
    }

    .payment-method-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   FEED RECUERDOS
=========================== */

.memory-feed {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #E5E7EB;
}

    .memory-feed:last-child {
        border-bottom: none;
    }

.memory-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient( 135deg, #6D28D9, #9333EA);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* ===========================
   TARJETAS GENERALES
=========================== */

.card {
    border-radius: 24px !important;
}

.card-header {
    border-bottom: 1px solid #F1F5F9 !important;
    padding: 20px 25px !important;
}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:768px) {

    .dashboard-hero {
        padding: 30px;
        text-align: center;
    }

    .dashboard-hero-actions {
        justify-content: stretch;
    }

    .metric-value {
        font-size: 2rem;
    }

    .dashboard-panel-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-event-item {
        grid-template-columns: auto 1fr;
    }

        .dashboard-event-item > i {
            display: none;
        }
}

.evento-card {
    transition: .25s;
    border-radius: 20px;
    overflow: hidden;
}

    .evento-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0,0,0,.12) !important;
    }

.evento-img {
    height: 260px;
    object-fit: cover;
}

.evento-placeholder {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( 135deg, #5b6cff, #8f56ff);
    color: white;
    font-size: 4rem;
}

.event-tipo-badge {
    align-items: center;
    background: #F3F0FF;
    border: 1px solid #E4DBFF;
    border-radius: 999px;
    color: #5B21B6;
    display: inline-flex;
    font-size: .78rem;
    font-weight: 800;
    gap: 6px;
    padding: 4px 12px;
}

.event-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.event-filter-chip {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 999px;
    color: #4B5563;
    cursor: pointer;
    font-size: .85rem;
    font-weight: 700;
    padding: 7px 14px;
    transition: .2s;
}

    .event-filter-chip:hover {
        border-color: #C7B8F5;
        color: #5B21B6;
    }

    .event-filter-chip.is-active {
        background: #5B21B6;
        border-color: #5B21B6;
        color: #fff;
        box-shadow: 0 6px 14px rgba(91,33,182,.25);
    }

.card-footer {
    padding: 1rem;
}

.hero-evento {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( rgba(0,0,0,.25), rgba(0,0,0,.70));
}

#video {
    border-radius: 25px;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 15px 35px rgba(0,0,0,.20);
}

.preview-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

    .preview-item img {
        transition: .3s;
    }

    .preview-item:hover img {
        transform: scale(1.05);
    }

/* ===========================
   PHOTO EXPERIENCE
=========================== */

.photo-theme-list {
    display: grid;
    gap: 10px;
    max-height: 420px;
    overflow: auto;
    padding-right: 4px;
}

.photo-theme-check {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #E8E2F5;
    border-radius: 14px;
    background: #FAFAFF;
    cursor: pointer;
}

    .photo-theme-check input {
        width: 18px;
        height: 18px;
        accent-color: var(--m360-primary);
    }

    .photo-theme-check span {
        display: grid;
        gap: 2px;
    }

    .photo-theme-check small {
        color: #6B7280;
        font-weight: 700;
    }

.photo-kiosk-body {
    margin: 0;
    min-height: 100vh;
    overflow: hidden;
    background: #110827;
    color: #fff;
    font-family: Arial, sans-serif;
}

.photo-kiosk {
    min-height: 100vh;
    background: radial-gradient(circle at 78% 12%, rgba(212,175,55,.18), transparent 30%), linear-gradient(135deg,#180A33,#35106A 58%,#0D1428);
}

.photo-kiosk-screen {
    display: none;
    min-height: 100vh;
    padding: clamp(24px,4vw,58px);
}

    .photo-kiosk-screen.is-active {
        display: flex;
    }

.photo-kiosk-center {
    width: min(820px,100%);
    margin: auto;
    text-align: center;
}

    .photo-kiosk-center h1,
    .photo-kiosk-center h2 {
        margin: 18px 0 16px;
        font-size: clamp(2.6rem,7vw,6.2rem);
        line-height: 1;
        font-weight: 900;
    }

    .photo-kiosk-center p {
        color: rgba(255,255,255,.78);
        font-size: clamp(1.1rem,2vw,1.45rem);
        margin-bottom: 32px;
    }

.photo-kiosk-badge {
    display: inline-flex;
    padding: 9px 15px;
    border-radius: 999px;
    background: rgba(212,175,55,.18);
    color: #F7D875;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.photo-kiosk-primary,
.photo-kiosk-secondary {
    min-height: 58px;
    border: 0;
    border-radius: 18px;
    padding: 0 28px;
    font-weight: 900;
    font-size: 1.05rem;
}

.photo-kiosk-primary {
    background: #F4C95D;
    color: #1B1033;
    box-shadow: 0 18px 36px rgba(0,0,0,.22);
}

.photo-kiosk-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.12);
    color: #fff;
    text-decoration: none;
}

.photo-kiosk-panel {
    width: min(1180px,100%);
    margin: auto;
}

.photo-kiosk-heading {
    margin-bottom: 28px;
}

    .photo-kiosk-heading span {
        color: #F7D875;
        font-weight: 900;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .photo-kiosk-heading h2 {
        margin: 8px 0 0;
        font-size: clamp(2rem,4vw,4rem);
        font-weight: 900;
    }

.photo-kiosk-themes {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(190px,1fr));
    gap: 14px;
}

.photo-theme-button {
    min-height: 118px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 22px;
    padding: 18px;
    background: rgba(255,255,255,.10);
    color: #fff;
    text-align: left;
}

    .photo-theme-button strong,
    .photo-theme-button small {
        display: block;
    }

    .photo-theme-button strong {
        font-size: 1.14rem;
        margin-bottom: 8px;
    }

    .photo-theme-button small {
        color: rgba(255,255,255,.68);
        font-weight: 700;
    }

    .photo-theme-button.is-selected,
    .photo-theme-button:hover {
        background: #F4C95D;
        color: #1B1033;
    }

        .photo-theme-button.is-selected small,
        .photo-theme-button:hover small {
            color: rgba(27,16,51,.70);
    }

.photo-package-button,
.photo-payment-method-button {
    min-height: 144px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 22px;
    padding: 20px;
    background: rgba(255,255,255,.10);
    color: #fff;
    text-align: left;
}

    .photo-package-button strong,
    .photo-package-button small,
    .photo-package-button em,
    .photo-payment-method-button strong,
    .photo-payment-method-button small {
        display: block;
    }

    .photo-package-button strong,
    .photo-payment-method-button strong {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .photo-package-button small,
    .photo-payment-method-button small {
        color: rgba(255,255,255,.70);
        font-weight: 700;
    }

    .photo-payment-method-button i {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .photo-package-button em {
        margin-top: 16px;
        color: #F7D875;
        font-size: 1.45rem;
        font-style: normal;
        font-weight: 900;
    }

    .photo-package-button:hover,
    .photo-package-button.is-selected,
    .photo-payment-method-button:hover,
    .photo-payment-method-button.is-selected {
        background: #F4C95D;
        color: #1B1033;
    }

        .photo-package-button:hover small,
        .photo-package-button.is-selected small,
        .photo-payment-method-button:hover small,
        .photo-payment-method-button.is-selected small {
            color: rgba(27,16,51,.70);
        }

        .photo-package-button:hover em,
        .photo-package-button.is-selected em {
            color: #1B1033;
        }

.photo-admin-links {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) 112px;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    background: #F8F5FF;
}

    .photo-admin-links div {
        min-width: 0;
    }

    .photo-admin-links span {
        display: block;
        color: #6D28D9;
        font-size: .78rem;
        font-weight: 800;
        text-transform: uppercase;
    }

    .photo-admin-links strong {
        display: block;
        color: #111827;
        overflow-wrap: anywhere;
        font-size: .86rem;
    }

    .photo-admin-links img {
        width: 112px;
        height: 112px;
        border-radius: 14px;
        background: #fff;
        padding: 8px;
    }

.photo-camera-layout {
    width: min(1280px,100%);
    margin: auto;
    display: grid;
    grid-template-columns: minmax(0,1fr) 360px;
    gap: 28px;
    align-items: center;
}

.photo-camera-stage {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 28px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 26px 70px rgba(0,0,0,.35);
}

    .photo-camera-stage video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scaleX(-1);
    }

.photo-countdown {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.28);
    font-size: clamp(7rem,18vw,16rem);
    font-weight: 900;
    color: #fff;
}

.photo-camera-side {
    display: grid;
    gap: 18px;
}

    .photo-camera-side h2 {
        font-size: 2.2rem;
        font-weight: 900;
        margin: 0;
    }

    .photo-camera-side p {
        color: rgba(255,255,255,.76);
        margin: 0;
    }

.photo-progress {
    display: flex;
    gap: 10px;
}

    .photo-progress span {
        width: 42px;
        height: 10px;
        border-radius: 999px;
        background: rgba(255,255,255,.22);
    }

        .photo-progress span.is-done {
            background: #F4C95D;
        }

.photo-kiosk-alert {
    border: 1px solid rgba(248,113,113,.45);
    background: rgba(127,29,29,.35);
    border-radius: 14px;
    color: #fee2e2;
    display: grid;
    gap: 6px;
    margin: 18px 0;
    padding: 14px 16px;
}

    .photo-kiosk-alert strong {
        color: #fff;
        font-size: 1rem;
    }

    .photo-kiosk-alert span {
        color: #fecaca;
        line-height: 1.45;
    }

.photo-preview-grid,
.photo-download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 18px;
}

.photo-preview-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 18px 38px rgba(0,0,0,.22);
}

.photo-kiosk-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.photo-spinner {
    width: 86px;
    height: 86px;
    margin: 0 auto 24px;
    border-radius: 50%;
    border: 8px solid rgba(255,255,255,.16);
    border-top-color: #F4C95D;
    animation: photoSpin 1s linear infinite;
}

@keyframes photoSpin {
    to {
        transform: rotate(360deg);
    }
}

.photo-qr {
    width: min(320px,70vw);
    height: auto;
    border-radius: 24px;
    background: #fff;
    padding: 16px;
    margin: 12px auto 22px;
}

.photo-download-hero {
    padding: 82px 0;
    color: #fff;
    background: linear-gradient(135deg,#2E1065,#6D28D9);
}

    .photo-download-hero h1 {
        font-size: clamp(2.2rem,5vw,4.6rem);
        font-weight: 900;
        margin: 16px 0 10px;
    }

    .photo-download-hero p {
        max-width: 680px;
        color: rgba(255,255,255,.78);
        font-size: 1.16rem;
        margin: 0;
    }

.photo-download-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0,0,0,.08);
}

    .photo-download-card img {
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        display: block;
    }

    .photo-download-card div {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        padding: 16px;
    }

    .photo-download-card span {
        color: #6B7280;
        font-weight: 700;
    }

@media(max-width: 900px) {
    .photo-camera-layout {
        grid-template-columns: 1fr;
    }

    .photo-camera-side {
        align-content: start;
    }

    .photo-admin-links {
        grid-template-columns: 1fr;
    }
}
/* Los resúmenes de validación se renderizan aun cuando no contienen errores.
   Bootstrap da fondo visible a .alert, por lo que ocultamos solamente el
   estado válido; ASP.NET cambia la clase a validation-summary-errors cuando
   existe al menos un mensaje. */
.validation-summary-valid {
    display: none !important;
}

.m360-antibot-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
