/* File: assets/meditation-tracker.css */

.meditation-tracker {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Mensagens fixas de feedback */
.mt-messages-fixed {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.mt-message-fixed {
    background: white;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #007cba;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.mt-message-fixed.success {
    border-left-color: #46b450;
    background: #f0f9ff;
}

.mt-message-fixed.error {
    border-left-color: #dc3232;
    background: #fef2f2;
}

.mt-message-fixed.info {
    border-left-color: #00a0d2;
    background: #f0f9ff;
}

.mt-message-text {
    flex: 1;
    font-weight: 500;
}

.mt-message-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #666;
    margin-left: 10px;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mt-message-close:hover {
    color: #333;
}

.meditation-tracker-login-notice {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.meditation-tracker-login-notice p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #6c757d;
}

/* Estatísticas */
.mt-stats {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.mt-stats h3 {
    margin: 0 0 20px 0;
    text-align: center;
    font-size: 24px;
    font-weight: 300;
}

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

.mt-stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.mt-stat-number {
    display: block;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 5px;
}

.mt-stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* Seleção de tipo de meditação */
.mt-type-selection {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.mt-type-selection h3 {
    margin: 0 0 25px 0;
    color: #333;
    font-size: 22px;
    text-align: center;
}

.mt-type-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.mt-type-btn {
    padding: 25px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mt-type-btn:hover,
.mt-type-btn.active {
    border-color: #667eea;
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(102, 126, 234, 0.15);
}

.mt-type-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.mt-type-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.mt-type-desc {
    font-size: 14px;
    color: #666;
}

/* Seções de meditação */
.mt-meditation-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    display: none;
}

.mt-meditation-section.active {
    display: block;
}

.mt-meditation-section h3 {
    margin: 0 0 25px 0;
    color: #333;
    font-size: 22px;
}

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

.mt-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

/* Botões de duração */
.mt-duration-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.mt-duration-btn {
    padding: 12px 24px;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mt-duration-btn:hover,
.mt-duration-btn.active {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Seletor e inputs */
#mt-mantra-select,
#mt-manual-duration,
#mt-manual-date,
#mt-custom-day,
#mt-notes {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

#mt-mantra-select:focus,
#mt-manual-duration:focus,
#mt-manual-date:focus,
#mt-custom-day:focus,
#mt-notes:focus {
    outline: none;
    border-color: #667eea;
}

/* Player de áudio */
#mt-audio-player {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

#mt-audio {
    width: 100%;
    margin-bottom: 10px;
}

/* Seletor de som de alerta */
.mt-alert-sound-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.mt-alert-sound-section h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mt-alert-sound-section h4::before {
    content: '🔔';
    font-size: 18px;
}

#mt-alert-sound-select {
    width: 100%;
    padding: 10px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 10px;
    transition: border-color 0.3s ease;
}

#mt-alert-sound-select:focus {
    outline: none;
    border-color: #667eea;
}

#mt-custom-alert-url {
    width: 100%;
    padding: 10px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 10px;
    display: none;
    transition: border-color 0.3s ease;
}

#mt-custom-alert-url:focus {
    outline: none;
    border-color: #667eea;
}

#mt-alert-audio-player {
    background: white;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    display: none;
}

#mt-alert-audio {
    width: 100%;
    margin-bottom: 8px;
}

#mt-test-alert {
    background: #667eea;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#mt-test-alert:hover {
    background: #5a6fd8;
}

/* Cronômetro */
.mt-timer-section {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 20px 0;
}

#mt-timer-display {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    font-family: 'Courier New', monospace;
}

.mt-timer-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Botões */
.mt-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.mt-btn-primary {
    background: #667eea;
    color: white;
}

.mt-btn-primary:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.mt-btn-secondary {
    background: #6c757d;
    color: white;
}

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

.mt-btn-danger {
    background: #dc3545;
    color: white;
}

.mt-btn-danger:hover {
    background: #c82333;
}

.mt-btn-warning {
    background: #ffc107;
    color: #212529;
}

.mt-btn-warning:hover {
    background: #e0a800;
}

.mt-btn-success {
    background: #28a745;
    color: white;
}

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

/* Seção manual */
.mt-manual-section {
    border-top: 1px solid #e9ecef;
    padding-top: 25px;
    margin-top: 25px;
}

.mt-manual-section h4 {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 18px;
}

/* Opções de jornada */
.mt-journey-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.mt-journey-btn {
    padding: 8px 16px;
    border: 1px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.mt-journey-btn:hover,
.mt-journey-btn.active {
    background: #667eea;
    color: white;
}

#mt-custom-day {
    width: 150px;
    margin: 0;
}

