/* COMPLETE STYLES INCLUDING BIKE FIT */
/* Path: bmx-web/public/css/styles.css */

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

:root {
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-tertiary: #374151;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --border-color: #4b5563;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --red-500: #ef4444;
    --red-600: #dc2626;
    --green-500: #10b981;
    --yellow-500: #f59e0b;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.nav-logo {
    height: 32px;
    width: auto;
    display: block;
}

.nav-icon {
    width: 24px;
    height: 24px;
    color: var(--blue-500);
}

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-link {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.nav-link:hover {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
}

.nav-link.active {
    background-color: var(--blue-600);
    color: var(--text-primary);
}

.nav-link-logout {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.nav-link-logout:hover {
    background-color: var(--bg-tertiary);
}

.nav-link-logout svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* Pages */
.page {
    display: none;
    min-height: calc(100vh - 64px);
}

.page.active {
    display: block;
}

/* Auth Container */
.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
}

.auth-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    border: 1px solid var(--border-color);
}

.auth-card h2 {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.auth-logo img {
    width: 120px;
    height: 120px;
    display: block;
}

.auth-links {
    margin-top: 1.5rem;
    text-align: center;
}

.auth-links a {
    color: var(--blue-500);
    text-decoration: none;
    font-size: 0.875rem;
}

.auth-links a:hover {
    color: var(--blue-600);
}

.auth-links p {
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Profile Container */
.profile-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.profile-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.profile-header h2 {
    font-size: 1.875rem;
}

.profile-view {
    display: grid;
    gap: 1rem;
}

.profile-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.profile-item label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.profile-item span {
    font-size: 1rem;
    color: var(--text-primary);
}

.profile-danger-zone {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.profile-danger-zone h3 {
    font-size: 1.25rem;
    color: var(--red-500);
    margin-bottom: 1rem;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.5rem 1rem;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Buttons */
.btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
}

.btn-primary {
    background-color: var(--blue-600);
    color: white;
    width: 100%;
}

.btn-primary:hover {
    background-color: var(--blue-700);
}

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

.btn-secondary {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--border-color);
}

.btn-danger {
    background-color: var(--red-600);
    color: white;
}

.btn-danger:hover {
    background-color: var(--red-500);
}

.btn-text {
    display: inline;
}

.btn-loader {
    display: none;
}

.btn-loader.active {
    display: inline;
}

.btn-loader.active ~ .btn-text {
    display: none;
}

/* ============================================ */
/* BIKE FIT STYLES (NEW) */
/* ============================================ */

.bike-fit-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.bike-fit-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.bike-fit-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Instructions */
.bike-fit-instructions {
    background-color: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.pose-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 1.5rem 0;
}

.pose-example {
    text-align: center;
}

.pose-illustration {
    background-color: var(--bg-secondary);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.pose-svg {
    width: 100%;
    max-width: 200px;
    height: 300px;
}

.pose-example h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.pose-example p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.pose-requirements {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: rgba(59, 130, 246, 0.1);
    border-left: 4px solid var(--blue-500);
    border-radius: 0.25rem;
}

.pose-requirements h4 {
    color: var(--blue-500);
    margin-bottom: 0.5rem;
}

.pose-requirements ul {
    margin-left: 1.5rem;
    color: var(--text-secondary);
}

.pose-requirements li {
    margin-bottom: 0.25rem;
}

.privacy-note {
    margin-top: 1rem;
    padding: 0.75rem;
    background-color: rgba(16, 185, 129, 0.1);
    border-radius: 0.25rem;
    color: var(--green-500);
    font-size: 0.875rem;
}

/* Upload Section */
.bike-fit-upload {
    margin-bottom: 2rem;
}

.image-preview {
    margin-top: 1rem;
    text-align: center;
}

.image-preview img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 0.5rem;
    border: 2px solid var(--border-color);
}

/* Progress */
.bike-fit-progress {
    padding: 2rem;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--bg-tertiary);
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue-500), var(--green-500));
    transition: width 0.3s ease;
    width: 0%;
}

