/* Oculta la línea gris de los pasos PrimeFaces */
.ui-steps .ui-steps-bar {
    border-color: transparent !important;
    background: transparent !important;
}

/* Solo estilos usados en el formulario de suscripción */
.suscripcion-header {
    margin-top: 18px;
    color: white;
    margin-bottom: 24px;
    /*border-radius: 10px;*/
    padding: 10px 18px;
    font-size: 1em;
    background: #2258b0;
}

.suscripcion-header h3 {
    font-size: 1.15em;
    line-height: 1.1;
    margin: 0;
    padding: 0;
    font-weight: 600;
}

.suscripcion-label {
    margin-top: 0;
    margin-bottom: 6px;
    font-weight: 600;
    color: #1976d2;
}

.suscripcion-input {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.suscripcion-block {
    width: 100%;
}

.suscripcion-row-center .ui-panelgrid .ui-panelgrid-cell {
    width: auto !important;
    padding: 0 8px;
}

.suscripcion-row-center .ui-panelgrid {
    width: auto !important;
    margin: 0 auto;
}

.error-panel {
    background-color: #ffdddd;
    border-left: 4px solid #f44336;
    margin-bottom: 20px;
    padding: 10px 15px;
    border-radius: 4px;
}

.error-message {
    color: #d32f2f;
    margin: 0;
    font-weight: 600;
}

body {
    margin: 0px;
    background: #fff;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    font-family: 'Open Sans', sans-serif;
    padding-bottom: 80px; /* Espacio para el footer fijo */
}


body .ui-radiobutton .ui-radiobutton-box.ui-state-active .ui-icon-bullet {
    background: #0078ff !important;
}

.suscripcion-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-bottom: 50px;
}

.suscripcion-panel {
    width: 100%;
    max-width: 1152px;
}

.suscripcion-row {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-bottom: 18px;
}

.suscripcion-row-double {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: flex-end;
}

.suscripcion-row-double > * {
    flex: 1 1 0;
}

/* Facturación: alineación checkbox y campo */
.suscripcion-row .ui-selectbooleancheckbox {
    margin-right: 12px;
}

.suscripcion-row .suscripcion-label {
    margin-bottom: 0;
    margin-left: 8px;
}

.suscripcion-row-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
}

body .ui-steps .ui-steps-item .ui-menuitem-link .ui-steps-number {
    display: none !important;
}

/* Iconos para cada paso */
body .ui-steps .ui-steps-item:nth-child(1) .ui-menuitem-link:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f007"; /* usuario: Datos */
    font-size: 2em;
    color: #2196f3;
    margin-right: 8px;
}

body .ui-steps .ui-steps-item:nth-child(2) .ui-menuitem-link:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f0ae"; /* plan: Portapapeles */
    font-size: 2em;
    color: #2196f3;
    margin-right: 8px;
}

body .ui-steps .ui-steps-item:nth-child(3) .ui-menuitem-link:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f09d"; /* pago: Tarjeta */
    font-size: 2em;
    color: #2196f3;
    margin-right: 8px;
}

body .ui-steps .ui-steps-item:nth-child(4) .ui-menuitem-link:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f15c"; /* resumen: Archivo */
    font-size: 2em;
    color: #2196f3;
    margin-right: 8px;
}

body .ui-steps .ui-steps-item:nth-child(5) .ui-menuitem-link:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f058"; /* resultado: Check */
    font-size: 2em;
    color: #2196f3;
    margin-right: 8px;
}

/* Estilo personalizado para los títulos de los pasos */
body .ui-steps .ui-steps-title {
    color: #1976d2;
    font-weight: 600;
    font-size: 1.15em;
    letter-spacing: 0.5px;
    font-family: 'Segoe UI', 'Arial', sans-serif;
}

.suscripcion-header-top {
    width: 100%;
    margin-bottom: 28px;
}

.suscripcion-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.suscripcion-logo {
    height: auto;
    padding-top: 10px;
}

.suscripcion-title-block {
    flex: 1;
    text-align: right;
}

.suscripcion-title {
    font-size: 2.3em;
    font-weight: 700;
    color: #337dd1;
    margin: 0;
    letter-spacing: 1px;
}

.suscripcion-bar {
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #2196f3 0%, #21cbf3 100%);
    border-radius: 4px;
    margin-top: 16px;
}

#header {
    background: url(https://www.fichajeweb.com/sites/all/themes/theme964/images/title-line.gif) center bottom repeat-x;
    padding-bottom: 7px;
    position: relative;
    width: 100%;
}

.page-header {
    display: block;
}

.clearfix {
    position: relative;
    zoom: 1;
}

.clearfix:before,
.clearfix:after {
    content: '\0020';
    display: block;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    width: 0;
}

.clearfix:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}

/* Estilos para el sticky header */
.stickup {
    position: relative;
    top: 0px;
}

/* Container grid system */
.container-12 {
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}

.grid-4 {
    float: left;
    width: 33.333%;
}

.grid-8 {
    float: left;
    width: 66.667%;
}

/* Logo styles */
#logo .img-logo {
    display: block;
}

#logo img {
    max-height: 50px;
    width: auto;
}

/* Menu styles */
.region-menu {
    float: right;
}