/* Histórico */
.mt-history-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mt-history-section h3 {
    margin: 0 0 25px 0;
    color: #333;
    font-size: 22px;
}

.mt-session-item {
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #f8f9fa;
}

.mt-session-date {
    font-weight: 600;
    color: #667eea;
    margin-bottom: 8px;
}

.mt-session-details {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.mt-session-duration,
.mt-session-mantra,
.mt-session-day {
    background: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    border: 1px solid #e9ecef;
}

.mt-session-notes {
    font-style: italic;
    color: #666;
    font-size: 14px;
}

.mt-no-sessions {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 40px;
}

/* Mensagens */
.mt-messages {
    margin-top: 20px;
}

.mt-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.mt-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mt-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.mt-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Mensagens fixas no topo */
.mt-messages-fixed {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    pointer-events: none;
}

.mt-message-fixed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    pointer-events: auto;
    font-weight: 500;
    font-size: 14px;
}

.mt-message-fixed.success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.95), rgba(25, 135, 84, 0.95));
    color: white;
}

.mt-message-fixed.error {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.95), rgba(176, 42, 55, 0.95));
    color: white;
}

.mt-message-fixed.info {
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.95), rgba(11, 172, 204, 0.95));
    color: white;
}

.mt-message-text {
    flex: 1;
    margin-right: 12px;
}

.mt-message-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.mt-message-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Estilos para área administrativa */
.mt-admin-section {
    background: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mt-admin-section h2 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.mt-admin-section h3 {
    color: #555;
    margin-top: 30px;
}

/* Configuração de som de alerta ativo */
.mt-alert-config {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    margin-bottom: 30px;
}

.mt-alert-config h3 {
    margin-top: 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mt-alert-config h3::before {
    content: '🔊';
    font-size: 20px;
}

.mt-alert-config .description {
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
}

#test_current_alert {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#test_current_alert:hover {
    background: #218838;
}

/* Responsivo */
@media (max-width: 768px) {
    .meditation-tracker {
        padding: 15px;
    }
    
    .mt-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #mt-timer-display {
        font-size: 36px;
    }
    
    .mt-duration-buttons,
    .mt-timer-controls,
    .mt-journey-options {
        justify-content: center;
    }
    
    .mt-session-details {
        flex-direction: column;
        gap: 8px;
    }

    .mt-type-buttons {
        grid-template-columns: 1fr;
    }

    .mt-nps-scale {
        gap: 5px;
    }

    .mt-nps-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .mt-modal-actions {
        flex-direction: column;
    }

    /* Mensagens fixas em mobile */
    .mt-messages-fixed {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .mt-message-fixed {
        font-size: 13px;
        padding: 12px 16px;
    }
}

/* Modal NPS */
.mt-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.mt-modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.mt-modal-content h3 {
    margin: 0 0 25px 0;
    color: #333;
    text-align: center;
    font-size: 24px;
}

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

.mt-modal-content label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.mt-modal-content textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    min-height: 100px;
    box-sizing: border-box;
}

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

.mt-nps-scale {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 15px 0;
    flex-wrap: wrap;
}

.mt-nps-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.mt-nps-btn:hover,
.mt-nps-btn.selected {
    background: #667eea;
    border-color: #667eea;
    color: white;
    transform: scale(1.1);
}

.mt-nps-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

.mt-modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.mt-modal-actions .mt-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.mt-btn-primary {
    background: #667eea;
    color: white;
}

.mt-btn-primary:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.mt-btn-secondary {
    background: #6c757d;
    color: white;
}

