/* Voetbal Mental Coach Frontend Styles */

/* Base Styles */
.vmcp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Grid Layouts */
.vmcp-grid {
    display: grid;
    gap: 20px;
}

.vmcp-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.vmcp-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.vmcp-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Card Components */
.vmcp-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecef;
    transition: all 0.3s ease;
}

.vmcp-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.vmcp-card h3 {
    margin: 0 0 16px 0;
    color: #2c3e50;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Button Styles */
.vmcp-btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
    line-height: 1.4;
}

.vmcp-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.vmcp-btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    color: white;
    transform: translateY(-1px);
}

.vmcp-btn-secondary {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

.vmcp-btn-secondary:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

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

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

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

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

.vmcp-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Form Styles */
.vmcp-form-group {
    margin-bottom: 20px;
}

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

.vmcp-form-group input,
.vmcp-form-group select,
.vmcp-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.vmcp-form-group input:focus,
.vmcp-form-group select:focus,
.vmcp-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.vmcp-form-row {
    display: flex;
    gap: 16px;
}

.vmcp-form-half {
    flex: 1;
}

/* Alert Messages */
.vmcp-success {
    background: #d4edda;
    color: #155724;
    padding: 16px;
    border-radius: 8px;
    margin: 16px 0;
    border: 1px solid #c3e6cb;
}

.vmcp-error {
    background: #f8d7da;
    color: #721c24;
    padding: 16px;
    border-radius: 8px;
    margin: 16px 0;
    border: 1px solid #f5c6cb;
}

.vmcp-warning {
    background: #fff3cd;
    color: #856404;
    padding: 16px;
    border-radius: 8px;
    margin: 16px 0;
    border: 1px solid #ffeaa7;
}

.vmcp-info {
    background: #d1ecf1;
    color: #0c5460;
    padding: 16px;
    border-radius: 8px;
    margin: 16px 0;
    border: 1px solid #bee5eb;
}

/* Dashboard Styles */
.vmcp-dashboard {
    padding: 0;
}

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

.vmcp-header h1 {
    color: #2c3e50;
    margin: 0 0 8px 0;
    font-size: 2.5rem;
    font-weight: 700;
}

.vmcp-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0;
}

.vmcp-subscription-notice {
    background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
    border: none;
    text-align: center;
    margin-bottom: 30px;
}

.vmcp-subscription-notice h3 {
    color: #2d3436;
    margin-bottom: 12px;
}

/* Stats Grid */
.vmcp-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.vmcp-stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    border: none;
}

.vmcp-stat-card h3 {
    color: white;
    margin: 0 0 12px 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.vmcp-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 8px 0;
    line-height: 1;
}

