        .backtotop:hover {
            background-color: #ff9300;
        }
/* Modal personalizado para Preguntas Frecuentes */
.faq-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.faq-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 1000px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    position: relative;
}

.faq-modal-close {
    color: #333;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}
:root {
            --primary: #e67e22;
            --primary-dark: #d35400;
            --secondary: #e67e22;
            --secondary-dark: #c0392b;
            --light: #f8f9fa;
            --dark: #343a40;
            --gray: #6c757d;
            --light-gray: #e9ecef;
            --success: #28a745;
            --border-radius: 8px;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            background: linear-gradient(135deg, #fdf6f0 0%, #f8f9fa 100%);
            color: var(--dark);
            line-height: 1.6;
            min-height: 100vh;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        header {
            background-image:  url('../imagen/barra_head.jpg');
            color: white;
            padding: 20px 0;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 100;
        }

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

        .logo {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .logo-icon {
            font-size: 2.5rem;
            color: white;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        .logo-text {
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
            font-weight: 700;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
        }

        .logo-subtext {
            font-size: 0.9rem;
            font-weight: bold;
            opacity: 0.9;
            margin-top: 2px;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 25px;
        }

        nav a {
            color: #762629;
            text-decoration: none;
            font-weight: 500;
            font-size: 1.1rem;
            transition: var(--transition);
            padding: 8px 12px;
            border-radius: var(--border-radius);
        }

        nav a:hover {
            background: rgb(230 126 33);
            color: white;
        }

        .submit-button {
            background-color: rgb(255, 162, 0);
            color: white;
            cursor: pointer;
            font-size: 1.1rem;
            display: block;
            width: 100%;
            padding: 0.8rem 1.5rem;
            border-width: initial;
            border-style: none;
            border-color: initial;
            border-image: initial;
            border-radius: 6px;
            transition: background-color 0.3s;
        }

        .hero {
            background: url('../imagen/footer.jpg') no-repeat center center;
            background-size: cover;
            height: 400px;
            display: flex;
            align-items: center;
            position: relative;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(230, 126, 34, 0.8);
        }

        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 800px;
            padding: 0 20px;
            color: white;
        }

        .hero h1 {
            font-family: 'Playfair Display', serif;
            font-size: 3.5rem;
            margin-bottom: 20px;
            line-height: 1.2;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        .hero p {
            font-size: 1.2rem;
            margin-bottom: 30px;
            max-width: 600px;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
        }

        .btn {
            display: inline-block;
            background: white;
            color: var(--primary-dark);
            padding: 12px 30px;
            border: none;
            border-radius: var(--border-radius);
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            transition: var(--transition);
            font-size: 1.1rem;
            box-shadow: var(--shadow);
            font-weight: 700;
        }

        .btn:hover {
            background: #f8f9fa;
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }

        .btn-outline {
            background: transparent;
            border: 2px solid white;
            color: white;
        }

        .btn-outline:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .wizard-container {
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            margin: 30px auto;
            max-width: 1000px;
            overflow: hidden;
            border: 1px solid var(--light-gray);
        }

        .wizard-header {
            background: var(--primary);
            color: white;
            padding: 20px;
            text-align: center;
            border-bottom: 2px solid white;
        }

        .wizard-header h2 {
            font-family: 'Playfair Display', serif;
            font-size: 2rem;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
        }

        .wizard-progress {
            display: flex;
            padding: 20px;
            background: var(--light);
            border-bottom: 1px solid var(--light-gray);
        }

        .progress-step {
            flex: 1;
            text-align: center;
            position: relative;
            opacity: 0.7;
        }

        .progress-step.active {
            opacity: 1;
            font-weight: 600;
        }

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

        .step-number {
            display: inline-flex;
            width: 36px;
            height: 36px;
            background: var(--light-gray);
            color: var(--gray);
            border-radius: 50%;
            align-items: center;
            justify-content: center;
            margin-bottom: 8px;
            transition: var(--transition);
            font-weight: 700;
        }

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

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

        .step-label {
            font-size: 0.9rem;
            font-weight: 600;
        }

        .progress-step:not(:last-child)::after {
            content: '';
            position: absolute;
            top: 18px;
            right: -50%;
            width: 100%;
            height: 2px;
            background: var(--light-gray);
            z-index: -1;
        }

        .wizard-form {
            padding: 30px;
        }

        .form-section {
            display: none;
            animation: fadeIn 0.5s ease;
        }

        .form-section.active {
            display: block;
        }

        .backtotop {
		display: inline-block;
		position: fixed;
		bottom: 30px;
		right: 20px;
		width: 55px;
		height: 55px;
		line-height: 55px;
		text-align: center;
		-webkit-border-radius: 3px;
		border-radius: 3px;
		border: 1px solid #181818;
		color: white;
		font-size: 22px;
		background-color: #762629;
    opacity: 1;
		-webkit-transition: 0.5s;
		transition: 0.5s;
		z-index: 999;
	}

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

        .section-title {
            font-family: 'Playfair Display', serif;
            color: var(--primary);
            margin-bottom: 25px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--primary);
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.8rem;
        }

        .section-title i {
            color: var(--primary);
            background: rgba(230, 126, 34, 0.1);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-row {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }

        .form-col {
            flex: 1;
            min-width: 250px;
        }

        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--dark);
            font-size: 1.1rem;
        }

        .required {
            color: #c0392b;
            font-weight: 700;
        }

        input, select, textarea {
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: var(--border-radius);
            font-size: 1rem;
            transition: var(--transition);
            background: white;
            border-width: 2px;
        }

        input:focus, select:focus, textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.1);
        }

        textarea {
            min-height: 120px;
            resize: vertical;
        }

        .checkbox-group {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 15px 0;
        }

        .checkbox-group input {
            width: auto;
            border-color: var(--primary);
            accent-color: var(--primary);
        }

        .checkbox-label {
            font-size: 0.95rem;
            color: var(--dark);
        }

        .btn-group {
            display: flex;
            justify-content: space-between;
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid var(--light-gray);
        }

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

        .btn-prev:hover {
            background: #5a6268;
        }

        .btn-next, .btn-submit {
            background: var(--primary);
            color: white;
        }

        .btn-next:hover, .btn-submit:hover {
            background: var(--primary-dark);
        }

        .btn-submit {
            display: none;
        }

        .btn-submit.active {
            display: inline-block;
        }

        .form-navigation {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin: 30px 0;
        }

        .nav-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--light-gray);
            cursor: pointer;
            transition: var(--transition);
            border: 2px solid #ddd;
        }

        .nav-dot.active {
            background: var(--primary);
            border-color: var(--primary);
            transform: scale(1.2);
        }

        .summary-card {
            background: var(--light);
            border-radius: var(--border-radius);
            padding: 20px;
            margin: 20px 0;
            border: 1px solid var(--light-gray);
            border-left: 4px solid var(--primary);
        }

        .summary-title {
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.3rem;
        }

        .summary-title i {
            color: var(--primary);
        }

        .summary-item {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px dashed var(--light-gray);
            font-size: 1rem;
        }

        .summary-label {
            font-weight: 600;
            color: var(--dark);
            flex: 0 0 30%;
        }

        .summary-value {
            font-weight: 500;
            color: var(--dark);
            flex: 0 0 70%;
        }

        .summary-item:last-child {
            border-bottom: none;
        }

        .success-message {
            text-align: center;
            padding: 40px;
            display: none;
        }

        .success-icon {
            font-size: 5rem;
            color: var(--success);
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
        }

        .success-message h3 {
            color: var(--primary);
            margin-bottom: 15px;
            font-family: 'Playfair Display', serif;
            font-size: 2rem;
        }

        .success-message p {
            color: var(--dark);
            margin-bottom: 25px;
            font-size: 1.1rem;
        }

        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin: 50px 0;
        }

        .feature-card {
            background: white;
            border-radius: var(--border-radius);
            padding: 30px;
            text-align: center;
            box-shadow: var(--shadow);
            transition: var(--transition);
            border: 1px solid var(--light-gray);
            border-top: 4px solid var(--primary);
        }

        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }

        .feature-icon {
            font-size: 3rem;
            color: var(--primary);
            margin-bottom: 20px;
            background: rgba(230, 126, 34, 0.1);
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
        }

        .feature-title {
            color: var(--primary);
            margin-bottom: 15px;
            font-family: 'Playfair Display', serif;
            font-size: 1.4rem;
        }

        footer {
           background-color: #e67e22;
            color: white;
            padding: 0px 0;
            padding-top: 40px;
            margin-top: 50px;
            border: #762629 solid 1.5px;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
        }

        .footer-section h3 {
            font-family: 'Montserrat', sans-serif;
            margin-bottom: 20px;
            color: #e67e22;
            font-size: 1.3rem;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.9);
            text-decoration: none;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .footer-links a:hover {
            color: #762629;
            transform: translateX(5px);
        }

        .copyright {
             background-image:  url('../imagen/footer.jpg');
            text-align: center;
            padding: 20px 0;
            margin-top: 40px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #762629;
            font-size: 0.9rem;
            font-weight: bold;
        }

        .author-list {
            margin: 20px 0;
        }

        .author-item {
            background: var(--light);
            border-radius: var(--border-radius);
            padding: 20px;
            margin-bottom: 15px;
            border: 2px solid var(--light-gray);
            position: relative;
            transition: var(--transition);
            border-left: 4px solid var(--primary);
        }

        .author-item:hover {
            border-color: var(--primary);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .author-item:last-child {
            margin-bottom: 0;
        }

        .author-item-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--light-gray);
            cursor: pointer;
        }

        .author-item-title {
            font-weight: 700;
            color: var(--primary);
            font-size: 1.2rem;
        }

        .author-toggle {
            background: var(--primary);
            color: white;
            border: none;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
            font-size: 1.2rem;
            box-shadow: var(--shadow);
        }

        .author-toggle.expanded {
            transform: rotate(180deg);
        }

        .author-content {
            display: none;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px dashed var(--light-gray);
        }

        .author-content.active {
            display: block;
        }

        .section-divider {
            margin: 25px 0;
            padding: 15px;
            background: rgba(230, 126, 34, 0.05);
            border-radius: var(--border-radius);
            border-left: 4px solid var(--primary);
        }

        .section-divider h4 {
            color: var(--primary);
            margin: 0 0 10px 0;
            font-family: 'Playfair Display', serif;
            font-size: 1.3rem;
        }

        .section-divider p {
            color: var(--gray);
            font-size: 0.9rem;
            margin: 0;
        }

        .save-continue-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: var(--border-radius);
            cursor: pointer;
            margin: 15px 0;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: var(--transition);
            font-weight: 600;
            box-shadow: var(--shadow);
            font-size: 1.1rem;
            width: 100%;
            justify-content: center;
        }

        .save-continue-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }

        .save-continue-btn:disabled {
            background: var(--gray);
            cursor: not-allowed;
            transform: none;
        }

        .author-status {
            display: inline-block;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-left: 10px;
        }

        .author-status.pending {
            background: #f39c12;
            color: white;
        }

        .author-status.completed {
            background: #27ae60;
            color: white;
        }

        .coauthor-info {
            background: rgba(230, 126, 34, 0.1);
            border-left: 4px solid var(--primary);
            padding: 15px;
            border-radius: var(--border-radius);
            margin: 20px 0;
            font-size: 0.95rem;
        }

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

        .cp-search {
            display: flex;
            gap: 10px;
            margin-top: 10px;
        }

        .cp-search input {
            flex: 1;
        }

        .cp-search button {
            background: var(--primary);
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: var(--border-radius);
            cursor: pointer;
        }

        .cp-search button:hover {
            background: var(--primary-dark);
        }