#superfish-1 {
    list-style: none;
    margin: 0;
    padding: 0;
}

#superfish-1 li {
    display: inline-block;
    margin: 0 10px;
}

#superfish-1 a {
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

#superfish-1 a:hover {
    background-color: #f0f0f0;
}

.sf-depth-1 {
    font-weight: 400;
}

/* Pseudo sticky block */
.pseudoStickyBlock {
    position: relative;
    display: block;
    height: 0px;
}

/* Block styles */
.block-superfish-1,
.block,
.block-superfish,
.block-odd {
    margin: 0;
    padding: 0;
}

.content.block-content {
    margin: 0;
    padding: 0;
}

/* Estilos para el header de contenido */
#content-header {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.header-section-1 {
    border-top: 5px solid #2555b7;
    padding: 10px 0 9px;
}

#page-title {
    color: #0b0b0b;
    font: 600 32px / 42px 'Open Sans', sans-serif;
    overflow: hidden;
    margin-bottom: 30px;
    text-align: center;
    margin-top: 50px;
    width: 100%;
    max-width: 1152px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px;
    box-sizing: border-box;
}

#page-title:before {
    background: url(https://www.fichajeweb.com/sites/all/themes/theme964/images/title-line.gif) center top repeat;
    content: '';
    display: inline-block;
    height: 7px;
    margin-left: -100%;
    margin-right: 7px;
    vertical-align: 2px;
    width: 100%;
}

#page-title:after {
    background: url(https://www.fichajeweb.com/sites/all/themes/theme964/images/title-line.gif) center top repeat;
    content: '';
    display: inline-block;
    height: 7px;
    margin-left: 7px;
    margin-right: -100%;
    vertical-align: 2px;
    width: 100%;
}

body .ui-button {
    background: #477ee3 !important;
    border: 1px solid #477ee3 !important;
    color: white !important;
}

/* Media queries al final */
@media (max-width: 900px) {
    .suscripcion-panel {
        max-width: 100vw;
        padding: 16px 4px;
    }
}

@media (max-width: 768px) {
    .grid-4, .grid-8 {
        width: 100%;
        float: none;
    }

    .region-menu {
        float: none;
    }

    #superfish-1 li {
        display: block;
        margin: 5px 0;
    }
}

body .ui-chkbox .ui-chkbox-box.ui-state-active {
    border-color: #467fea !important;
    background: #467fea !important;
    color: #fffffe;
}

#footer {
    background: #2555b7;
    clear: both;
    color: #fff;
    padding: 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
}


.plan-card-selected {
    background: #e8f5e9 !important;
    border: 2px solid #43a047 !important;
}
.plan-card {
    background: #fff;
    border: 2px solid #ddd;
}

.plan-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 340px;
    height: 100%;
    box-sizing: border-box;
}
.plan-card-descripcion {
    min-height: 60px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #444;
    width: 100%;
}
/* Asegura que el grid estire los cards */
.ui-g-12, .ui-md-6 {
    display: flex;
    align-items: stretch;
}

/* Oculta la línea gris de los pasos PrimeFaces */
/* Botón verde para Proceder al Pago */
.ui-button-green {
    background: linear-gradient(135deg, #4caf50, #2e7d32) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(34,139,34,0.12);
}
.ui-button-green:hover, .ui-button-green:focus {
    background: linear-gradient(135deg, #4caf50, #2e7d32) !important;
    color: #fff !important;
    filter: brightness(1.08);
}

.suscripcion-label-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f5f6fa;
    border-radius: 7px;
    padding: 8px 18px;
    margin-bottom: 8px;
}
.suscripcion-label-row h4.suscripcion-label {
    font-size: 1.08em;
    font-weight: 600;
    color: #1976d2;
    margin-bottom: 0;
    margin-right: 12px;
}
.suscripcion-label-row .suscripcion-info-value {
    font-size: 1.08em;
    font-weight: 500;
    color: #333;
}

.mensaje-grande {
    font-size: 1.2em;
    line-height: 1.5;
    padding: 20px 24px;
    border-radius: 8px;
    margin-bottom: 24px;
    margin-top: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    font-weight: 500;
}

.mensaje-grande .error-message {
    font-size: 1.1em;
    margin: 0;
    font-weight: 600;
}

.mensaje-grande .success-message {
    font-size: 1.1em;
    margin: 0;
    font-weight: 600;
}

.mensaje-grande i {
    margin-right: 10px;
}

.success-panel {
    background: #e8f9eb;
    text-align: center;
    border-left: 6px solid #166534;
    color: #166534;
    font-size: 15px !important;
    margin-bottom: 24px;
    padding: 18px 22px;
    border-radius: 8px;
    font-weight: bolder !important;
    box-shadow: 0 2px 12px rgba(67, 234, 123, 0.10);
}
.success-message a {
    color: #166534;
    text-decoration: underline;
}
.suscripcion-datos-panel {
    background: #effbff;
    border: 2px solid #0a749c;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(67, 234, 123, 0.10);
    padding: 18px 24px;
    margin: 24px 0 0 0;
    font-size: 1.08em !important;
}
.suscripcion-datos-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.suscripcion-datos-panel li {
    margin-bottom: 8px;
    padding-left: 0;
}
.suscripcion-datos-panel b {
    color: #0a749c;
}