.progress-message {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Results */
.bike-fit-results {
    animation: fadeIn 0.5s ease-in;
}

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

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

.results-section h4 {
    color: var(--blue-500);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.measurements-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.measurement-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background-color: var(--bg-tertiary);
    border-radius: 0.375rem;
    border-left: 3px solid var(--blue-500);
}

.measurement-item label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.measurement-item span {
    color: var(--text-primary);
    font-weight: 600;
}

.measurement-item .highlight {
    color: var(--green-500);
    font-size: 1.125rem;
}

.tooltip {
    cursor: help;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.symmetry-score {
    color: var(--green-500);
    font-weight: bold;
}

.confidence-score {
    margin-top: 1rem;
}

.confidence-badge {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 2px solid;
    text-align: center;
    font-weight: 600;
}

/* Bike Illustration */
.bike-illustration-container {
    margin: 2rem 0;
    padding: 2rem;
    background-color: var(--bg-tertiary);
    border-radius: 0.5rem;
}

.bike-illustration-container h4 {
    color: var(--blue-500);
    margin-bottom: 1rem;
    text-align: center;
}

.bike-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* AI Reasoning */
.ai-reasoning {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: var(--bg-tertiary);
    border-radius: 0.5rem;
    border-left: 4px solid var(--green-500);
}

.ai-reasoning h4 {
    color: var(--green-500);
    margin-bottom: 1rem;
}

.ai-reasoning p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Disclaimer */
.bike-fit-disclaimer {
    margin-top: 2rem;
    padding: 1rem;
    background-color: rgba(245, 158, 11, 0.1);
    border-left: 4px solid var(--yellow-500);
    border-radius: 0.25rem;
}

.bike-fit-disclaimer p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ============================================ */
/* CHAT STYLES */
/* ============================================ */

.chat-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 64px);
}

.chat-header {
    text-align: center;
    margin-bottom: 2rem;
}

.chat-header h2 {
    font-size: 1.875rem;
    margin-bottom: 0.5rem;
}

.chat-header p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background-color: var(--bg-secondary);
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    max-width: 70%;
    animation: slideIn 0.3s ease-out;
}

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

.user-message {
    align-self: flex-end;
}

.bot-message {
    align-self: flex-start;
}

.message-content {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    line-height: 1.5;
}

.user-message .message-content {
    background-color: var(--blue-600);
    color: white;
    border-bottom-right-radius: 0.25rem;
}

.bot-message .message-content {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border-bottom-left-radius: 0.25rem;
}

.message-content p {
    margin: 0;
    white-space: pre-wrap;
}

