/**
 * OpMatch AI Resume Analyzer - Main Styles
 * Theme Colors: Blue (#0066CC, #003D7A) and Sky Blue (#38BDF8, #7DD3FC)
 */

/* Import Kanit font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&display=swap');

:root {
    --opmatch-primary: #0066CC;
    --opmatch-primary-dark: #003D7A;
    --opmatch-secondary: #38BDF8;
    --opmatch-secondary-light: #7DD3FC;
    --opmatch-text: #1F2937;
    --opmatch-text-light: #6B7280;
    --opmatch-bg: #FFFFFF;
    --opmatch-bg-light: #F9FAFB;
    --opmatch-border: #E5E7EB;
    --opmatch-success: #10B981;
    --opmatch-error: #EF4444;
    --opmatch-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --opmatch-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Container */
#opmatch-ai-app {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: 'Kanit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Typography */
.opmatch-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--opmatch-text);
    margin-bottom: 0.5rem;
    text-align: center;
}

.opmatch-subtitle {
    font-size: 1.125rem;
    color: var(--opmatch-text-light);
    text-align: center;
    margin-bottom: 2rem;
}

/* Role Selector */
.opmatch-role-selector {
    animation: fadeIn 0.3s ease-in;
}

/* Info Section */
.opmatch-info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.opmatch-info-card {
    background: var(--opmatch-bg-light);
    border: 2px solid var(--opmatch-border);
    border-radius: 1rem;
    padding: 1.5rem;
}

.opmatch-info-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--opmatch-text);
    margin-bottom: 1rem;
}

.opmatch-info-card ol {
    margin-left: 1.5rem;
    color: var(--opmatch-text);
    line-height: 1.8;
}

.opmatch-info-card ol li {
    margin-bottom: 0.5rem;
}

.opmatch-info-card p {
    color: var(--opmatch-text);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.opmatch-info-card p strong {
    color: var(--opmatch-primary);
}

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

.opmatch-role-card {
    position: relative;
    background: var(--opmatch-bg);
    border: 3px solid var(--opmatch-border);
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 7/5;
}

.opmatch-role-card:hover {
    border-color: var(--opmatch-primary);
    box-shadow: var(--opmatch-shadow-lg);
    transform: translateY(-4px);
}

.opmatch-role-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.opmatch-role-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem 1.5rem 1.5rem;
    color: white;
}

.opmatch-role-overlay h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.opmatch-role-overlay p {
    font-size: 0.95rem;
    opacity: 0.95;
    line-height: 1.5;
}

/* Analyzer */
.opmatch-analyzer {
    animation: fadeIn 0.3s ease-in;
}

.opmatch-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--opmatch-primary);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem 0;
    margin-bottom: 1.5rem;
    transition: color 0.2s;
}

.opmatch-back-btn:hover {
    color: var(--opmatch-primary-dark);
}

.opmatch-back-btn svg {
    stroke-width: 2;
}

/* Quota Display */
.opmatch-quota-display {
    background: linear-gradient(135deg, var(--opmatch-primary), var(--opmatch-secondary));
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.opmatch-quota-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.opmatch-quota-buy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.opmatch-quota-buy-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.opmatch-quota-buy-btn svg {
    flex-shrink: 0;
}

.opmatch-quota-info {
    text-align: center;
    color: white;
}

.opmatch-quota-label {
    display: block;
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.opmatch-quota-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Form */
.opmatch-form-group {
    margin-bottom: 1.5rem;
}

.opmatch-form-group label {
    display: block;
    font-weight: 600;
    color: var(--opmatch-text);
    margin-bottom: 0.5rem;
}

.opmatch-optional {
    font-weight: 400;
    font-size: 0.875rem;
    color: var(--opmatch-text-light);
    font-style: italic;
}

.opmatch-input,
.opmatch-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--opmatch-border);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: 'Kanit', sans-serif;
    transition: border-color 0.2s;
}

.opmatch-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.opmatch-input:focus,
.opmatch-textarea:focus {
    outline: none;
    border-color: var(--opmatch-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.opmatch-field-hint {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--opmatch-text-light);
    line-height: 1.5;
}

/* Upload Area */
.opmatch-upload-area {
    margin-bottom: 2rem;
}

.opmatch-upload-label {
    display: block;
    background: var(--opmatch-bg-light);
    border: 2px dashed var(--opmatch-border);
    border-radius: 1rem;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.opmatch-upload-label:hover {
    border-color: var(--opmatch-primary);
    background: white;
}

.opmatch-upload-label svg {
    color: var(--opmatch-primary);
    margin-bottom: 1rem;
    stroke-width: 2;
}

.opmatch-upload-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--opmatch-text);
    margin-bottom: 0.5rem;
}

.opmatch-upload-hint {
    font-size: 0.875rem;
    color: var(--opmatch-text-light);
}

