/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&family=Quicksand:wght@400;700&family=Pacifico&family=Roboto+Slab:wght@400;700&family=Merriweather:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto Slab', 'Quicksand', 'Montserrat', Arial, sans-serif;
    background-color: #f0f0f0;
    color: #333;
}

.portada_login {
    background-image: url('../../img/portal_carbonio.jpg');
    min-height: 100vh;
    background-size: cover;
    background-position: center;
}


.portada_main {
    background: url('../../img/fondo_audiencia.jpg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    min-height: 100vh;
    z-index: 1;
}

.portada_main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: linear-gradient(120deg, #1D4D7D 0%, #061651 100%);*/
/*    background-image: linear-gradient(to top, #dfe9f3 0%, white 100%);*/
    background: #1F579A;
    opacity: 0.22;
    z-index: 2;
    border-radius: inherit;
    pointer-events: none;
}

.portada_main>* {
    position: relative;
    z-index: 3;
}

.container {
    max-width: 1200px;
}

.card-bg {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 22px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
    border: none;
}

.card {
    border-radius: 22px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10);
    border: none;
    background: #fff;
}

.login-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #0B225A;
    letter-spacing: 1px;
}

.login-subtitle {
    color: #4e5d6c;
    font-size: 1rem;
    font-family: 'Quicksand', sans-serif;
}

.form-label {
    font-family: 'Montserrat', 'Quicksand', Arial, sans-serif;
    font-weight: 600;
    color: #0B225A;
}

.form-control {
    border-radius: 10px;
    border: 1.5px solid #e0e0e0;
    font-size: 1.05rem;
    font-family: 'Quicksand', Arial, sans-serif;
}

.form-control:focus {
    border-color: #0B225A;
    box-shadow: 0 0 0 0.2rem rgba(11, 34, 90, .08);
}