.typing-indicator {
    display: flex;
    gap: 0.25rem;
    padding: 1rem;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background-color: var(--text-secondary);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.chat-input-container {
    display: flex;
    gap: 0.75rem;
    background-color: var(--bg-secondary);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}

.chat-input-container input {
    flex: 1;
    padding: 0.75rem 1rem;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.chat-input-container input:focus {
    outline: none;
    border-color: var(--blue-500);
}

.btn-send {
    padding: 0.75rem;
    background-color: var(--blue-600);
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-send:hover {
    background-color: var(--blue-700);
}

.btn-send svg {
    width: 20px;
    height: 20px;
    stroke: white;
    stroke-width: 2;
}

/* ============================================ */
/* MARKDOWN STYLES IN CHAT */
/* ============================================ */

/* Estilos para contenido markdown en mensajes del bot */
.bot-message .message-content h1,
.bot-message .message-content h2,
.bot-message .message-content h3,
.bot-message .message-content h4,
.bot-message .message-content h5,
.bot-message .message-content h6 {
    margin: 0.75rem 0 0.5rem 0;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

.bot-message .message-content h1 { font-size: 1.5rem; }
.bot-message .message-content h2 { font-size: 1.35rem; }
.bot-message .message-content h3 { font-size: 1.2rem; }
.bot-message .message-content h4 { font-size: 1.1rem; }
.bot-message .message-content h5 { font-size: 1rem; }
.bot-message .message-content h6 { font-size: 0.9rem; }

.bot-message .message-content h1:first-child,
.bot-message .message-content h2:first-child,
.bot-message .message-content h3:first-child {
    margin-top: 0;
}

.bot-message .message-content p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.bot-message .message-content p:first-child {
    margin-top: 0;
}

.bot-message .message-content p:last-child {
    margin-bottom: 0;
}

.bot-message .message-content strong {
    font-weight: 600;
    color: var(--text-primary);
}

.bot-message .message-content em {
    font-style: italic;
}

.bot-message .message-content code {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    color: #10b981;
}

.bot-message .message-content pre {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 0.75rem;
    border-radius: 0.375rem;
    overflow-x: auto;
    margin: 0.75rem 0;
    border-left: 3px solid var(--blue-500);
}

.bot-message .message-content pre code {
    background-color: transparent;
    padding: 0;
    color: #d1d5db;
    display: block;
    line-height: 1.5;
}

.bot-message .message-content ul,
.bot-message .message-content ol {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.bot-message .message-content ul {
    list-style-type: disc;
}

.bot-message .message-content ol {
    list-style-type: decimal;
}

.bot-message .message-content li {
    margin: 0.25rem 0;
    line-height: 1.5;
}

.bot-message .message-content li p {
    margin: 0.25rem 0;
}

.bot-message .message-content blockquote {
    border-left: 4px solid var(--blue-500);
    padding-left: 1rem;
    margin: 0.75rem 0;
    color: var(--text-secondary);
    font-style: italic;
}

.bot-message .message-content a {
    color: var(--blue-500);
    text-decoration: underline;
    transition: color 0.2s;
}

.bot-message .message-content a:hover {
    color: var(--blue-600);
}

.bot-message .message-content hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 0.75rem 0;
}

/* Messages */
.error-message {
    color: var(--red-500);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

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

.success-message {
    color: var(--green-500);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.success-message.show {
    display: block;
}

/* Loading */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(17, 24, 39, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.spinner {
    animation: spin 1s linear infinite;
    stroke-dasharray: 50;
    stroke-dashoffset: 25;
}

.spinner-large {
    width: 60px;
    height: 60px;
    stroke: var(--blue-500);
    animation: spin 1s linear infinite;
    stroke-dasharray: 50;
    stroke-dashoffset: 25;
}

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

/* Utilities */
.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .profile-container {
        padding: 1.5rem 1rem;
    }

    .chat-container {
        padding: 1rem 0.5rem;
    }

    .message {
        max-width: 85%;
    }

    .nav-brand span {
        display: none;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .pose-examples {
        grid-template-columns: 1fr;
    }
}

/* Botón de descarga PDF */
.pdf-download-container {
    display: flex;
    justify-content: flex-end;
    margin: 30px 0 20px 0;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.btn-download {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.btn-download:active {
    transform: translateY(0);
}

.btn-download:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Ajustes para impresión/PDF */
@media print {
    .pdf-download-container,
    .bike-fit-instructions,
    .btn,
    #capture-photo-btn,
    #analyze-photo-btn {
        display: none !important;
    }
    
    .bike-fit-results {
        page-break-inside: avoid;
    }
    
    .results-grid {
        page-break-inside: avoid;
    }
}

/* ============================================ */
/* NEW BIKE FIT BUTTON - Bottom Left */
/* ============================================ */

.new-bike-fit-button {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    padding: 1rem 1.5rem;
    background-color: var(--blue-600) !important;
    color: white !important;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.new-bike-fit-button:hover {
    background-color: var(--blue-700) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -1px rgba(0, 0, 0, 0.4), 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.new-bike-fit-button:active {
    transform: translateY(0);
}

.new-bike-fit-button.hidden {
    display: none;
}

.new-bike-fit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ============================================ */
/* ANNOTATED IMAGE DISPLAY - FIXED */
/* ============================================ */

.annotated-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-tertiary);
    border-radius: 0.5rem;
    margin: 1.5rem auto;
    max-width: 100%;
}

.annotated-image {
    /* NO usar width: 100% para evitar estiramiento */
    max-width: 100%;
    max-height: 700px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 0.5rem;
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    /* Mantener aspecto original de la imagen */
    object-fit: contain;
    /* Asegurar que se vea bien */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.image-caption {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-style: italic;
    text-align: center;
}

/* ============================================ */
/* RESPONSIVE ADJUSTMENTS */
/* ============================================ */

@media (max-width: 768px) {
    .new-bike-fit-button {
        bottom: 1rem;
        left: 1rem;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .annotated-image-wrapper {
        padding: 1rem;
    }
    
    .annotated-image {
        max-height: 500px;
        /* Mantener aspect ratio en móviles */
        width: auto !important;
        height: auto !important;
    }
}

/* ============================================ */
/* HIDE/SHOW HELPERS */
/* ============================================ */

.hidden {
    display: none !important;
}

/* public/css/styles.css - AGREGAR AL FINAL */

/* Terms Container */
.terms-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
}

.terms-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 800px;
    border: 1px solid var(--border-color);
}

.terms-card h2 {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.terms-content {
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    background-color: var(--bg-tertiary);
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
}

.terms-content h3 {
    color: var(--blue-500);
    font-size: 1.125rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.terms-content h3:first-child {
    margin-top: 0;
}

.terms-content p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.terms-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

/* Terms Checkbox */
.terms-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.terms-checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
}

.terms-checkbox-group label {
    flex: 1;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    cursor: pointer;
}

.terms-checkbox-group label a {
    color: var(--blue-500);
    text-decoration: underline;
}

.terms-checkbox-group label a:hover {
    color: var(--blue-600);
}

/* Responsive */
@media (max-width: 768px) {
    .terms-card {
        max-width: 100%;
        padding: 1.5rem;
    }
    
    .terms-content {
        max-height: 300px;
    }
}

/* styles.css - AGREGAR al final */

/* Coming Soon Pages */
.coming-soon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 64px);
    padding: 2rem;
}

.coming-soon-card {
    background-color: var(--bg-secondary);
    padding: 3rem 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    text-align: center;
    max-width: 500px;
}

.coming-soon-logo {
    width: 200px;
    height: 200px;
    display: block;
    margin: 0 auto 2rem;
}

.coming-soon-card h2 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.coming-soon-subtitle {
    font-size: 1.25rem;
    color: var(--blue-500);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.coming-soon-text {
    color: var(--text-secondary);
    font-size: 1rem;
}