/* Buttons */
.opmatch-analyze-btn,
.opmatch-analyze-again-btn,
.opmatch-upgrade-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--opmatch-primary), var(--opmatch-secondary));
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--opmatch-shadow);
}

.opmatch-analyze-btn:hover,
.opmatch-analyze-again-btn:hover,
.opmatch-upgrade-btn:hover {
    box-shadow: var(--opmatch-shadow-lg);
    transform: translateY(-2px);
}

.opmatch-analyze-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Loading */
.opmatch-loading {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--opmatch-bg-light);
    border-radius: 1rem;
    margin-top: 2rem;
}

.opmatch-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--opmatch-border);
    border-top-color: var(--opmatch-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.opmatch-loading p {
    font-size: 1.125rem;
    color: var(--opmatch-text);
    margin-bottom: 0.5rem;
}

.opmatch-loading-hint {
    font-size: 0.875rem;
    color: var(--opmatch-text-light);
}

/* Result */
.opmatch-result {
    margin-top: 2rem;
    animation: fadeIn 0.5s ease-in;
}

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

.opmatch-result-header svg {
    color: var(--opmatch-success);
    margin-bottom: 1rem;
    stroke-width: 2;
}

.opmatch-result-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--opmatch-text);
}

.opmatch-result-content {
    background: white;
    border: 2px solid var(--opmatch-border);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: var(--opmatch-text);
}

.opmatch-result-content p {
    margin-bottom: 1rem;
}

.opmatch-result-content strong {
    color: var(--opmatch-primary);
    font-weight: 600;
}

/* Analysis Sections */
.opmatch-analysis-section {
    background: var(--opmatch-bg-light);
    border-left: 4px solid var(--opmatch-primary);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.opmatch-analysis-section:hover {
    box-shadow: var(--opmatch-shadow);
    transform: translateX(4px);
}

.opmatch-analysis-header {
    margin-bottom: 0.75rem;
}

.opmatch-analysis-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--opmatch-primary);
    display: inline;
    margin-right: 0.5rem;
}

.opmatch-analysis-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--opmatch-text);
    margin: 0;
    line-height: 1.5;
    display: inline;
}

.opmatch-analysis-content {
    padding-left: 0;
    margin-top: 0.75rem;
}

.opmatch-analysis-paragraph {
    color: var(--opmatch-text);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.opmatch-analysis-intro {
    background: white;
    border: 2px solid var(--opmatch-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.opmatch-analysis-intro .opmatch-analysis-paragraph {
    margin-bottom: 0.5rem;
}

/* Modal */
.opmatch-modal-overlay {
    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: 9999;
    animation: fadeIn 0.2s ease-in;
}

.opmatch-modal {
    background: white;
    border-radius: 1rem;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--opmatch-shadow-lg);
    animation: slideUp 0.3s ease-out;
}

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

.opmatch-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--opmatch-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.opmatch-modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--opmatch-text);
}

.opmatch-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--opmatch-text-light);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    transition: background 0.2s;
}

.opmatch-modal-close:hover {
    background: var(--opmatch-bg-light);
}

.opmatch-modal-body {
    padding: 2rem 1.5rem;
    text-align: center;
}

.opmatch-modal-body p {
    color: var(--opmatch-text-light);
    margin-bottom: 1.5rem;
}

/* Modal button styles */
.opmatch-modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.opmatch-modal-buttons .opmatch-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.opmatch-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.opmatch-btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.opmatch-btn-secondary:hover {
    background: #f7fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

/* Persistent Quota Widget */
.opmatch-quota-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    font-family: 'Kanit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.opmatch-quota-widget-toggle {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--opmatch-primary) 0%, var(--opmatch-primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
    color: white;
    margin-left: auto;
}

.opmatch-quota-widget-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.4);
}

.opmatch-quota-widget-toggle svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.opmatch-quota-widget-content {
    position: absolute;
    bottom: 70px;
    left: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--opmatch-border);
}

.opmatch-quota-widget.expanded .opmatch-quota-widget-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.opmatch-quota-widget-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--opmatch-border);
}

.opmatch-quota-widget-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.opmatch-quota-widget-label {
    font-size: 0.875rem;
    color: var(--opmatch-text-light);
    font-weight: 400;
}