.menu-toggle-checkbox {
    display: none;
}

.menu-toggle-label {
    display: none;
    cursor: pointer;
}

.menu-toggle-label i {
    font-size: 1.5rem;
    color: white;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .menu ul {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: #e67e22;
        padding: 20px;
    }

    .menu-toggle-label {
        display: block;
    }

    .menu-toggle-checkbox:checked ~ ul {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .form-row {
        flex-direction: column;
    }

    .btn-group {
        flex-direction: column;
        gap: 10px;
    }

    .btn-prev, .btn-next {
        width: 100%;
        text-align: center;
    }

    .author-item {
        padding: 15px;
    }

    .section-title {
        font-size: 1.5rem;
    }
}


/* New Accordion Styles */
.accordion-info-new .accordion-item {
  border-bottom: 1px solid #eee;
}

.accordion-info-new .accordion-item:last-child {
  border-bottom: none;
}

.accordion-info-new .accordion-header {
  background-color: #f1cbb5;
  padding: 1rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border-radius: 5px;
}

.accordion-info-new .accordion-header:hover {
  background-color: #ffa200;
}

.accordion-info-new .accordion-header::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.accordion-info-new .accordion-item.active .accordion-header::after {
  transform: rotate(45deg);
}

.accordion-info-new .accordion-content {
  background-color: white;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 1.5rem;
}

.accordion-info-new .accordion-item.active .accordion-content {
  padding: 1.5rem;
  padding-bottom: 3rem;

}

.accordion-item.locked .accordion-header {
  background-color: #e0e0e0;
  cursor: not-allowed;
  color: #9e9e9e;
}

.accordion-item.locked .accordion-header:hover {
  background-color: #e0e0e0;
}

.submit-button:disabled {
  background-color: #cccccc;
  color: #666666;
  cursor: not-allowed;
}

.submit-button:disabled:hover {
  background-color: #cccccc;
}

/* Estilos responsivos para el contenedor del formulario de inscripción */
.container-inscripcion {
  max-width: 1140px; /* Para computadoras de escritorio */
  width: 900px;
}

@media (max-width: 1200px) {
  .container-inscripcion {
    max-width: 960px; /* Para laptops */
  }
}

@media (max-width: 992px) {
  .container-inscripcion {
    max-width: 95%; /* Para tablets en modo horizontal */
  }
}


/* Style for the dynamic author titles */
#dynamic-accordions-container h2 {
  color: #c5c5c5; /* A bootstrap secondary color (gray) */
  transition: color 0.3s ease;
}

.accordion-info-new__label {
    font-weight: normal;
    display: inline-block;
    margin-bottom: 0;
}

.accordion-info-new__radio {
    width: auto;
    margin-right: 10px;
}

.accordion-info-new__image-container {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.accordion-info-new__image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.accordion-info-new__control {
    text-align: center;
    padding: 20px 0;
}