/*!***********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./app/terminos/terminos.css ***!
  \***********************************************************************************************************************************************************************************************************************************************************************/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

.terms-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    gap: 40px;
    min-height: 80vh;
}

.terms-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.terms-sidebar-sticky {
    position: sticky;
    top: 100px;
    /* Adjust based on header height */
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.terms-nav-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

.terms-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.terms-nav-item a {
    display: block;
    padding: 8px 12px;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.terms-nav-item a:hover {
    background: #f3f4f6;
    color: #111827;
}

.terms-nav-item a.active {
    background: #e5e7eb;
    color: #000;
    font-weight: 500;
}

.terms-content {
    flex-grow: 1;
    max-width: 800px;
}

.terms-header {
    margin-bottom: 40px;
}

.terms-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.terms-meta {
    color: #6b7280;
    font-size: 0.9rem;
}

.terms-section {
    margin-bottom: 40px;
    scroll-margin-top: 120px;
    /* Offset for sticky header */
}

.terms-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.terms-section-content {
    color: #374151;
    line-height: 1.7;
    font-size: 1.05rem;
}

.terms-section-content p {
    margin-bottom: 1em;
}

.terms-section-content ul,
.terms-section-content ol {
    margin-bottom: 1em;
    padding-left: 20px;
}

.terms-section-content li {
    margin-bottom: 0.5em;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .terms-container {
        flex-direction: column;
    }

    .terms-sidebar {
        width: 100%;
        margin-bottom: 20px;
    }

    .terms-sidebar-sticky {
        position: static;
    }

    .terms-content {
        max-width: 100%;
    }
}
/*!*********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./components/TermsAcceptanceModal.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************/
.terms-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 55, 72, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.terms-modal {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(45, 55, 72, 0.3);
    animation: slideIn 0.3s ease-out;
    font-family: 'DM Sans', sans-serif;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.terms-modal-header {
    padding: 24px 32px;
    border-bottom: 1px solid #E5E7EB;
    background: #2D3748;
    color: white;
    border-radius: 12px 12px 0 0;
}

.terms-modal-header h2 {
    margin: 0 0 8px 0;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: -0.01em;
}

.terms-modal-version {
    margin: 0;
    opacity: 0.85;
    font-size: 0.875rem;
    font-weight: 400;
    font-family: 'DM Sans', sans-serif;
}

.terms-modal-progress {
    padding: 20px 32px;
    background: #F9FAFB;
    border-bottom: 1px solid #E5E7EB;
}

.progress-bar {
    height: 6px;
    background: #E5E7EB;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: #5A8B9F;
    transition: width 0.3s ease;
}

.progress-text {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6B7280;
    text-align: center;
    font-family: 'DM Sans', sans-serif;
}

.terms-modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 32px;
    background: white;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    color: #2D3748;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #5A8B9F;
    letter-spacing: -0.01em;
}

.section-content {
    color: #2D3748;
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
    font-family: 'DM Sans', sans-serif;
}

.section-content p {
    margin-bottom: 1em;
    color: #2D3748;
}

.section-content ul,
.section-content ol {
    margin-bottom: 1em;
    padding-left: 24px;
    color: #2D3748;
}

.section-content li {
    margin-bottom: 0.5em;
}

.section-content h1,
.section-content h2,
.section-content h3,
.section-content h4 {
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    color: #2D3748;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
}

.section-content strong {
    font-weight: 600;
    color: #2D3748;
}

.terms-modal-error {
    margin: 0 32px;
    padding: 14px 16px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    color: #991b1b;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
}

.terms-modal-footer {
    padding: 20px 32px;
    border-top: 1px solid #E5E7EB;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    background: #F9FAFB;
}

.terms-modal-footer button {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    flex: 1;
}

.btn-secondary {
    background: white;
    color: #2D3748;
    border: 1px solid #E5E7EB;
}

.btn-secondary:hover:not(:disabled) {
    filter: brightness(0.98);
    border-color: #6B7280;
}

.btn-secondary:active:not(:disabled) {
    filter: brightness(0.95);
}

.btn-secondary:focus-visible {
    outline: 3px solid rgba(90, 139, 159, 0.5);
    outline-offset: 2px;
}

.btn-primary {
    background: #5A8B9F;
    color: white;
    border: 1px solid #4e7a8b;
}

.btn-primary:hover:not(:disabled) {
    filter: brightness(0.95);
}

.btn-primary:active:not(:disabled) {
    filter: brightness(0.9);
}

.btn-primary:focus-visible {
    outline: 3px solid rgba(90, 139, 159, 0.5);
    outline-offset: 2px;
}

.btn-accept {
    background: #9DB5A5;
    color: white;
    font-size: 1rem;
    border: 1px solid #8ca599;
}

.btn-accept:hover:not(:disabled) {
    filter: brightness(0.95);
}

.btn-accept:active:not(:disabled) {
    filter: brightness(0.9);
}

.btn-accept:focus-visible {
    outline: 3px solid rgba(157, 181, 165, 0.5);
    outline-offset: 2px;
}

.terms-modal-footer button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.terms-modal-notice {
    padding: 16px 32px 20px;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 400;
    font-family: 'DM Sans', sans-serif;
    color: #6B7280;
    text-align: center;
    background: #F9FAFB;
    border-radius: 0 0 12px 12px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .terms-modal {
        max-height: 95vh;
        margin: 10px;
    }

    .terms-modal-header,
    .terms-modal-progress,
    .terms-modal-content,
    .terms-modal-footer,
    .terms-modal-notice {
        padding-left: 20px;
        padding-right: 20px;
    }

    .terms-modal-footer {
        flex-direction: column;
    }

    .terms-modal-footer button {
        width: 100%;
    }
}