.opmatch-quota-widget-plan {
    font-size: 1rem;
    color: var(--opmatch-text);
    font-weight: 600;
    background: linear-gradient(135deg, var(--opmatch-primary) 0%, var(--opmatch-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.opmatch-quota-widget-value {
    font-size: 1.25rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.opmatch-quota-widget-value.unlimited {
    color: var(--opmatch-success);
    background: rgba(16, 185, 129, 0.1);
}

.opmatch-quota-widget-value.normal {
    color: var(--opmatch-primary);
    background: rgba(0, 102, 204, 0.1);
}

.opmatch-quota-widget-value.low {
    color: #F59E0B;
    background: rgba(245, 158, 11, 0.1);
    animation: pulse-warning 2s ease-in-out infinite;
}

.opmatch-quota-widget-value.empty {
    color: var(--opmatch-error);
    background: rgba(239, 68, 68, 0.1);
    animation: pulse-error 2s ease-in-out infinite;
}

@keyframes pulse-warning {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
    }
}

@keyframes pulse-error {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
}

.opmatch-quota-widget-add-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, var(--opmatch-primary) 0%, var(--opmatch-primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.2);
}

.opmatch-quota-widget-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.opmatch-quota-widget-add-btn:active {
    transform: translateY(0);
}

.opmatch-quota-widget-add-btn svg {
    transition: transform 0.3s ease;
}

.opmatch-quota-widget-add-btn:hover svg {
    transform: rotate(90deg);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .opmatch-quota-widget {
        bottom: 15px;
        left: 15px;
    }
    
    .opmatch-quota-widget-toggle {
        width: 48px;
        height: 48px;
    }
    
    .opmatch-quota-widget-content {
        min-width: 260px;
        padding: 1.25rem;
        bottom: 60px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .opmatch-title {
        font-size: 1.5rem;
    }
    
    .opmatch-subtitle {
        font-size: 1rem;
    }
    
    .opmatch-role-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .opmatch-quota-display {
        flex-direction: column;
    }
    
    .opmatch-upload-label {
        padding: 2rem 1rem;
    }

/* Enhanced Analysis Display */

.opmatch-analysis-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.opmatch-analysis-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: var(--opmatch-text);
}

.opmatch-analysis-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--opmatch-success);
    font-weight: bold;
}

.opmatch-highlight {
    background: linear-gradient(120deg, #fef3c7 0%, #fde68a 100%);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-weight: 600;
    color: var(--opmatch-text);
}

.opmatch-analysis-paragraph strong {
    color: var(--opmatch-primary);
    font-weight: 600;
}

.opmatch-analysis-paragraph em {
    color: var(--opmatch-text-light);
    font-style: italic;
}

/* Improved section colors */
.opmatch-analysis-section:nth-child(1) {
    border-left-color: #3b82f6; /* Blue */
}

.opmatch-analysis-section:nth-child(2) {
    border-left-color: #10b981; /* Green */
}

.opmatch-analysis-section:nth-child(3) {
    border-left-color: #f59e0b; /* Orange */
}

.opmatch-analysis-section:nth-child(4) {
    border-left-color: #8b5cf6; /* Purple */
}

.opmatch-analysis-section:nth-child(5) {
    border-left-color: #ec4899; /* Pink */
}

.opmatch-analysis-section:nth-child(6) {
    border-left-color: #06b6d4; /* Cyan */
}

/* Error Display */
.opmatch-error {
    background: #fee2e2;
    border: 2px solid #ef4444;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    color: #991b1b;
}

.opmatch-error p {
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Plans Grid */
.opmatch-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.opmatch-plan-card {
    background: white;
    border: 2px solid var(--opmatch-border);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.opmatch-plan-card:hover {
    border-color: var(--opmatch-primary);
    box-shadow: var(--opmatch-shadow-lg);
    transform: translateY(-4px);
}

.opmatch-plan-popular {
    border-color: var(--opmatch-primary);
    box-shadow: var(--opmatch-shadow);
}

.opmatch-plan-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--opmatch-primary), var(--opmatch-secondary));
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.opmatch-plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--opmatch-text);
    margin-bottom: 1rem;
}

.opmatch-plan-price {
    margin-bottom: 0.5rem;
}

.opmatch-price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--opmatch-primary);
}

.opmatch-price-period {
    font-size: 1rem;
    color: var(--opmatch-text-light);
}

.opmatch-plan-yearly {
    font-size: 0.875rem;
    color: var(--opmatch-text-light);
    margin-bottom: 1.5rem;
}

.opmatch-plan-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.opmatch-plan-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--opmatch-border);
    color: var(--opmatch-text);
    line-height: 1.5;
}

.opmatch-plan-features li:last-child {
    border-bottom: none;
}

.opmatch-plan-select-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--opmatch-primary), var(--opmatch-secondary));
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.opmatch-plan-select-btn:hover {
    box-shadow: var(--opmatch-shadow-lg);
    transform: translateY(-2px);
}

/* Responsive improvements */
@media (max-width: 768px) {
    .opmatch-analysis-content {
        padding-left: 0;
    }
    
    .opmatch-analysis-header {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
    
    .opmatch-plans-grid {
        grid-template-columns: 1fr;
    }
    
    .opmatch-quota-display {
        flex-direction: column;
        align-items: stretch;
    }
    
    .opmatch-quota-actions {
        width: 100%;
        justify-content: center;
    }
    
    .opmatch-quota-buy-btn {
        flex: 1;
        justify-content: center;
    }
}
}
