/* MarketMatrix Options Predictor v6.1 */

.mm-predictor-container {
    max-width: 800px;
    margin: 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.mm-predictor-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e1e8ed;
}

.mm-predictor-header {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 32px;
    text-align: center;
}

.mm-predictor-header h2 {
    margin: 0 0 12px 0;
    font-size: 32px;
    font-weight: 700;
}

.mm-predictor-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 17px;
}

.mm-predictor-body {
    padding: 32px;
}

/* Form elements */
.mm-form-group {
    margin-bottom: 28px;
}

.mm-form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #1f2937;
    font-size: 16px;
}

.mm-input, .mm-select {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #d1d5db;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.25s ease;
    box-sizing: border-box;
    background: white;
}

.mm-input:focus, .mm-select:focus {
    border-color: #4f46e5;
    outline: none;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

/* FIXED: Improved Radio Buttons */
.mm-engine-selector {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.mm-engine-option {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.mm-engine-option:hover {
    border-color: #4f46e5;
    background: #f5f3ff;
    transform: translateY(-2px);
}

.mm-engine-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.mm-engine-check {
    width: 22px;
    height: 22px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    margin-right: 14px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.mm-engine-option input[type="radio"]:checked + .mm-engine-check {
    border-color: #4f46e5;
    background: #4f46e5;
}

.mm-engine-option input[type="radio"]:checked + .mm-engine-check::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
}

.mm-engine-details {
    flex: 1;
}

.mm-engine-title {
    font-weight: 600;
    color: #1f2937;
    font-size: 16px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mm-engine-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.mm-engine-icon {
    font-size: 20px;
}

/* Engine-specific styles */
.mm-engine-basic .mm-engine-title {
    color: #10b981;
}

.mm-engine-ml .mm-engine-title {
    color: #3b82f6;
}

.mm-engine-ai .mm-engine-title {
    color: #ef4444;
}

.mm-engine-ai {
    border-color: #fecaca;
    background: #fef2f2;
}

.mm-engine-ai:hover {
    border-color: #f87171;
    background: #fee2e2;
}

.mm-engine-ai .mm-engine-check {
    border-color: #f87171;
}

.mm-engine-ai input[type="radio"]:checked + .mm-engine-check {
    border-color: #dc2626;
    background: #dc2626;
}

/* PRO note */
.mm-pro-note {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 14px 18px;
    margin-top: 20px;
    color: #92400e;
    font-size: 15px;
    display: none;
}

.mm-pro-note a {
    color: #dc2626;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.mm-pro-note a:hover {
    text-decoration: underline;
}

/* Button */
.mm-button {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.mm-button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(79, 70, 229, 0.3);
}

.mm-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.mm-spinner {
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: mm-spin 0.8s linear infinite;
    display: none;
}

@keyframes mm-spin {
    to { transform: rotate(360deg); }
}

/* Results */
.mm-results {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #f3f4f6;
    display: none;
    animation: mm-fadeIn 0.5s ease;
}

@keyframes mm-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.mm-divider {
    height: 3px;
    background: linear-gradient(to right, #4f46e5, #7c3aed, #ec4899);
    margin-bottom: 28px;
    border-radius: 3px;
}

.mm-results h3 {
    margin: 0 0 20px 0;
    font-size: 26px;
    color: #1f2937;
}

.mm-result-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px;
}

.mm-strategy-output {
    font-family: 'Courier New', monospace;
    white-space: pre-wrap;
    font-size: 15px;
    line-height: 1.7;
    color: #1e293b;
    background: white;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    max-height: 600px;
    overflow-y: auto;
}

/* Messages */
.mm-message {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-weight: 500;
    animation: mm-slideDown 0.3s ease;
}

.mm-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.mm-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Footer */
.mm-predictor-footer {
    background: #f8fafc;
    padding: 24px 32px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
    border-top: 1px solid #e2e8f0;
}

/* Responsive */
@media (max-width: 768px) {
    .mm-predictor-container {
        margin: 15px;
    }
    
    .mm-predictor-body {
        padding: 24px;
    }
    
    .mm-engine-option {
        padding: 14px 16px;
    }
}

/* ==============================================
   ENHANCED RESULTS - VISUALIZATIONS
   ============================================== */

/* Results Grid Layout */
.mm-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .mm-results-grid {
        grid-template-columns: 1fr;
    }
}

/* Metric Cards */
.mm-metric-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.mm-metric-title {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mm-metric-value {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.mm-metric-positive {
    color: #10b981;
}

.mm-metric-negative {
    color: #ef4444;
}

.mm-metric-neutral {
    color: #f59e0b;
}

/* Profit/Loss Chart */
.mm-chart-container {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    margin-bottom: 24px;
}

.mm-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.mm-chart-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}

.mm-chart-legend {
    display: flex;
    gap: 16px;
    font-size: 14px;
}

.mm-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mm-legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.mm-legend-profit { background: #10b981; }
.mm-legend-loss { background: #ef4444; }
.mm-legend-breakeven { background: #f59e0b; }

.mm-chart {
    height: 200px;
    position: relative;
    background: #f8fafc;
    border-radius: 8px;
    overflow: hidden;
}

.mm-chart-bars {
    display: flex;
    height: 100%;
    align-items: flex-end;
    padding: 20px;
    gap: 10px;
}

.mm-chart-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-height: 40px;
}

.mm-bar-profit {
    background: linear-gradient(to top, #10b981, #34d399);
    border-radius: 4px 4px 0 0;
    width: 100%;
}

.mm-bar-loss {
    background: linear-gradient(to top, #ef4444, #f87171);
    border-radius: 4px 4px 0 0;
    width: 100%;
}

.mm-bar-label {
    margin-top: 8px;
    font-size: 12px;
    color: #64748b;
    text-align: center;
}

.mm-bar-value {
    font-size: 11px;
    font-weight: 600;
    margin-top: 4px;
    color: #1e293b;
}

/* Strategy Timeline */
.mm-timeline {
    margin: 24px 0;
}

.mm-timeline-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    position: relative;
}

.mm-timeline-step:not(:last-child):after {
    content: '';
    position: absolute;
    left: 16px;
    top: 36px;
    bottom: -20px;
    width: 2px;
    background: #e2e8f0;
}

.mm-timeline-icon {
    width: 32px;
    height: 32px;
    background: #4f46e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
    margin-right: 16px;
    z-index: 1;
}

.mm-timeline-content {
    flex: 1;
    padding-top: 4px;
}

.mm-timeline-title {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.mm-timeline-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

/* Option Chain Heatmap */
.mm-heatmap {
    margin: 24px 0;
}

.mm-heatmap-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1e293b;
}

.mm-heatmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.mm-heatmap-cell {
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    transition: transform 0.2s;
}

.mm-heatmap-cell:hover {
    transform: translateY(-2px);
}

.mm-heatmap-strong-buy { background: #d1fae5; color: #065f46; }
.mm-heatmap-buy { background: #a7f3d0; color: #047857; }
.mm-heatmap-neutral { background: #fef3c7; color: #92400e; }
.mm-heatmap-sell { background: #fecaca; color: #991b1b; }
.mm-heatmap-strong-sell { background: #fca5a5; color: #dc2626; }

/* Action Buttons */
.mm-action-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.mm-action-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.mm-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.mm-btn-download {
    background: #3b82f6;
    color: white;
}

.mm-btn-share {
    background: #8b5cf6;
    color: white;
}

.mm-btn-save {
    background: #10b981;
    color: white;
}

.mm-btn-print {
    background: #6b7280;
    color: white;
}

/* Tab Navigation */
.mm-results-tabs {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 24px;
}

.mm-tab {
    padding: 12px 24px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}

.mm-tab:hover {
    color: #4f46e5;
}

.mm-tab.active {
    color: #4f46e5;
    border-bottom-color: #4f46e5;
}

.mm-tab-content {
    display: none;
}

.mm-tab-content.active {
    display: block;
    animation: mm-fadeIn 0.3s ease;
}

/* Strategy Legs Table */
.mm-legs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.mm-legs-table th {
    background: #f8fafc;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #1e293b;
    border-bottom: 2px solid #e2e8f0;
}

.mm-legs-table td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.mm-legs-table tr:hover {
    background: #f8fafc;
}

.mm-leg-action-buy {
    color: #10b981;
    font-weight: 500;
}

.mm-leg-action-sell {
    color: #ef4444;
    font-weight: 500;
}

/* Confidence Meter */
.mm-confidence-meter {
    margin: 20px 0;
}

.mm-confidence-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}

.mm-confidence-fill {
    height: 100%;
    background: linear-gradient(to right, #ef4444, #f59e0b, #10b981);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.mm-confidence-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

/* ==============================================
   ENGINE SELECTOR RADIO BUTTONS FIX
   ============================================== */

.mm-engine-selector {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.mm-engine-option {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.mm-engine-option:hover {
    border-color: #4f46e5;
    background: #f5f3ff;
    transform: translateY(-2px);
}

.mm-engine-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.mm-engine-check {
    width: 22px;
    height: 22px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    margin-right: 14px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.mm-engine-option input[type="radio"]:checked + .mm-engine-check {
    border-color: #4f46e5;
    background: #4f46e5;
}

.mm-engine-option input[type="radio"]:checked + .mm-engine-check::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
}

.mm-engine-details {
    flex: 1;
}

.mm-engine-title {
    font-weight: 600;
    color: #1f2937;
    font-size: 16px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mm-engine-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.mm-engine-icon {
    font-size: 20px;
}

/* Engine-specific styles */
.mm-engine-basic .mm-engine-title {
    color: #10b981;
}

.mm-engine-ml .mm-engine-title {
    color: #3b82f6;
}

.mm-engine-ai .mm-engine-title {
    color: #ef4444;
}

.mm-engine-ai {
    border-color: #fecaca;
    background: #fef2f2;
}

.mm-engine-ai:hover {
    border-color: #f87171;
    background: #fee2e2;
}

.mm-engine-ai .mm-engine-check {
    border-color: #f87171;
}

.mm-engine-ai input[type="radio"]:checked + .mm-engine-check {
    border-color: #dc2626;
    background: #dc2626;
}

/* PRO note */
.mm-pro-note {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 14px 18px;
    margin-top: 20px;
    color: #92400e;
    font-size: 15px;
    display: none;
}

.mm-pro-note a {
    color: #dc2626;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.mm-pro-note a:hover {
    text-decoration: underline;
}

/* Fix for continuous buffering spinner */
.spinner {
    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); }
}

/* Fix for profit/loss distribution */
.profit-loss-distribution {
    display: flex;
    height: 40px;
    border-radius: 20px;
    overflow: hidden;
    margin: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.profit-distribution {
    background: linear-gradient(90deg, #10b981, #34d399);
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.loss-distribution {
    background: linear-gradient(90deg, #ef4444, #f87171);
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Fix for strategy legs display */
.strategy-leg {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
}

.leg-header {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.leg-action.buy {
    color: #10b981;
    font-weight: bold;
}

.leg-action.sell {
    color: #ef4444;
    font-weight: bold;
}

.leg-type.ce {
    background: #dbeafe;
    color: #1d4ed8;
    padding: 2px 8px;
    border-radius: 4px;
}

.leg-type.pe {
    background: #fef3c7;
    color: #d97706;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Fix for engine badges */
.engine-badge {
    background: #3b82f6;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
}

.engine-badge.ml {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.engine-badge.ai {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
}

.engine-badge.basic {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
}

/* Fix for continuous buffering spinner */
.spinner {
    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;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Enhanced Profit/Loss Distribution */
.mm-profit-loss-distribution {
    display: flex;
    height: 50px;
    border-radius: 25px;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 2px solid #e2e8f0;
}

.mm-profit-distribution {
    background: linear-gradient(90deg, #10b981, #34d399);
    transition: width 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 16px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    min-width: 50px;
}

.mm-loss-distribution {
    background: linear-gradient(90deg, #ef4444, #f87171);
    transition: width 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 16px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    min-width: 50px;
}

/* Engine Badges */
.mm-engine-badge {
    background: #3b82f6;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    letter-spacing: 0.5px;
}

.mm-engine-badge.ml {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    box-shadow: 0 4px 10px rgba(139, 92, 246, 0.3);
}

.mm-engine-badge.ai {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    box-shadow: 0 4px 10px rgba(236, 72, 153, 0.3);
}

.mm-engine-badge.basic {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
    box-shadow: 0 4px 10px rgba(107, 114, 128, 0.3);
}

/* Loading States */
.mm-loading-container {
    text-align: center;
    padding: 60px 20px;
}

.mm-spinner-large {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 5px solid rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    border-top-color: #3b82f6;
    animation: spin 1s ease-in-out infinite;
}

/* Strategy Legs */
.strategy-leg {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strategy-leg:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.leg-header {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.leg-action.buy {
    color: #10b981;
    font-weight: bold;
    background: #d1fae5;
    padding: 4px 12px;
    border-radius: 6px;
}

.leg-action.sell {
    color: #ef4444;
    font-weight: bold;
    background: #fee2e2;
    padding: 4px 12px;
    border-radius: 6px;
}

.leg-type.ce {
    background: #dbeafe;
    color: #1d4ed8;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 500;
}

.leg-type.pe {
    background: #fef3c7;
    color: #d97706;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 500;
}

.leg-strike {
    font-weight: bold;
    color: #1e293b;
    font-size: 16px;
}

.leg-qty {
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 6px;
}

.leg-reason {
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}
/* Ensure spinner is visible */
.mm-spinner {
    display: inline-block !important;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: mm-spin 0.8s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes mm-spin {
    to { transform: rotate(360deg); }
}