.btn-primary {
    background-image: linear-gradient(to top, #1e3c72 0%, #1e3c72 1%, #2a5298 100%);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: background 0.2s;
}

.btn-primary:hover {
    background-image: linear-gradient(to top, #30508b 0%, #2f508d 1%, #3c63a7 100%);
}

.img-fluid {
    box-shadow: 0 4px 16px rgba(11, 34, 90, 0.10);
}

.evento-hero {
    background: linear-gradient(120deg, #eaf1fb 0%, #f8fafc 100%);
    border-radius: 0 0 32px 32px;
    box-shadow: 0 4px 24px rgba(11, 34, 90, 0.07);
    margin-bottom: 2rem;
}

.evento-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.evento-img {
    width: 50% !important;
    margin: 0 auto 1rem auto;
    display: block;
}

.evento-img-secundaria {
    width: 50%;
    margin: 0 auto 1rem auto;
    display: block;
}

.evento-datos li {
    display: inline-block;
    margin: 0 10px 0 0;
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.evento-descripcion {
    color: #fff;
    font-size: 1.08rem;
    margin-bottom: 0;
}

.wizard-card {
    margin-top: -60px;
    z-index: 2;
    position: relative;
}

.sidebar-evento {
    min-height: 100%;
}

.bg-light {
    background: linear-gradient(120deg, #eaf1fb 0%, #f8fafc 100%);
}

.sidebar-card-custom {
    background: url('../../img/gor.png') no-repeat center center;
    background-size: cover;
    position: relative;
    
    border-radius: 24px;
    transition: box-shadow 0.2s, border-radius 0.2s;
    backdrop-filter: blur(2.5px);
    -webkit-backdrop-filter: blur(2.5px);
    
    overflow: hidden;
}

.sidebar-card-custom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background-image: linear-gradient(to top, #1e3c72 0%, #1e3c72 1%, #2a5298 100%);*/
    background: #000;
    opacity: 0.72;
    z-index: 2;
    border-radius: inherit;
    pointer-events: none;
}

.sidebar-card-custom > * {
    position: relative;
    z-index: 3;
}

.sidebar-title {
    font-family: 'Montserrat', 'Quicksand', Arial, sans-serif;
    font-weight: 800;
    color: #0B225A;
    letter-spacing: 1px;
    font-size: 2rem;
    text-shadow: 0 2px 8px #eaf1fb;
}

.sidebar-subtitle {
    font-family: 'Quicksand', 'Montserrat', Arial, sans-serif;
    color: #0078d7;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.sidebar-list {
    font-size: 1.08rem;
    margin-bottom: 1.2rem;
}

.sidebar-label {
    color: #0B225A;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.sidebar-value {
    color: #0078d7;
    font-weight: 600;
    font-family: 'Quicksand', sans-serif;
}

.sidebar-desc {
    color: #fff;
    font-size: 1.08rem;
    margin-bottom: 0;
    font-family: 'Quicksand', sans-serif;
}

.sidebar-evento-frase {
    font-family: 'Montserrat', 'Quicksand', Arial, sans-serif;
    color: #fff;
    background: linear-gradient(90deg, #0078d7 0%, #0B225A 100%);
    border-radius: 18px;
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 0.7rem 1.2rem;
    margin-top: 0.5rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 12px rgba(11, 34, 90, 0.10);
    display: inline-block;
}

.sidebar-evento-frase-alt {
    font-family: 'Merriweather', 'Roboto Slab', serif;
    color: #e0e6ed;
    font-size: 1.18rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: rgba(29,77,125,0.18);
    border-radius: 12px;
    padding: 0.7rem 1.2rem;
    margin-top: 0.5rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 8px rgba(29,77,125,0.08);
    text-align: center;
}

.sidebar-label-llamativo {
    color: #fff;
    background: #0B225A;
    border-radius: 8px 0 0 8px;
    padding: 0.3rem 0.7rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.08rem;
    letter-spacing: 0.5px;
    margin-right: 0.2rem;
    display: inline-block;
}

.sidebar-value-llamativo {
    color: #0078d7;
    background: #eaf1fb;
    border-radius: 0 8px 8px 0;
    padding: 0.3rem 0.7rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.08rem;
    letter-spacing: 0.5px;
    display: inline-block;
}

.sidebar-label-alt {
    color: #fff;
    background: #F6AF18;
    border-radius: 8px 0 0 8px;
    padding: 0.3rem 0.7rem;
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 1.08rem;
    letter-spacing: 0.5px;
    margin-right: 0.2rem;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(29, 77, 125, 0.10);
}

.sidebar-value-alt {
    color: #fff;
    background: #025597;
    border-radius: 0 8px 8px 0;
    padding: 0.3rem 0.7rem;
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 1.08rem;
    letter-spacing: 0.5px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(62, 124, 182, 0.10);
}

.wizard-header {
    margin-bottom: 2rem;
}

.wizard-title {
    font-family: 'Montserrat', 'Quicksand', Arial, sans-serif;
    font-weight: 800;
    color: #274D8F;
    font-size: 2.1rem;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.wizard-desc {
    font-family: 'Quicksand', 'Montserrat', Arial, sans-serif;
    color: #2A5F95;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0;
}

.wizard-step-title {
    font-family: 'Roboto Slab', serif;
    color: #274D8F;
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wizard-step-title i {
    color: #0078d7;
    font-size: 1.4rem;
    margin-right: 0.4rem;
}

textarea.form-control {
    min-height: 70px;
    font-family: 'Quicksand', Arial, sans-serif;
    font-size: 1.05rem;
    border-radius: 10px;
}

.btn-success.wizard-btn {
    background-image: linear-gradient(to right, #27a350 0%, #38f9d7 100%);
    border: none;
    font-weight: 700;
    font-size: 1.08rem;
    letter-spacing: 0.5px;
}

.btn-success.wizard-btn:hover {
    background: linear-gradient(90deg, #185a9d 0%, #43cea2 100%);
}

.wizard-header-card {
    background: linear-gradient(90deg, #eaf1fb 0%, #f8fafc 100%);
    border: none;
}

.wizard-form-card {
    background: #fff;
    border: none;
}

.radio-card {
    background: #f4f8fb;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(11, 34, 90, 0.06);
    padding: 1.2rem 0.5rem 1rem 0.5rem;
    border: 2px solid transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 160px;
    max-width: 220px;
    transition: box-shadow 0.2s, border 0.2s, background 0.2s;
}

.radio-card-input {
    display: none;
}

.radio-card-label {
    font-family: 'Montserrat', 'Quicksand', Arial, sans-serif;
    font-weight: 700;
    color: #0B225A;
    font-size: 1.08rem;
    cursor: pointer;
    display: block;
    margin: 0 auto;
}

.radio-card-icon {
    font-size: 2.2rem;
    color: #396196;
    background: #eaf1fb;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px rgba(90, 141, 238, 0.08);
}

.radio-card-input:checked~.radio-card-icon {
    color: #fff;
    background-image: linear-gradient(to top, #1e3c72 0%, #1e3c72 1%, #2a5298 100%);
    box-shadow: 0 4px 16px rgba(29, 77, 125, 0.13);
}

.radio-card-input:checked~.radio-card-label {
    color: #fff;
    background-image: linear-gradient(to top, #1e3c72 0%, #1e3c72 1%, #2a5298 100%);
    border-radius: 10px;
    padding: 0.3rem 1rem;
    margin-top: 0.5rem;
}

.sidebar-evento-titulo {
    font-family: 'Montserrat', 'Quicksand', Arial, sans-serif;
    font-weight: 900;
    color: #0B225A;
    font-size: 1.7rem;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px #eaf1fb;
}

.audiencia-titulo {
    font-family: 'Roboto Slab', 'Montserrat', 'Quicksand', Arial, sans-serif !important;
    font-weight: 900;
    font-size: 2.7rem;
    letter-spacing: 2px;
    text-shadow: 0 4px 24px rgba(29,77,125,0.25), 0 1px 0 #fff;
    background: linear-gradient(90deg, #fff 0%, #1D4D7D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.2rem;
    text-align: center;
}

/* --- Estilos para botones de intervención tipo card --- */
.intervencion-card-btn {
    background: #fff;
    border: 2px solid #d1d5db;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.2s;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.05em;
    font-family: 'Montserrat', 'Quicksand', sans-serif;
    color: #2d3a4a;
    cursor: pointer;
    padding: 18px 8px 12px 8px;
    margin-bottom: 0.5rem;
    position: relative;
}
.intervencion-card-btn.active, .intervencion-card-btn:focus {
    border-color: #0d6efd;
    background: linear-gradient(135deg, #e3f0ff 0%, #f8fbff 100%);
    color: #0d6efd;
    box-shadow: 0 4px 16px rgba(13,110,253,0.08);
}
.intervencion-card-btn i {
    margin-bottom: 8px;
    color: #0d6efd;
    font-size: 2.1em;
}
.intervencion-card-btn .mt-2 {
    font-size: 1em;
    font-weight: 500;
    color: #2d3a4a;
}

/* --- Radios personalizados para intervención: icono y letra destacados con colores personalizados --- */
.intervencion-radio-card {
    background: #F4F8FB;
    border: 2px solid #e0e7ef;
    border-radius: 22px;
    box-shadow: 0 4px 18px 0 rgba(57,97,150,0.07), 0 1.5px 4px 0 rgba(0,0,0,0.03);
    transition: all 0.22s cubic-bezier(.4,0,.2,1);
    min-height: 140px;
    min-width: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-family: 'Montserrat', 'Quicksand', sans-serif;
    color: #396196;
    cursor: pointer;
    padding: 22px 10px 14px 10px;
    margin-bottom: 0.7rem;
    position: relative;
    font-weight: 500;
    letter-spacing: 0.01em;
    outline: none;
    box-shadow: 0 2px 8px rgba(57,97,150,0.04);
}
.intervencion-radio-input {
    display: none;
}
.intervencion-radio-icon {
    color: #396196;
    font-size: 1rem;
    margin-bottom: 10px;
    background: #e3f0ff;
    border-radius: 50%;
    padding: 12px 14px 10px 14px;
    box-shadow: 0 2px 12px 0 rgba(57,97,150,0.08);
    transition: color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.intervencion-radio-input:checked + .intervencion-radio-icon {
    color: #fff;
    background: linear-gradient(135deg, #244784 0%, #396196 100%);
}
.intervencion-radio-input:checked ~ .intervencion-radio-label {
    color: #244784;
    font-weight: 500;
    text-shadow: 0 2px 8px #e3f0ff;
}
.intervencion-radio-label {
    font-size: 1.1rem;
    font-weight: 300;
    color: #396196;
    transition: color 0.2s, font-weight 0.2s, text-shadow 0.2s;
    text-align: center;
    letter-spacing: 0.01em;
    margin-top: 0.7em;
    text-shadow: 0 1px 2px #f8fbff;
}
.intervencion-radio-card:hover, .intervencion-radio-input:focus + .intervencion-radio-icon {
    border-color: #244784;
    background: linear-gradient(135deg, #e3eaf6 0%, #dbe6f7 100%);
    color: #244784;
    box-shadow: 0 8px 24px 0 rgba(36,71,132,0.13), 0 2px 8px 0 rgba(0,0,0,0.04);
}

/* --- Layout responsive para radios de intervención --- */
#intervencion-opciones {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 0.5rem;
    justify-content: center;
}
#intervencion-opciones > div {
    flex: 1 1 22%;
    min-width: 180px;
    max-width: 220px;
    display: flex;
    justify-content: center;
}
@media (max-width: 900px) {
    #intervencion-opciones > div {
        flex: 1 1 45%;
        min-width: 160px;
        max-width: 260px;
    }
}
@media (max-width: 600px) {
    #intervencion-opciones > div {
        flex: 1 1 90%;
        min-width: 140px;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .evento-hero {
        border-radius: 0 0 18px 18px;
        padding: 1.5rem 0.5rem;
    }

    .wizard-card {
        margin-top: -30px;
        padding: 1.5rem 0.5rem;
    }
}

@media (max-width: 991px) {
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .card {
        margin-bottom: 1.5rem;
    }

    .sidebar-evento {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767px) {
    .row {
        flex-direction: column;
    }

    .sidebar-evento,
    main {
        padding: 0 !important;
    }

    .evento-img-secundaria {
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .sidebar-card-custom {
        border-top-left-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
        border-top-right-radius: 24px !important;
        border-bottom-right-radius: 24px !important;
    }
}