.fade-me-in {
    opacity: 0;
    animation: fadeIn 0.8s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }

    100% {
        background-position: 200px 0;
    }
}

.skeleton-box {
    display: inline-block;
    background: linear-gradient(90deg, #e2e8f0 0%, #f8fafc 50%, #e2e8f0 100%);
    background-size: 400px 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

.skeleton-calendar {
    padding: 20px 24px 28px;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
    width: 100%;
}

.skeleton-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 16px;
}

.skeleton-pill {
    height: 18px;
    width: 140px;
}

.skeleton-pill.short {
    width: 90px;
}

.skeleton-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    grid-auto-rows: 30px;
    margin-top: 16px;
}

.skeleton-day {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}


.page-header {
    background: linear-gradient(135deg, #2c5282 0%, #1a365d 100%);
    color: white;
    padding: 40px 0;
    margin: 0;
    border-bottom: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-header h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-header p {
    margin: 10px 0 0 0;
    opacity: 0.9;
    font-size: 16px;
}

.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s;
}

.step.active .step-number {
    background-color: #2c5282;
    color: white;
    box-shadow: 0 4px 12px rgba(44, 82, 130, 0.3);
}

.step.completed .step-number {
    background-color: #10b981;
    color: white;
}

.step-label {
    font-weight: 600;
    color: #64748b;
    font-size: 14px;
}

.step.active .step-label {
    color: #2c5282;
}

.step-divider {
    width: 60px;
    height: 2px;
    background-color: #e2e8f0;
}

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 20px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.calendar-wrapper {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 20px;
    height: 410px;
    display: flex;
    flex-direction: column;
}

.time-slots-wrapper {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 20px;
    height: 410px;
    display: flex;
    flex-direction: column;
}

.calendar-wrapper #datetimepicker1 {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-wrapper #datetimepicker1>* {
    width: 100%;
}

.time-slots-wrapper #horarios {
    flex: 1;
    overflow-y: auto;
}

.btn-time {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 20px;
    margin: 6px;
    background: white;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
}

