/* montserrat-300 - latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    src: url('../webfonts/montserrat/montserrat-v29-latin_latin-ext-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-regular - latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('../webfonts/montserrat/montserrat-v29-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-500 - latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url('../webfonts/montserrat/montserrat-v29-latin_latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-600 - latin_latin-ext */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('../webfonts/montserrat/montserrat-v29-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-700 - latin_latin-ext */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('../webfonts/montserrat/montserrat-v29-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-800 - latin_latin-ext */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    src: url('../webfonts/montserrat/montserrat-v29-latin_latin-ext-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-900 - latin_latin-ext */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 900;
    src: url('../webfonts/montserrat/montserrat-v29-latin_latin-ext-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
:root {
    --tw-bg-opacity: 1;
    --success-color: rgb(187 247 208 / var(--tw-bg-opacity, 1));
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --gray-color: #6c757d;
    --white: #ffffff;
    --black: #000000;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    --shadow-sm-top: 2px -8px 10px 1px rgba(1, 1, 1, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: var(--dark-color);
    line-height: 1.6;
}

.app-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.custom-btn-back {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 16px;
    text-decoration: none;
    margin-top: 1.5rem;
    transition: background-color 0.5s ease-in-out;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}
.custom-btn-back:hover {
    background: var(--primary-color-hover);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Header */
.header {
    background-color: var(--secondary-color);
    box-shadow: var(--shadow-md);
    padding: 15px 0;
    /* position: sticky; */
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.government-logo {
    height: 60px;
    margin-right: 20px;
}

.government-logo-small {
    height: 40px;
    margin-right: 10px;
}

.title-container h1 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.title-container h2 {
    font-size: 16px;
    font-weight: 500;
}

.header-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.tramite-info div{
    padding: 0px 15px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    color: var(--gray-color);
    font-size: 14px;
}

.info-item i {
    margin-right: 8px;
    color: var(--primary-color);
}

/* Main Container */
.main-container {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    width: 100%;
}


.avisos_terminos ul, .avisos_terminos ol{
    padding-left: 20px;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 30px;
}

.progress-bar {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    width: 20%; /* Inicialmente 20% (paso 1 de 5) */
    transition: width 0.5s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20%;
    position: relative;
    opacity: 0.5;
    transition: var(--transition);
}

.progress-step.active {
    opacity: 1;
}

.progress-step.completed .step-icon {
    background-color: var(--success-color);
    color: var(--white);
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transition: var(--transition);
}

.progress-step.active .step-icon {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.step-label {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

/* Steps Container */
.steps-container {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.step-content {
    display: none;
    padding: 30px;
}

.step-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-header {
    text-align: center;
    margin-bottom: 30px;
}

.step-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.step-header p {
    color: var(--gray-color);
    font-size: 16px;
}

/* Paso 1: Tipo de licencia */
.areas-container, .modules-container, .tramites-container{ 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 3fr));
    gap: 20px;
    margin-bottom: 30px;
}

.license-types {
    grid-template-columns: repeat(auto-fit, minmax(280px, 3fr));
}

.license-card, .area-card, .tramite-card, .module-card {
    background-color: var(--white);
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.license-card::before, .area-card::before, .tramite-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0;
    transition: var(--transition);
}

.license-card:hover, .area-card:hover, .tramite-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.license-card.selected, .area-card.selected, .tramite-card.selected {
    border-color: var(--primary-color);
    background-color: rgba(157, 36, 73, 0.05);
}

.license-card.selected::before {
    opacity: 1;
}

.license-icon, .area-icon, .module-icon, .tramite-icon {
    /* width: 50px; */
    height: 50px;
    border-radius: 10px;
    /* background-color: rgba(157, 36, 73, 0.1); */
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 15px;
}

.license-icon i, .area-icon i, .module-icon i, .tramite-icon i {
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.selectable-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.selectable-card p {
    font-size: 14px;
    color: var(--gray-color);
    margin-bottom: 15px;
}
.selectable-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.selectable-card.selected {
    border-color: var(--primary-color);
    background-color: rgba(157, 36, 73, 0.05);
}

.selectable-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.requirements-list {
    list-style-type: none;
    margin-bottom: 15px;
    font-size: 13px;
}

.requirements-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.requirements-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.license-price {
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
    font-size: 14px;
    margin-top: 10px;
}

/* Paso 2: Selección de módulo */

.module-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background-color: rgba(157, 36, 73, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.module-icon i {
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.module-header h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
}

.module-info {
    margin-bottom: 15px;
}

.module-info p {
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--gray-color);
    display: flex;
    align-items: center;
}

.module-info i {
    margin-right: 8px;
    color: var(--primary-color);
    font-size: 14px;
}

.module-status {
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.module-status.available {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.module-status.maintenance {
    background-color: rgba(255, 193, 7, 0.1);
    color: var(--warning-color);
}

.module-status.closed {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
} 

/* Paso 3: Fecha y hora */
.date-time-wrapper {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.calendar-wrapper, .time-wrapper {
    flex: 1;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.calendar-wrapper h4, .time-wrapper h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
    text-align: center;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-height: 300px;
    max-width: 300px;
    overflow-y: auto;
}

.time-slot-btn {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.time-slot-btn:hover {
    background-color: rgba(157, 36, 73, 0.05);
    border-color: var(--primary-color);
}

.time-slot-btn.selected {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.time-slot-btn.unavailable {
    opacity: 0.5;
    cursor: not-allowed;
    text-decoration: line-through;
}

.select-date-message {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--gray-color);
    font-style: italic;
    padding: 20px;
}

/* Paso 4: Datos personales */
.personal-data-form {
    margin-bottom: 30px;
}

.form-section {
    background-color: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.form-section h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    margin-bottom: 15px;
}

.form-group.full-width {
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.required {
    color: var(--danger-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(157, 36, 73, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-top: 10px;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 3px;
}

.terms-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Paso 5: Confirmación */
.confirmation-container {
    margin-bottom: 30px;
}

.confirmation-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
}

.confirmation-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.confirmation-header i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
}

.confirmation-header h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
}

.confirmation-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.detail-item {
    margin-bottom: 10px;
}

.detail-label {
    font-size: 14px;
    color: var(--gray-color);
    margin-bottom: 5px;
}

.detail-value {
    font-weight: 500;
    color: var(--dark-color);
}

.payment-info, .requirements-reminder {
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

.payment-info h5, .requirements-reminder h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.payment-info p {
    font-size: 14px;
    color: var(--gray-color);
    margin-bottom: 8px;
}

.requirements-reminder ul {
    list-style-type: none;
    padding-left: 0;
}

.requirements-reminder li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--dark-color);
}

.requirements-reminder li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Botones y acciones */
.step-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn {
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    transition: background-color 0.5s ease-in-out;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--primary-color-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--gray-color);
    border: 1px solid #ced4da;
    transition: background-color 0.5s ease-in-out;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.btn-outline:hover {
    background-color: #f8f9fa;
    color: var(--gray-color-hover);
    border-color: var(--gray-color-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.btn-success {
    background-color: var(--success-color);
    color: var(--white);
}

.btn-success:hover {
    background-color: #218838;
}

.btn:disabled { 
    opacity: 0.7;
    cursor: not-allowed;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--black);
    padding: 40px 0 20px;
    margin-top: 50px;
    box-shadow: var(--shadow-sm-top);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.footer-logo img {
    height: 50px;
}

.footer-logo p {
    font-size: 14px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: var(--black);
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 14px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-social {
    display: flex;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    color: var(--black);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color-hover);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    opacity: 0.7;
}

/* Loader de carga */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255,255,255,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}
.loader-overlay.visible {
    display: flex;
    flex-direction: column;
}
.loader-spinner {
    font-size: 3rem;
    color: #198754;
    animation: spin 1s linear infinite;
}
.step-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 1.2rem;
    margin: 10px 0;
}
.step-loader i {
    color: #198754;
    animation: spin 1s linear infinite;
    font-size: 1.5em;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modal de confirmación */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none; 
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-container {
    width: 90%;
    max-width: 600px;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(40, 167, 69, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.success-icon i {
    font-size: 40px;
    color: var(--success-color);
}

.deneged-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(220, 53, 69, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.deneged-icon i {
    font-size: 40px;
    color: var(--danger-color);
}

#successModal h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--success-color);
    margin-bottom: 10px;
}

#successModal .modal-content > p {
    color: var(--gray-color);
    margin-bottom: 25px;
}

#successModal .appointment-info {
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: left;
}

#successModal .appointment-info p {
    margin-bottom: 10px;
    font-size: 14px;
}

#successModal .appointment-info strong {
    color: var(--primary-color);
}

#successModal .modal-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

#denegedModal h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--danger-color);
    margin-bottom: 10px;
}

#denegedModal .modal-content > p {
    color: var(--gray-color);
    margin-bottom: 25px;
}

#denegedModal .appointment-info {
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: center;
}

#denegedModal .appointment-info p {
    margin-bottom: 10px;
    font-size: 14px;
}

#denegedModal .appointment-info strong {
    color: var(--primary-color);
}

#denegedModal .modal-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Estilos para Flatpickr */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-container {
        margin-bottom: 15px;
        display: flex;
        flex-direction: column;
    }
    
    .header-info {
        align-items: center;
    }
    
    .date-time-wrapper {
        flex-direction: column;
        /* flex-wrap: wrap;
        align-items: center; */
    }
    .text-center{
        text-align: center;
    }
    .confirmation-details {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-logo, .footer-links {
        display: flex;
        margin-bottom: 20px;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .progress-steps {
        display: none;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .modules-container, .license-types {
        grid-template-columns: 1fr;
    }
    
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step-actions {
        flex-direction: column-reverse;
        gap: 10px;
    }
    
    .step-actions button {
        width: 100%;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}

/* Animaciones adicionales */
.pulse-green {
    animation: pulse-green 2s infinite;
    border-color: var(--success-color);
}

.pulse-red {
    animation: pulse-red 2s infinite;
    border-color: var(--danger-color);
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(81, 222, 42, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(81, 222, 42, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(81, 222, 42, 0);
    }
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

/* Estilos para mensajes de error */
.error-message-div {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.error-message {
    color: var(--danger-color);
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.error {
    border-color: var(--danger-color) !important;
}

.error + .error-message {
    display: block;
}

@media (max-width: 450px) {
    .area-header, .license-header, .tramite-header, .module-header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .license-card, .area-card, .tramite-card, .module-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        max-width: 450px;    
        width: 100%;    
        text-align: center;
    }
    .areas-container, .tramites-container, .modules-container{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .flatpickr-calendar.inline{
        width: 224px;
        max-width: 450px;
    }
}