.vmcp-stat-card p {
    margin: 8px 0 0 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Chat Interface */
.vmcp-chat-interface {
    max-width: 900px;
    margin: 0 auto;
}

.vmcp-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.vmcp-chat-header h2 {
    margin: 0;
    color: #2c3e50;
}

.vmcp-chat-controls {
    display: flex;
    gap: 12px;
    align-items: center;
}

.vmcp-chat-controls select {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    min-width: 200px;
}

.vmcp-chat-container {
    height: 600px;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.vmcp-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
}

.vmcp-message {
    margin-bottom: 16px;
    padding: 16px;
    border-radius: 12px;
    max-width: 80%;
    line-height: 1.6;
}

.vmcp-message.user {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.vmcp-message.assistant {
    background: white;
    border: 1px solid #e8ecef;
    color: #2c3e50;
    border-bottom-left-radius: 4px;
}

.vmcp-message.system {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    text-align: center;
}

.vmcp-welcome-message {
    text-align: center;
    margin-bottom: 20px;
}

.vmcp-welcome-message ul {
    text-align: left;
    max-width: 400px;
    margin: 16px auto;
}

.vmcp-chat-input {
    padding: 20px;
    border-top: 1px solid #e8ecef;
    background: white;
}

.vmcp-input-group {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.vmcp-input-group textarea {
    flex: 1;
    resize: vertical;
    min-height: 44px;
    max-height: 120px;
}

.vmcp-chat-suggestions {
    margin-top: 20px;
    text-align: center;
}

.vmcp-chat-suggestions h4 {
    color: #6c757d;
    margin-bottom: 16px;
}

.vmcp-suggestion-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.vmcp-suggestion {
    background: white;
    border: 1px solid #dee2e6;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.vmcp-suggestion:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Progress Indicator */
.vmcp-loading-message {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #667eea;
    position: relative;
    overflow: hidden;
}

.vmcp-loading-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.vmcp-loading-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.vmcp-coach-avatar {
    font-size: 2rem;
    line-height: 1;
}

.vmcp-loading-text {
    flex: 1;
}

.vmcp-progress-status {
    font-weight: 600;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.vmcp-progress-bar {
    width: 100%;
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

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

.vmcp-progress-steps {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
}

.vmcp-progress-steps .step {
    color: #6c757d;
    position: relative;
    padding-left: 1.5rem;
    opacity: 0.5;
}

.vmcp-progress-steps .step::before {
    content: '○';
    position: absolute;
    left: 0;
    color: #dee2e6;
}

.vmcp-progress-steps .step.active {
    color: #667eea;
    font-weight: 600;
    opacity: 1;
}

.vmcp-progress-steps .step.active::before {
    content: '◐';
    color: #667eea;
    animation: spin 1s infinite;
}

.vmcp-progress-steps .step.completed {
    color: #28a745;
    opacity: 1;
}

.vmcp-progress-steps .step.completed::before {
    content: '●';
    color: #28a745;
}

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

/* Success state styling */
.vmcp-loading-message.vmcp-success {
    border-color: #28a745;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
}

.vmcp-loading-message.vmcp-success .vmcp-progress-status {
    color: #28a745;
}

.vmcp-loading-message.vmcp-success .vmcp-progress-fill {
    background: linear-gradient(90deg, #28a745, #20c997);
}

/* Conversation Controls */
.vmcp-select {
    padding: 12px 16px;
    border: 2px solid #e8ecef;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    color: #2c3e50;
    transition: all 0.3s ease;
    max-width: 100%;
    min-width: 200px;
}

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

.vmcp-select option {
    padding: 8px;
    background: white;
    color: #2c3e50;
}

/* Typewriter Effect */
.vmcp-typing .vmcp-cursor {
    color: #667eea;
    font-weight: bold;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.vmcp-typewriter-content {
    display: inline;
}

/* Message Formatting */
.vmcp-message-header {
    color: #667eea;
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.vmcp-message-list {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.vmcp-message-list li {
    margin-bottom: 0.25rem;
    line-height: 1.5;
}

.vmcp-message p {
    margin: 0 0 0.75rem 0;
    line-height: 1.6;
}

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

.vmcp-message strong {
    color: #2c3e50;
    font-weight: 600;
}

.vmcp-message em {
    font-style: italic;
    color: #495057;
}

/* Pricing Table */
.vmcp-pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin: 40px 0;
}

.vmcp-pricing-card {
    background: white;
    border: 2px solid #e8ecef;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.vmcp-pricing-card.featured {
    border-color: #667eea;
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2);
}

.vmcp-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vmcp-price {
    font-size: 3.5rem;
    font-weight: 800;
    color: #667eea;
    margin: 20px 0;
    line-height: 1;
}

.vmcp-period {
    font-size: 1rem;
    font-weight: 400;
    color: #6c757d;
}

.vmcp-trial-notice {
    background: #d4edda;
    color: #155724;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin: 16px 0;
}

.vmcp-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    text-align: left;
}

.vmcp-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f8f9fa;
    position: relative;
    padding-left: 24px;
}

.vmcp-features li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.vmcp-features li.highlight {
    color: #667eea;
    font-weight: 600;
}

.vmcp-payment-methods {
    margin: 24px 0;
}

.vmcp-payment-methods h4 {
    margin-bottom: 16px;
    color: #2c3e50;
}

.vmcp-payment-btn {
    display: block;
    width: 100%;
    margin: 12px 0;
    padding: 16px;
    text-align: left;
    position: relative;
}

.vmcp-payment-btn img {
    height: 20px;
    margin-right: 12px;
    vertical-align: middle;
}

.vmcp-payment-btn small {
    display: block;
    margin-top: 4px;
    opacity: 0.8;
}

.vmcp-guarantee {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e8ecef;
}

.vmcp-guarantee p {
    margin: 4px 0;
    color: #28a745;
    font-size: 14px;
}

/* Testimonials */
.vmcp-testimonials {
    margin: 60px 0;
    text-align: center;
}

.vmcp-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.vmcp-testimonial {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.vmcp-testimonial blockquote {
    font-style: italic;
    margin: 0 0 16px 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2c3e50;
}

.vmcp-testimonial cite {
    color: #6c757d;
    font-size: 14px;
}

/* FAQ */
.vmcp-faq {
    margin: 60px 0;
}

.vmcp-faq h3 {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
}

.vmcp-faq-item {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.vmcp-faq-item h4 {
    color: #2c3e50;
    margin: 0 0 12px 0;
}

.vmcp-faq-item p {
    margin: 0;
    color: #6c757d;
    line-height: 1.6;
}


/* Quick Actions */
.vmcp-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Mood Selector */
.vmcp-mood-selector {
    position: relative;
}

.vmcp-mood-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: #6c757d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .vmcp-container {
        padding: 16px;
    }
    
    .vmcp-chat-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .vmcp-chat-controls {
        flex-direction: column;
        width: 100%;
    }
    
    .vmcp-chat-controls select {
        width: 100%;
    }
    
    .vmcp-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 16px;
    }
    
    .vmcp-stat-number {
        font-size: 2rem;
    }
    
    .vmcp-input-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .vmcp-suggestion-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .vmcp-suggestion {
        width: 100%;
        max-width: 300px;
    }
    
    .vmcp-pricing-table {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .vmcp-pricing-card.featured {
        transform: none;
    }
    
    .vmcp-form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .vmcp-header h1 {
        font-size: 2rem;
    }
    
    .vmcp-price {
        font-size: 2.5rem;
    }
    
    
    .vmcp-chat-container {
        height: 500px;
    }
}