/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    border-radius: 12px;
}

.header .logo span {
    color: white !important;
}

.header.with-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-email {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.logo i {
    font-size: 2.5rem;
    color: #ffd700;
}

.header .logo i {
    color: #ffd700;
}

.header .logo span {
    color: white !important;
    font-weight: 700;
}

.logo span {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #1e293b;
}

.tagline {
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.9;
}

.header-login {
    margin-top: 20px;
}

.login-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

/* Main content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.registration-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 600px;
    margin: 20px 0;
}

.card-header {
    text-align: center;
    margin-bottom: 40px;
}

.card-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 12px;
}

.card-header p {
    font-size: 1.1rem;
    color: #718096;
    font-weight: 400;
}


/* Form styles */
.registration-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #f8fafc;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    min-height: 100px;
    line-height: 1.5;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0aec0;
}

/* Radio group styles */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.radio-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.radio-option:hover {
    border-color: #cbd5e0;
    background: #edf2f7;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e0;
    border-radius: 50%;
    background: white;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: #667eea;
    background: #667eea;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.radio-option input[type="radio"]:checked ~ .radio-content {
    color: #2d3748;
}

.radio-option:has(input[type="radio"]:checked) {
    border-color: #667eea;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.radio-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.radio-content strong {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    line-height: 1.4;
}

.radio-content small {
    font-size: 0.85rem;
    color: #718096;
    line-height: 1.3;
}

/* Recommended audience */
.recommended-audience {
    margin-top: 20px;
    padding: 24px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    animation: slideDown 0.3s ease;
}

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

.recommended-audience h3 {
    color: #2d3748;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recommended-audience h3::before {
    content: "🎯";
    font-size: 1.2rem;
}

.audience-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.audience-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.audience-content {
    flex: 1;
}

.audience-content h4 {
    color: #2d3748;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.audience-content p {
    color: #718096;
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.audience-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: #718096;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 0.95rem;
    color: #2d3748;
    font-weight: 600;
}

/* Button */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 18px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

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

.btn-primary i {
    font-size: 1rem;
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-1px);
}

/* Confirmation Card */
.confirmation-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 700px;
    margin: 20px 0;
    text-align: center;
    animation: slideInUp 0.5s ease;
}

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

.success-icon {
    margin-bottom: 24px;
}

.success-icon i {
    font-size: 4rem;
    color: #48bb78;
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.confirmation-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 12px;
}

.confirmation-header p {
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 32px;
}

/* Business Summary */
.business-summary {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    text-align: left;
}

.business-summary h3 {
    color: #2d3748;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.summary-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.summary-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.summary-label {
    font-size: 0.85rem;
    color: #718096;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-value {
    font-size: 1rem;
    color: #2d3748;
    font-weight: 600;
}


/* Confirmation Actions */
.confirmation-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.confirmation-actions .btn-primary,
.confirmation-actions .btn-secondary {
    margin-top: 0;
    min-width: 160px;
}

/* Search Card */
.search-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 600px;
    margin: 20px 0;
    text-align: center;
    animation: slideInUp 0.5s ease;
}

/* Avatar Styles */
.search-header {
    margin-bottom: 32px;
}

.avatar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}


@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}



.eye {
    width: 8px;
    height: 8px;
    background: #2d3748;
    border-radius: 50%;
    animation: blink 3s infinite;
}

@keyframes blink {
    0%, 90%, 100% {
        transform: scaleY(1);
    }
    95% {
        transform: scaleY(0.1);
    }
}




.avatar-name {
    text-align: center;
}

.avatar-name .name {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 4px;
}

.avatar-name .title {
    display: block;
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 500;
}

/* Search Content */
.search-content {
    margin-bottom: 32px;
}

.search-message {
    margin-bottom: 24px;
}

.message-bubble {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.message-bubble::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #e2e8f0;
}

.message-bubble p {
    margin: 0;
    color: #2d3748;
    font-size: 1rem;
    line-height: 1.5;
}

.search-status {
    margin-bottom: 24px;
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: #48bb78;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(72, 187, 120, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(72, 187, 120, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(72, 187, 120, 0);
    }
}

.search-animation {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.search-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.search-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
    animation: wave 1.4s ease-in-out infinite both;
}

.dot:nth-child(1) {
    animation-delay: -0.32s;
}

.dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes wave {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

.search-progress {
    margin-bottom: 24px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #667eea;
}

/* Search Actions */
.search-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.search-actions .btn-primary,
.search-actions .btn-secondary {
    margin-top: 0;
    min-width: 160px;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: slideInRight 0.5s ease;
    max-width: 350px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.notification:hover {
    transform: translateY(-2px);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    position: relative;
}

.notification-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification-text {
    flex: 1;
}

.notification-text h4 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
}

.notification-text p {
    margin: 0;
    font-size: 0.85rem;
    color: #718096;
    line-height: 1.3;
}

.notification-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.notification-close:hover {
    color: #718096;
}

/* WhatsApp Card */
.whatsapp-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 0;
    width: 100%;
    max-width: 500px;
    margin: 20px 0;
    overflow: hidden;
    animation: slideInUp 0.5s ease;
}

.whatsapp-header {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.whatsapp-avatar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-small {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.contact-info h3 {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-info p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

.whatsapp-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    opacity: 0.9;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.whatsapp-messages {
    height: 400px;
    overflow-y: auto;
    padding: 20px;
    background: #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
    animation: messageSlide 0.3s ease;
}

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

.message.sent {
    background: #dcf8c6;
    align-self: flex-end;
    margin-left: auto;
}

.message.received {
    background: white;
    align-self: flex-start;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.message-time {
    font-size: 0.7rem;
    color: #666;
    margin-top: 4px;
    text-align: right;
}

.message.received .message-time {
    text-align: left;
}

.whatsapp-input {
    padding: 20px;
    background: white;
    border-top: 1px solid #e2e8f0;
}

/* Inputs básicos */
input[type="email"], 
input[type="password"], 
input[type="text"] {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    background: #f8fafc;
    transition: all 0.3s ease;
    margin-bottom: 8px;
    box-sizing: border-box;
}

input[type="email"]:focus, 
input[type="password"]:focus, 
input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

input[type="email"]::placeholder, 
input[type="password"]::placeholder, 
input[type="text"]::placeholder {
    color: #94a3b8;
    font-size: 1rem;
}

/* Contenedor de contraseña */
.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-container input {
    padding-right: 50px;
    margin-bottom: 0;
}

.password-toggle {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.password-toggle:hover {
    color: #667eea;
    background: #f1f5f9;
}

.send-btn {
    width: 45px;
    height: 45px;
    background: #25d366;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.send-btn:hover {
    background: #128c7e;
}

.input-note {
    font-size: 0.8rem;
    color: #718096;
    text-align: center;
    margin: 0;
}

.whatsapp-actions {
    padding: 20px;
    background: #f8fafc;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.whatsapp-actions .btn-primary,
.whatsapp-actions .btn-secondary {
    margin-top: 0;
    min-width: 140px;
}

/* Dashboard */
.dashboard-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 0;
    width: 100%;
    max-width: 800px;
    margin: 20px 0;
    animation: slideInUp 0.5s ease;
    overflow: hidden;
}

/* Barra de ganancias siempre visible */
.profit-bar {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 20px 20px 0 0;
}

.profit-bar-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
}

.profit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.profit-label {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profit-value {
    font-size: 1rem;
    font-weight: 700;
    color: #ffd700;
}

/* Sistema de pestañas */
.tabs-container {
    padding: 40px;
}

.tabs-header {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0;
}

.tab-button {
    background: none;
    border: none;
    padding: 12px 24px;
    border-radius: 12px 12px 0 0;
    font-size: 1rem;
    font-weight: 600;
    color: #718096;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    margin-bottom: -2px;
}

.tab-button:hover {
    color: #2d3748;
    background: #f7fafc;
}

.tab-button.active {
    color: #667eea;
    background: white;
    border-bottom: 2px solid #667eea;
}

.tab-button i {
    font-size: 0.9rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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


/* Carlos Avatar - Versión Reutilizable */
.carlos-avatar {
    width: 60px;
    height: 60px;
    position: relative;
    animation: bounce 2s infinite;
}

.carlos-face {
    width: 50px;
    height: 50px;
    background: #ffdbac;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border: 2px solid #667eea;
    z-index: 2;
}

.carlos-eyes {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carlos-eyes .eye {
    width: 6px;
    height: 6px;
    background: #2d3748;
    border-radius: 50%;
    animation: blink 3s infinite;
}

.carlos-smile {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 8px;
    border: 2px solid #2d3748;
    border-top: none;
    border-radius: 0 0 16px 16px;
}

.carlos-body {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #667eea;
    border-radius: 0 0 20px 20px;
    z-index: 1;
}

.carlos-shirt {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 20px;
    background: white;
    border-radius: 6px;
}

/* Carlos en el dashboard */
.carlos-dashboard {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 16px;
    padding: 20px;
    margin-top: 40px;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Header de métricas */
.metrics-header {
    text-align: center;
    margin-bottom: 24px;
}

.metrics-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}

.carlos-info {
    flex: 1;
}

.carlos-info h3 {
    margin: 0 0 4px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
}

.carlos-info p {
    margin: 0 0 8px 0;
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 500;
}

.carlos-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #48bb78;
    font-weight: 500;
}

.carlos-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #48bb78;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    font-size: 1.5rem;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 8px 0;
}

.stat-content p {
    font-size: 0.9rem;
    color: #718096;
    margin: 0;
    font-weight: 500;
}

/* Featured stat card (Ganancia) */
.stat-card-featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    border: none;
}

.stat-card-featured:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.stat-card-featured .stat-icon {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.stat-card-featured .stat-content h3 {
    color: white;
    font-size: 2rem;
}

.stat-card-featured .stat-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 600;
}

/* ROI Badge */
.roi-badge {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.roi-badge span {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffd700;
}

.roi-badge small {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.roi-section {
    margin-bottom: 40px;
}

.roi-card {
    background: linear-gradient(135deg, #f0fff4 0%, #e6fffa 100%);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #9ae6b4;
}

.roi-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 20px 0;
    text-align: center;
}

.roi-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.roi-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: white;
    border-radius: 8px;
    border: 1px solid #c6f6d5;
}

.roi-item.roi-total {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.roi-label {
    font-size: 1rem;
    font-weight: 500;
    color: #2d3748;
}

.roi-total .roi-label {
    color: white;
}

.roi-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
}

.roi-total .roi-value {
    color: white;
}

.dashboard-actions {
    text-align: center;
}

.dashboard-actions .btn-primary {
    margin-top: 0;
}

/* Login Card */
.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 450px;
    margin: 20px 0;
    animation: slideInUp 0.5s ease;
}


.password-toggle {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 2;
}

.password-toggle:hover {
    color: #667eea;
    background: #f7fafc;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0 24px 0;
    flex-wrap: wrap;
    gap: 12px;
}

/* Checkbox personalizado */
.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
}

.forgot-password {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Error Messages */
.error-message {
    color: #e53e3e;
    font-size: 0.85rem;
    margin-top: 4px;
    font-weight: 500;
}

.form-group input.error {
    border-color: #e53e3e;
    background: #fed7d7;
}

.form-group input.error:focus {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

/* Login Footer */
.login-footer {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.login-footer p {
    margin: 0;
    color: #718096;
    font-size: 0.9rem;
}

.register-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.register-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Loading Card */
.loading-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 60px 40px;
    width: 100%;
    max-width: 450px;
    margin: 20px 0;
    text-align: center;
    animation: slideInUp 0.5s ease;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.loading-spinner {
    position: relative;
    width: 60px;
    height: 60px;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.loading-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.loading-content p {
    font-size: 1rem;
    color: #718096;
    margin: 0;
}

/* Error Card */
.error-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 60px 40px;
    width: 100%;
    max-width: 450px;
    margin: 20px 0;
    text-align: center;
    animation: slideInUp 0.5s ease;
}

.error-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.error-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fed7d7 0%, #feb2b2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e53e3e;
    font-size: 2rem;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.error-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.error-content p {
    font-size: 1rem;
    color: #718096;
    margin: 0;
    line-height: 1.5;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 40px;
    color: white;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 16px;
    }
    
    .registration-card {
        padding: 24px;
        margin: 10px 0;
    }
    
    .card-header h1 {
        font-size: 1.8rem;
    }
    
    .logo {
        flex-direction: column;
        gap: 8px;
    }
    
    .logo span {
        font-size: 2rem;
    }
    
    .radio-group {
        gap: 8px;
    }
    
    .radio-option {
        padding: 12px;
    }
    
    .radio-content strong {
        font-size: 0.95rem;
    }
    
    .radio-content small {
        font-size: 0.8rem;
    }
    
    .confirmation-card {
        padding: 24px;
    }
    
    .confirmation-header h1 {
        font-size: 1.8rem;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .confirmation-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .confirmation-actions .btn-primary,
    .confirmation-actions .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
    
    .search-card {
        padding: 24px;
    }
    
    .avatar {
        width: 100px;
        height: 100px;
    }
    
    .avatar-face {
        width: 70px;
        height: 70px;
    }
    
    .avatar-name .name {
        font-size: 1.2rem;
    }
    
    .message-bubble {
        padding: 16px;
        max-width: 350px;
    }
    
    .search-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .search-actions .btn-primary,
    .search-actions .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
    
    .notification {
        right: 16px;
        max-width: 300px;
    }
    
    .whatsapp-card {
        max-width: 450px;
    }
    
    .whatsapp-messages {
        height: 350px;
    }
    
    .whatsapp-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .whatsapp-actions .btn-primary,
    .whatsapp-actions .btn-secondary {
        width: 100%;
        max-width: 250px;
    }
    
    .tabs-container {
        padding: 24px;
    }
    
    .tabs-header {
        margin-bottom: 20px;
    }
    
    .tab-button {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .profit-bar-content {
        max-width: 300px;
    }
    
    .profit-value {
        font-size: 0.9rem;
    }
    
    .profit-label {
        font-size: 0.65rem;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .stat-card {
        padding: 16px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .stat-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .registration-card {
        padding: 20px;
    }
    
    .card-header h1 {
        font-size: 1.6rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 14px 16px;
    }
    
    .btn-primary {
        padding: 16px 24px;
        font-size: 1rem;
    }
    
    .confirmation-card {
        padding: 20px;
    }
    
    .confirmation-header h1 {
        font-size: 1.6rem;
    }
    
    .success-icon i {
        font-size: 3rem;
    }
    
    .summary-item {
        padding: 12px;
    }
    
    .search-card {
        padding: 20px;
    }
    
    .avatar {
        width: 90px;
        height: 90px;
    }
    
    .avatar-face {
        width: 60px;
        height: 60px;
    }
    
    .avatar-eyes {
        top: 20px;
        gap: 8px;
    }
    
    .eye {
        width: 6px;
        height: 6px;
    }
    
    .avatar-smile {
        bottom: 15px;
        width: 16px;
        height: 8px;
    }
    
    .avatar-body {
        width: 50px;
        height: 40px;
    }
    
    .avatar-shirt {
        width: 35px;
        height: 25px;
    }
    
    .message-bubble {
        padding: 14px;
        max-width: 300px;
    }
    
    .message-bubble p {
        font-size: 0.9rem;
    }
    
    .search-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .notification {
        right: 10px;
        max-width: 280px;
    }
    
    .notification-content {
        padding: 12px;
    }
    
    .notification-text h4 {
        font-size: 0.9rem;
    }
    
    .notification-text p {
        font-size: 0.8rem;
    }
    
    .whatsapp-card {
        max-width: 400px;
    }
    
    .whatsapp-messages {
        height: 300px;
        padding: 16px;
    }
    
    .message {
        font-size: 0.85rem;
        padding: 10px 14px;
    }
    
    .whatsapp-header {
        padding: 16px;
    }
    
    .contact-info h3 {
        font-size: 1rem;
    }
    
    .whatsapp-input {
        padding: 16px;
    }
    
    .whatsapp-actions {
        padding: 16px;
    }
    
    .tabs-container {
        padding: 20px;
    }
    
    .tabs-header {
        margin-bottom: 16px;
        flex-direction: column;
        gap: 4px;
    }
    
    .tab-button {
        padding: 8px 12px;
        font-size: 0.85rem;
        border-radius: 8px;
        margin-bottom: 0;
    }
    
    .profit-bar {
        padding: 8px 16px;
    }
    
    .profit-bar-content {
        max-width: 250px;
    }
    
    .profit-value {
        font-size: 0.8rem;
    }
    
    .profit-label {
        font-size: 0.6rem;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat-card {
        padding: 12px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .stat-content h3 {
        font-size: 1.3rem;
    }
    
    .roi-card {
        padding: 16px;
    }
    
    .roi-item {
        padding: 8px 12px;
    }
    
    /* Login responsive */
    .login-card {
        padding: 20px;
        max-width: 400px;
    }
    
    .card-header h1 {
        font-size: 1.6rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .loading-card,
    .error-card {
        padding: 40px 20px;
        max-width: 400px;
    }
    
    .loading-content h2,
    .error-content h2 {
        font-size: 1.3rem;
    }
    
    .error-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
}

/* Calendar Styles */
.calendar-section {
    margin-bottom: 40px;
}

.calendar-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
    text-align: center;
}

.calendar-mockup {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.calendar-nav {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    color: #4a5568;
}

.calendar-nav:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.calendar-header h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.calendar-grid {
    margin-bottom: 24px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.calendar-weekdays div {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #718096;
    padding: 8px 4px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2d3748;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.calendar-day:hover {
    background: #f7fafc;
}

.calendar-day.today {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
}

.calendar-day.has-appointment::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #48bb78;
    border-radius: 50%;
}

.calendar-day.empty {
    cursor: default;
    color: transparent;
}

.calendar-day.empty:hover {
    background: transparent;
}

.appointments-list {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
}

.appointments-list h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 16px 0;
    text-align: center;
}

.appointment-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease;
}

.appointment-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.appointment-time {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    min-width: 70px;
    text-align: center;
}

.appointment-details {
    flex: 1;
}

.appointment-client {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 2px;
}

.appointment-service {
    font-size: 0.8rem;
    color: #718096;
}

.no-appointments {
    text-align: center;
    color: #a0aec0;
    font-style: italic;
    padding: 20px;
}

/* Responsive Calendar */
@media (max-width: 768px) {
    .calendar-mockup {
        padding: 16px;
    }
    
    .calendar-header h4 {
        font-size: 1.1rem;
    }
    
    .calendar-nav {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .calendar-day {
        font-size: 0.8rem;
    }
    
    .appointments-list {
        padding: 16px;
    }
    
    .appointment-item {
        padding: 10px;
    }
    
    .appointment-time {
        padding: 4px 8px;
        font-size: 0.8rem;
        min-width: 60px;
    }
    
    .appointment-client {
        font-size: 0.9rem;
    }
    
    .appointment-service {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .calendar-section h3 {
        font-size: 1.3rem;
    }
    
    .calendar-mockup {
        padding: 12px;
    }
    
    .calendar-header {
        margin-bottom: 16px;
    }
    
    .calendar-header h4 {
        font-size: 1rem;
    }
    
    .calendar-nav {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .calendar-weekdays div {
        font-size: 0.8rem;
        padding: 6px 2px;
    }
    
    .calendar-day {
        font-size: 0.75rem;
    }
    
    .appointments-list {
        padding: 12px;
    }
    
    .appointments-list h5 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .appointment-item {
        padding: 8px;
        gap: 8px;
    }
    
    .appointment-time {
        padding: 3px 6px;
        font-size: 0.75rem;
        min-width: 50px;
    }
    
    .appointment-client {
        font-size: 0.85rem;
    }
    
    .appointment-service {
        font-size: 0.7rem;
    }
}

/* Estilos para Registro de Negocio */
.business-registration-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 40px;
    padding: 30px;
    background: #f8fafc;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.form-section h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: white;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

/* Servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.service-checkbox {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-checkbox:hover {
    border-color: var(--primary-color);
    background: #f8fafc;
}

.service-checkbox input[type="checkbox"] {
    margin-right: 12px;
    transform: scale(1.2);
}

.service-name {
    flex: 1;
    font-weight: 500;
    color: #374151;
}

.service-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Servicios Personalizados */
.custom-services-container {
    margin-top: 20px;
}

.custom-service-item {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
}

.service-name-input,
.service-price-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
}

.remove-service-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.remove-service-btn:hover {
    background: #dc2626;
}

.add-service-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.add-service-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Horarios */
.schedule-container {
    display: grid;
    gap: 15px;
}

.schedule-day {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.schedule-day:hover {
    border-color: var(--primary-color);
}

.day-name {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: #374151;
}

.day-name input[type="checkbox"] {
    transform: scale(1.2);
}

.day-hours {
    display: flex;
    align-items: center;
    gap: 10px;
}

.time-input {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
}


/* Botones de Acción */
.form-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e5e7eb;
}

.btn-secondary {
    background: #6b7280;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-2px);
}

/* Responsive para Registro de Negocio */
@media (max-width: 768px) {
    .business-registration-card {
        padding: 20px;
        margin: 10px 0;
    }
    
    .form-section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .custom-service-item {
        flex-direction: column;
        align-items: stretch;
    }
    
    .schedule-day {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .day-hours {
        justify-content: center;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .map-container {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .business-registration-card {
        padding: 16px;
    }
    
    .form-section {
        padding: 16px;
        margin-bottom: 24px;
    }
    
    .form-section h3 {
        font-size: 1.1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .service-checkbox {
        padding: 12px;
    }
    
    .custom-service-item {
        padding: 12px;
    }
    
    .schedule-day {
        padding: 12px;
    }
    
}

/* Estilos para formulario de registro de usuario */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.checkbox-label span:last-child {
    line-height: 1.4;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: #667eea;
    border-color: #667eea;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.terms-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

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

.terms-text {
    color: #6b7280;
    font-size: 0.9rem;
    text-align: center;
    margin: 20px 0;
    line-height: 1.5;
}

/* Dashboard Styles - Professional Layout */
.app-container {
    display: flex;
    min-height: 100vh;
    background: #f8fafc;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: #1e293b;
    color: white;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid #334155;
}

.sidebar-header .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.sidebar-header .logo span {
    color: #667eea !important;
}

.sidebar-header .logo i {
    color: #3b82f6;
    font-size: 1.5rem;
}

.sidebar-header .logo span {
    color: #667eea !important;
    font-weight: 700;
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background: #334155;
    color: white;
}

.nav-item.logout-item {
    color: #f87171;
    border-left-color: transparent;
}

.nav-item.logout-item:hover {
    background: #7f1d1d;
    color: #fca5a5;
}

.sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #334155;
    margin-top: auto;
}

.sidebar-footer .user-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sidebar-footer .user-name {
    color: #cbd5e1;
    font-size: 0.875rem;
    font-weight: 500;
}

.sidebar-footer .user-role {
    color: #94a3b8;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-item.active {
    background: #1e40af;
    color: white;
    border-left-color: #3b82f6;
}

.nav-item i {
    width: 20px;
    text-align: center;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 250px;
    display: flex;
    flex-direction: column;
}

/* Top Bar */
.topbar {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-left h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.user-name {
    font-weight: 500;
    color: #374151;
    font-size: 0.9rem;
}

.user-role {
    font-size: 0.8rem;
    color: #6b7280;
}

.logout-btn {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.logout-btn:hover {
    background: #dc2626;
}

/* Dashboard Content */
.dashboard-content {
    padding: 2rem;
    flex: 1;
}

.welcome-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.welcome-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
}

.welcome-content p {
    color: #64748b;
    margin: 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.2s;
}

.stat-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    background: #3b82f6;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.stat-change {
    font-size: 0.8rem;
    font-weight: 500;
}

.stat-change.positive {
    color: #059669;
}

.stat-change.negative {
    color: #dc2626;
}

.stat-change.neutral {
    color: #6b7280;
}

/* Actions Grid */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.action-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.action-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.action-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    background: #3b82f6;
    flex-shrink: 0;
}

.action-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
}

.action-content p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .topbar {
        padding: 1rem;
    }
    
    .dashboard-content {
        padding: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
}

/* Registration Styles - Consistent with Dashboard */
.registration-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f8fafc;
}

.registration-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    padding: 2rem;
    width: 100%;
    max-width: 500px;
    margin-top: 2rem;
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.card-header h2 {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.card-header p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.registration-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.registration-form .form-group label {
    color: #374151;
    font-weight: 500;
    font-size: 0.9rem;
}

.registration-form .form-group input,
.registration-form .form-group select {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.2s;
    background: white;
}

.registration-form .form-group input:focus,
.registration-form .form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.registration-form .form-group input.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.registration-form .error-message {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.registration-form .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.registration-form .btn-primary:hover {
    background: #be185d;
}

.registration-form .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.registration-form .btn-secondary {
    background: #f8fafc;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.registration-form .btn-secondary:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.registration-form .terms-text {
    color: #64748b;
    font-size: 0.8rem;
    text-align: center;
    margin: 1rem 0;
    line-height: 1.5;
}

.registration-form .terms-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

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

.registration-form .login-link {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.registration-form .login-link p {
    color: #64748b;
    margin: 0 0 0.75rem 0;
    font-size: 0.9rem;
}

.registration-form .login-link button {
    background: none;
    border: none;
    color: #e91e63;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.9rem;
}

.registration-form .login-link button:hover {
    color: #be185d;
}

/* Login Styles - Consistent with Dashboard */
.login-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f8fafc;
}

.login-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.login-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.login-form .form-group label {
    color: #374151;
    font-weight: 500;
    font-size: 0.9rem;
}

.login-form .form-group input {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.2s;
    background: white;
}

.login-form .form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.login-form .form-group input.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.login-form .error-message {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #374151;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
}

.forgot-password {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.login-footer p {
    color: #64748b;
    margin: 0;
    font-size: 0.9rem;
}

.login-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Modals */
.loading-modal,
.error-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-content,
.error-content {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    max-width: 400px;
    margin: 1rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

.loading-content h3,
.error-content h3 {
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.loading-content p,
.error-content p {
    color: #64748b;
    margin: 0 0 1.5rem 0;
}

.error-icon {
    width: 60px;
    height: 60px;
    background: #fef2f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #ef4444;
    font-size: 1.5rem;
}

/* Dashboard Styles - Consistent Design */
.app-container {
    display: flex;
    min-height: 100vh;
    background: #f8fafc;
}

.sidebar {
    width: 250px;
    background: white;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    display: none;
}

.sidebar-overlay.open {
    display: block;
}

.mobile-menu-fab {
    position: fixed;
    top: 1rem;
    left: 1rem;
    width: 56px;
    height: 56px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
    z-index: 1000;
    display: block;
    transition: all 0.3s ease;
}

.mobile-menu-fab:hover {
    background: #be185d;
    transform: scale(1.1);
}

.mobile-close-btn {
    display: none;
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-fab {
        display: none;
    }
    
    .mobile-close-btn {
        display: none;
    }
}

@media (max-width: 767px) {
    .mobile-close-btn {
        display: block;
    }
    
    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

.logo span {
    color: #667eea !important;
}

.logo i {
    color: #667eea;
    font-size: 1.5rem;
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background: #fdf2f8;
    color: #be185d;
}

.nav-item.active {
    background: #f0f4ff;
    color: #667eea;
    border-left-color: #667eea;
}

.nav-item.logout-item {
    color: #ef4444;
    border-left-color: transparent;
}

.nav-item.logout-item:hover {
    background: #fef2f2;
    color: #dc2626;
}

.sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
}

.sidebar-footer .user-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sidebar-footer .user-name {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

.sidebar-footer .user-role {
    color: #94a3b8;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-item i {
    width: 20px;
    text-align: center;
}

.main-content {
    flex: 1;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.3s ease;
}

.topbar {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #e91e63;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .main-content {
        margin-left: 250px;
    }
    
    .sidebar {
        transform: translateX(0);
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .topbar {
        padding: 1rem 2rem;
        justify-content: flex-start;
    }
}

.topbar-left h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: #fdf2f8;
    border-radius: 6px;
    border: 1px solid #fce7f3;
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.user-details h4 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
}

.user-details p {
    margin: 0;
    font-size: 0.8rem;
    color: #64748b;
}

.dashboard-content {
    padding: 2rem;
    flex: 1;
}

.welcome-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.welcome-card h2 {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.welcome-card p {
    color: #64748b;
    margin: 0;
    font-size: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
}

.stat-icon.pink { background: #667eea; }
.stat-icon.rose { background: #764ba2; }
.stat-icon.purple { background: #a855f7; }
.stat-icon.orange { background: #f97316; }

.stat-content h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.stat-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.action-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
    cursor: pointer;
}

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

.action-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

.action-card p {
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.action-card .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.action-card .btn-primary:hover {
    background: #be185d;
}

/* Update existing button styles to match */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary:hover {
    background: #be185d;
}

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

/* Mobile Responsive Styles */
@media (max-width: 767px) {
    .sidebar {
        width: 280px;
    }
    
    .dashboard-content {
        padding: 1rem;
    }
    
    .welcome-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .welcome-card h2 {
        font-size: 1.25rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-content h3 {
        font-size: 1.25rem;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .action-card {
        padding: 1rem;
    }
    
.login-content,
.registration-content {
    padding: 1rem;
    min-height: 100vh;
}
    
    .login-card,
    .registration-card {
        padding: 1.5rem;
        margin-top: 1rem;
    }
    
    .registration-form .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .topbar-left h1 {
        font-size: 1.25rem;
    }
}

/* Términos y Condiciones */
.terms-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
}

.terms-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.terms-header h1 {
    color: #1f2937;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.last-updated {
    color: #6b7280;
    font-size: 0.9rem;
    font-style: italic;
}

.terms-content {
    line-height: 1.7;
    color: #374151;
}

.intro {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #1f2937;
    font-weight: 500;
}

.terms-section {
    margin-bottom: 30px;
}

.terms-section h2 {
    color: #1f2937;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.terms-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.terms-section li {
    margin-bottom: 10px;
    color: #4b5563;
}

.terms-section p {
    margin-bottom: 15px;
    color: #4b5563;
}

.contact-info {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    margin-top: 15px;
}

.contact-info a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Política de Privacidad */
.highlight-box {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    color: #92400e;
    font-weight: 500;
}

.highlight-box strong {
    color: #92400e;
}

/* Email Confirmation Card */
.email-confirmation-card {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.email-confirmation-content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.email-confirmation-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.email-confirmation-icon i {
    font-size: 2.5rem;
    color: white;
}

.email-confirmation-content h3 {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.email-confirmation-content p {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.email-confirmation-content p strong {
    color: #1f2937;
    font-weight: 600;
}

.email-confirmation-actions {
    margin-top: 32px;
}

/* Email Confirmation Page */
.email-confirmation-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: 40px 20px;
}

.confirmation-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    animation: pulse 2s infinite;
}

.confirmation-icon i {
    font-size: 4rem;
    color: white;
}

.confirmation-content h1 {
    color: #1f2937;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.confirmation-content p {
    color: #6b7280;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 12px;
    max-width: 600px;
}

.confirmation-actions {
    margin-top: 40px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Redirect Message */
.redirect-message {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
}

.redirect-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.redirect-message h2 {
    color: #1e293b;
    font-size: 1.8rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.redirect-message p {
    color: #64748b;
    font-size: 1.1rem;
    margin: 0;
}

/* Configuration Banner */
.config-banner {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    animation: pulse 2s infinite;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
}

.banner-icon {
    font-size: 2.5rem;
    opacity: 0.9;
}

.banner-text {
    flex: 1;
}

.banner-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.banner-text p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.banner-content .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.banner-content .btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Configuration Form Styles */
.config-content {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.config-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

.config-form {
    padding: 2.5rem;
}

.form-section {
    margin-bottom: 2.5rem;
    padding: 0;
}

.form-section:last-child {
    margin-bottom: 0;
}

.form-section h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.section-description {
    color: #64748b;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.services-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-item {
    background: #f8fafc;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.service-inputs {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 0.75rem;
    align-items: flex-start;
}

.service-inputs input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    background: white;
    transition: all 0.2s ease;
}

.service-inputs input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.btn-remove {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
}

.btn-remove:hover {
    background: #dc2626;
}

.btn-add-service {
    background: #667eea;
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    width: fit-content;
    align-self: flex-start;
}

.btn-add-service:hover {
    background: #5a67d8;
    transform: translateY(-1px);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.form-actions .btn-primary,
.form-actions .btn-secondary {
    min-width: 160px;
    height: 48px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Responsive Design for Configuration */
@media (max-width: 768px) {
    .config-content {
        padding: 1rem;
    }
    
    .config-form {
        padding: 1.5rem;
    }
    
    .form-section h3 {
        font-size: 1.25rem;
    }
    
    .service-inputs {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .btn-remove {
        align-self: flex-start;
        width: 100%;
        max-width: 120px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .form-actions .btn-primary,
    .form-actions .btn-secondary {
        width: 100%;
        min-width: auto;
    }
}

/* Terms and Privacy Pages Styles */
.terms-content {
    padding: 2rem;
    line-height: 1.6;
    color: #374151;
}

.terms-content .intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #4b5563;
    font-weight: 500;
}

.terms-content .terms-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.terms-content .terms-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.terms-content .terms-section h2 {
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.terms-content .terms-section ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

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

.terms-content .highlight-box {
    background: #f0f4ff;
    border: 1px solid #e0e7ff;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.terms-content .contact-info {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    margin: 1rem 0;
}

.terms-content .contact-info a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.terms-content .contact-info a:hover {
    text-decoration: underline;
}

.last-updated {
    color: #6b7280;
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 0;
}