.mt-btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.mt-nps-btn.selected {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

/* Estilos para captação de leads */
.meditation-tracker.lead-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

/* Header atrativo */
.mt-lead-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.mt-lead-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.mt-lead-icon {
    font-size: 48px;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

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

.mt-lead-header h1 {
    margin: 0 0 15px 0;
    font-size: 28px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.mt-lead-subtitle {
    margin: 0;
    opacity: 0.95;
    font-size: 16px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* Card do formulário */
.mt-lead-form-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
}

.mt-form-step {
    position: relative;
}

.mt-step-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.mt-step-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 12px;
    font-size: 14px;
}

.mt-step-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.mt-form-group {
    margin-bottom: 25px;
}

.mt-form-group label {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.mt-label-icon {
    margin-right: 8px;
    font-size: 16px;
}

/* Input wrapper para prefixo */
.mt-input-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.mt-input-wrapper:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.mt-input-prefix {
    background: #f8f9fa;
    padding: 12px 15px;
    color: #666;
    font-weight: 600;
    border-right: 1px solid #e1e5e9;
    font-size: 16px;
}

.mt-form-group input,
.mt-form-group textarea,
.mt-form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: white;
}

.mt-input-wrapper input {
    border: none;
    border-radius: 0;
    flex: 1;
}

.mt-input-wrapper input:focus {
    outline: none;
    box-shadow: none;
}

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

.mt-form-group input.error,
.mt-form-group textarea.error,
.mt-form-group select.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
    animation: shake 0.5s ease-in-out;
}

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

.field-error {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    animation: slideDown 0.3s ease-out;
}

.field-error::before {
    content: "⚠️";
    margin-right: 5px;
}

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

/* Elementos de ajuda */
.mt-input-help {
    display: flex;
    align-items: center;
    margin-top: 8px;
    color: #666;
    font-size: 14px;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.mt-help-icon {
    margin-right: 6px;
}

.mt-privacy-notice {
    display: flex;
    align-items: center;
    background: #e8f5e8;
    padding: 12px 15px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 3px solid #28a745;
}

.mt-privacy-icon {
    margin-right: 8px;
    font-size: 16px;
}

.mt-privacy-notice small {
    color: #155724;
    font-size: 14px;
    margin: 0;
}

/* Botões melhorados */
.mt-button-large {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.mt-button-large:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.mt-button-icon {
    font-size: 18px;
}

.mt-button-text {
    flex: 1;
}

/* Card de usuário existente */
.mt-existing-user-card {
    background: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    overflow: hidden;
}

.mt-existing-user-content {
    padding: 40px 30px;
    text-align: center;
    background: linear-gradient(135deg, #e8f5e8 0%, #f8fff8 100%);
}

.mt-existing-user-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

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

.mt-existing-user-content h3 {
    margin: 0 0 15px 0;
    color: #155724;
    font-size: 24px;
    font-weight: 700;
}

.mt-existing-user-content p {
    margin: 0 0 10px 0;
    color: #155724;
    font-size: 16px;
    line-height: 1.5;
}

.mt-existing-user-subtitle {
    font-weight: 600;
    margin-bottom: 25px !important;
}

.mt-existing-user-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

.mt-existing-user-actions .mt-button {
    justify-content: center;
}

.mt-button-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mt-button-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.mt-lead-welcome {
    text-align: center;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.mt-lead-welcome h3 {
    margin: 0 0 5px 0;
    color: #28a745;
}

.mt-lead-welcome p {
    margin: 0;
    color: #666;
}

.mt-stats-summary {
    background: #e8f5e8;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

.mt-stats-summary p {
    margin: 0;
    color: #155724;
}

.mt-sessions-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
}

.lead-form .mt-session-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f1f3f4;
    background: white;
    margin-bottom: 0;
    border-radius: 0;
}

.lead-form .mt-session-item:last-child {
    border-bottom: none;
}

.lead-form .mt-session-date {
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
}

.lead-form .mt-session-details {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

.mt-session-duration {
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.mt-session-day {
    background: #f3e5f5;
    color: #7b1fa2;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.mt-session-mantra {
    background: #e8f5e8;
    color: #388e3c;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}

/* Estados do botão */
.mt-button.loading {
    position: relative;
    color: transparent;
}

.mt-button.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Melhorias visuais gerais */
.mt-button {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mt-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mt-button:active {
    transform: translateY(0);
}

.mt-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Animações de transição */
.mt-section {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mt-section.fade-in {
    animation: fadeIn 0.5s ease-out;
}

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

/* Responsividade para leads */
@media (max-width: 768px) {
    .meditation-tracker.lead-form {
        margin: 0 10px;
        padding: 10px;
    }

    .mt-lead-header {
        padding: 20px 15px;
        margin-bottom: 25px;
    }

    .mt-lead-header h1 {
        font-size: 22px;
    }

    .mt-lead-subtitle {
        font-size: 14px;
    }

    .mt-lead-form-card {
        padding: 20px;
    }

    .mt-step-indicator {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .mt-step-number {
        margin-right: 0;
    }

    .mt-existing-user-content {
        padding: 30px 20px;
    }

    .mt-existing-user-icon {
        font-size: 48px;
    }

    .mt-existing-user-content h3 {
        font-size: 20px;
    }

    .mt-input-wrapper {
        flex-direction: column;
    }

    .mt-input-prefix {
        border-right: none;
        border-bottom: 1px solid #e1e5e9;
        text-align: center;
    }
}

/* Seção de introdução com headline e vídeo */
.mt-intro-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    text-align: center;
}

.mt-headline {
    margin: 0 0 25px 0;
    color: #333;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}

.mt-video-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .mt-intro-section {
        padding: 20px;
    }
    
    .mt-headline {
        font-size: 22px;
        margin-bottom: 20px;
    }
}
