/**
 * Action Verb Plugin Styles
 */

.avp-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

.avp-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.avp-header h2 {
    margin: 0 0 1rem 0;
    font-size: 2.5rem;
    font-weight: 700;
}

.avp-progress-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.avp-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
}

.avp-step.active {
    background: white;
    color: #667eea;
    transform: scale(1.1);
}

.avp-step-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

.avp-step-content h3 {
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

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

.avp-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #4a5568;
}

.avp-form-group input,
.avp-form-group select,
.avp-form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

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

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

.avp-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

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

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

.avp-btn-secondary {
    background: #f7fafc;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

.avp-btn-secondary:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.avp-btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.avp-btn-outline:hover {
    background: #667eea;
    color: white;
}

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

.avp-action-verb-display {
    text-align: center;
    margin: 2rem 0;
}

.avp-action-verb {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.avp-new-verb-btn {
    background: #f59e0b;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.avp-new-verb-btn:hover {
    background: #d97706;
    transform: translateY(-1px);
}

.avp-reflection-area {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.avp-challenge-display {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #667eea;
}

.avp-challenge-display h4 {
    margin: 0 0 0.5rem 0;
    color: #2d3748;
}

.avp-action-verb-reflection {
    text-align: center;
    margin: 1.5rem 0;
}

.avp-action-verb-reflection h4 {
    font-size: 1.3rem;
    color: #4a5568;
}

.avp-timer-section {
    text-align: center;
    margin: 2rem 0;
}

.avp-timer {
    font-size: 4rem;
    font-weight: bold;
    color: #667eea;
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
}

.avp-timer-complete {
    background: #10b981;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-weight: 600;
}

.avp-timer-controls {
    margin: 1rem 0;
}

.avp-thoughts-section {
    margin: 2rem 0;
}

.avp-thoughts-section h4 {
    margin-bottom: 1rem;
    color: #2d3748;
    font-size: 1.3rem;
}

.avp-results-section {
    margin: 2rem 0;
}

.avp-final-challenge,
.avp-final-action-verb,
.avp-user-thoughts,
.avp-ai-results {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.avp-final-challenge h4,
.avp-final-action-verb h4,
.avp-user-thoughts h4,
.avp-ai-results h4 {
    margin: 0 0 1rem 0;
    color: #2d3748;
    font-size: 1.2rem;
}

.avp-ai-results {
    background: linear-gradient(135deg, #f0fff4 0%, #f0f9ff 100%);
    border: 1px solid #10b981;
}

.avp-final-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.avp-history-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.avp-history-section h3 {
    margin-bottom: 1.5rem;
    color: #2d3748;
}

.avp-history-item {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #667eea;
}

.avp-history-date {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.avp-history-challenge {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.avp-history-verb {
    color: #667eea;
    font-weight: bold;
    text-transform: uppercase;
}

.avp-dynamic-form {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.avp-dynamic-form h4 {
    margin-bottom: 1rem;
    color: #2d3748;
}

/* Loading animation */
.avp-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .avp-container {
        margin: 0 1rem;
    }
    
    .avp-header {
        padding: 1.5rem;
    }
    
    .avp-header h2 {
        font-size: 2rem;
    }
    
    .avp-step-content {
        padding: 1.5rem;
    }
    
    .avp-action-verb {
        font-size: 2rem;
    }
    
    .avp-timer {
        font-size: 3rem;
    }
    
    .avp-final-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .avp-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Print styles */
@media print {
    .avp-btn,
    .avp-timer-controls,
    .avp-new-verb-btn {
        display: none;
    }
}