.btn-time:hover {
    border-color: #2c5282;
    background-color: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-time.active {
    background-color: #2c5282;
    color: white;
    border-color: #2c5282;
    box-shadow: 0 4px 12px rgba(44, 82, 130, 0.3);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
    opacity: 0.5;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-control {
    width: 100%;
    height: 48px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #2c5282;
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

.summary-card {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 12px;
    padding: 25px;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.summary-card h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 700;
}

.summary-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.summary-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.summary-item i {
    font-size: 20px;
    margin-top: 2px;
}

.summary-item-content small {
    display: block;
    opacity: 0.8;
    font-size: 12px;
    margin-bottom: 4px;
}

.summary-item-content strong {
    font-size: 15px;
}

.btn-primary {
    background-color: #2c5282;
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    background-color: #1e3a5f;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(44, 82, 130, 0.3);
}

.btn-secondary {
    background-color: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
}

.btn-success {
    background-color: #10b981;
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-success:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}

.icon-accent {
    color: #2c5282;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 15px;
}

.breadcrumb {
    background: transparent;
    padding: 15px 0;
    margin-bottom: 0;
}

.success-message {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.success-message i {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
}

.success-message h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
}

.success-message p {
    margin: 0;
    font-size: 16px;
    opacity: 0.95;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.detail-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #2c5282;
}

.detail-item small {
    display: block;
    color: #64748b;
    font-size: 12px;
    margin-bottom: 6px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.detail-item strong {
    font-size: 16px;
    color: #1e293b;
}

@media (max-width: 768px) {
    .step-label {
        display: none;
    }

    .step-divider {
        width: 30px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-buttons button {
        width: 100%;
    }
}



.bootstrap-datetimepicker-widget,
.bootstrap-datetimepicker-widget .table {
    background: #fff;
}

.bootstrap-datetimepicker-widget table td,
.bootstrap-datetimepicker-widget table th {
    border: none;
    background: transparent;
    color: #475569;
    box-shadow: none;
}

.bootstrap-datetimepicker-widget table td.day {
    background: transparent;
    color: #475569;
}

.bootstrap-datetimepicker-widget table td.day:hover {
    background: transparent;
    color: #475569;
    cursor: pointer;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover,
.bootstrap-datetimepicker-widget table td.day.active,
.bootstrap-datetimepicker-widget table td.day.active:hover {
    background-color: #2c5282 !important;
    color: #fff !important;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(44, 82, 130, 0.18);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: #2c5282 !important;
}

.bootstrap-datetimepicker-widget table td.disabled,
.bootstrap-datetimepicker-widget table td.disabled:hover {
    color: #cbd5e1 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.calendar-wrapper .bootstrap-datetimepicker-widget,
#datetimepicker1 .bootstrap-datetimepicker-widget {
    opacity: 1 !important;
}


.tipos-turnos-menu {
    display: none;
    margin-bottom: 24px;
}

.tipos-turnos-menu__wrapper {
    background: #f8fafc;
    border: 1px solid #dce4f2;
    border-radius: 12px;
    padding: 18px 22px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.tipos-turnos-menu__header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    color: #1e3a8a;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: 16px;
}

.tipos-turnos-menu__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.tipos-turnos-menu__item {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    border: 1px solid #d7deeb;
    background: #ffffff;
    border-radius: 10px;
    padding: 14px 16px;
    text-align: left;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    color: #1f2937;
}

.tipos-turnos-menu__item:hover,
.tipos-turnos-menu__item:focus {
    transform: translateY(-2px);
    border-color: #1e3a8a;
    box-shadow: 0 10px 18px rgba(30, 58, 138, 0.12);
    outline: none;
}

.tipos-turnos-menu__item:active {
    transform: translateY(0);
}

.tipos-turnos-menu__item--pulse {
    animation: turnosCardTap 220ms ease;
}

@keyframes turnosCardTap {
    0% {
        transform: scale(1);
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    }

    50% {
        transform: scale(0.97);
        box-shadow: 0 6px 14px rgba(30, 58, 138, 0.22);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 10px 18px rgba(30, 58, 138, 0.12);
    }
}

.tipos-turnos-menu__item-content {
    flex: 1;
    min-width: 0;
}

.tipos-turnos-menu__item-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 6px;
    color: #0f172a;
}

.tipos-turnos-menu__detail,
.tipos-turnos-menu__meta {
    font-size: 13px;
    line-height: 1.45;
    color: #475569;
}

.tipos-turnos-menu__detail span {
    font-weight: 600;
    color: #1e3a8a;
}

.tipos-turnos-menu__meta {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: 6px;
}

.tipos-turnos-menu__chevron {
    align-self: center;
    margin-left: 12px;
    font-size: 16px;
    color: #1e3a8a;
    transition: transform .18s ease;
}

.tipos-turnos-menu__item:hover .tipos-turnos-menu__chevron {
    transform: translateX(2px);
}

.tipos-turnos-menu__empty {
    background: #fff;
    border: 1px dashed #d7deeb;
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    color: #475569;
}

.tipos-turnos-menu__empty i {
    display: block;
    font-size: 24px;
    color: #1e3a8a;
    margin-bottom: 12px;
}

@media (max-width: 767px) {
    .tipos-turnos-menu__wrapper {
        padding: 16px;
    }

    .tipos-turnos-menu__list {
        grid-template-columns: 1fr;
    }

    .tipos-turnos-menu__item {
        padding: 12px 14px;
    }
}

\n .turno-tipo-body .turno-tipo-sobre {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

.turno-tipo-body .turno-tipo-requisitos {
    margin-top: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #f8fafc;
}



.page-header .turno-tipo-descripcion {
    margin-top: 16px;
    padding: 20px 24px;
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    color: #f8fafc;
    font-size: 14px;
    line-height: 1.7;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.3);
}

.turno-tipo-descripcion .turno-tipo-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 10px;
}

.turno-tipo-descripcion .turno-tipo-header i {
    font-size: 20px;
}

.turno-tipo-descripcion .turno-tipo-title {
    margin: 0;
}

.turno-tipo-descripcion .turno-tipo-body {
    display: grid;
    gap: 10px;
}

.turno-tipo-descripcion .turno-tipo-sobre {
    font-size: 13px;
    color: rgba(226, 232, 240, 0.8);
}

.turno-tipo-descripcion .turno-tipo-requisitos {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.turno-tipo-descripcion .turno-tipo-requisitos span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: rgba(125, 211, 252, 0.9);
    margin-bottom: 4px;
}

@media print {
    body * {
        visibility: hidden;
    }

    #step3,
    #step3 * {
        visibility: visible;
    }

    #step3 {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }

    .action-buttons,
    .btn-primary,
    .btn-secondary,
    button {
        display: none !important;
    }

    .success-message {
        display: none !important;
    }

    .card {
        box-shadow: none !important;
        border: 2px solid #000 !important;
        page-break-inside: avoid;
    }

    .card-title {
        border-bottom: 2px solid #000 !important;
        padding-bottom: 10px !important;
    }

    .detail-grid {
        display: block !important;
    }

    .detail-item {
        margin-bottom: 15px !important;
        page-break-inside: avoid;
    }

    .detail-item small {
        font-size: 10pt !important;
        color: #000 !important;
    }

    .detail-item strong {
        font-size: 12pt !important;
        color: #000 !important;
    }
}

.tipos-turnos-menu--large .tipos-turnos-menu__item {
    padding: 20px 18px;
    font-size: 1.15rem;
}

.tipos-turnos-menu__item-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.tipos-turnos-menu__meta {
    margin-top: 6px;
    line-height: 1.4rem;
    font-size: 0.95rem;
}

.tipos-turnos-menu__wrapper {
    border-radius: 10px;
    padding: 20px;
}

.tipos-turnos-menu__header {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

#btnVolverMenu i {
    color: #2c5282;
}

/* Subtítulos azules */
.tipos-turnos-menu__meta strong {
    color: #1a4fa3 !important;
}

/* Meta ordenada */
.tipos-turnos-menu__meta {
    display: block !important;
    margin-top: 6px;
    line-height: 1.4rem;
    font-size: 0.95rem;
}

.tipos-turnos-menu__meta-row {
    display: block;
    margin-bottom: 4px;
}

/* Flecha tipo PNG */
.tipos-turnos-menu__back {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    cursor: pointer;
}

.tipos-turnos-menu__back i {
    font-size: 20px;
    color: #1a4fa3 !important;
}

.tipos-turnos-menu__back:hover i {
    opacity: .7;
}
