﻿/* ============================================================
   Mirolabs AI SEO Suite — Styling
============================================================ */

.mirolabs-tab-btn {
    padding: 10px 16px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    margin-right: 6px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration:none;
    color:#111;
}

.mirolabs-tab-btn.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.mirolabs-tab-panel {
    margin-top: 20px;
}

.mirolabs-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    margin-top: 10px;
    font-size: 14px;
}

.mirolabs-card {
    background: #fff;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 14px;
}

.mirolabs-output {
    padding: 10px;
    background: #f3f4f6;
    border-radius: 6px;
    margin-top: 8px;
    white-space: pre-wrap;
}

.mirolabs-score {
    font-size: 32px;
    font-weight: 700;
    color: #2563eb;
}

.mirolabs-loading {
    padding: 30px;
    text-align: center;
    font-size: 16px;
}

.mirolabs-copy-btn {
    margin-top: 10px;
    padding: 8px 14px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor:pointer;
}

.mirolabs-copy-btn:hover {
    background:#1e3a8a;
}

.mirolabs-kw-list li {
    background: #f3f4f6;
    padding: 8px;
    border-radius: 6px;
    margin: 4px 0;
}

.mirolabs-faq-item {
    background:#f8fafc;
    border:1px solid #e2e8f0;
    padding:12px;
    border-radius:6px;
    margin-bottom:8px;
}

.mirolabs-schema-block {
    background: #1e1e1e;
    color: #fff;
    padding: 12px;
    border-radius: 6px;
    max-height: 400px;
    overflow:auto;
}

/* ============================================================
   Mirolabs AI SEO Suite — OPTIMIZER PRO UI (Sexy Edition)
============================================================ */

/* Shared card style */
.mirolabs-card {
    background: #fff;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

/* Score Grid */
.mirolabs-score-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    margin-top: 15px;
}

/* Score Item */
.mirolabs-score-item {
    background: #fafafa;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #eee;
    transition: 0.25s ease;
}

.mirolabs-score-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* Label */
.mirolabs-score-label {
    font-size: 13px;
    font-weight: 700;
    color: #444;
    margin-bottom: 6px;
}

/* Score Bar */
.mirolabs-score-bar {
    height: 10px;
    background: #e6e6e6;
    border-radius: 8px;
    overflow: hidden;
    margin: 8px 0;
}

.mirolabs-score-fill {
    height: 100%;
    border-radius: 8px;
    transition: width 0.8s ease;
}

/* Score Value */
.mirolabs-score-value {
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

/* Why text */
.mirolabs-score-why {
    margin-top: 8px;
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

/* ============================================================
   FIX BLOCKS
============================================================ */

.mirolabs-fix-block {
    background: #fefefe;
    border: 1px solid #eee;
    border-left: 5px solid #3CB371;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 18px;
}

.mirolabs-fix-block strong {
    font-size: 14px;
    color: #222;
}

.mirolabs-fix-block p {
    margin: 8px 0;
    font-size: 13px;
    color: #555;
}

/* ============================================================
   "Auto Improve" Button
============================================================ */

#mirolabs-opt-final .button {
    margin-top: 10px;
}

/* Improved article box */
.mirolabs-output {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 18px;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid #eee;
    white-space: pre-wrap;
}

/* Loading animation */
.mirolabs-loading {
    padding: 12px;
    font-size: 15px;
    color: #555;
    animation: blink 1.2s infinite;
}

@keyframes blink {
    0% { opacity: .5; }
    50% { opacity: 1; }
    100% { opacity: .5; }
}

/* Copy Button */
.mirolabs-copy-btn {
    margin-top: 18px;
    background: #0073aa;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: .2s;
}

.mirolabs-copy-btn:hover {
    background: #005f8a;
}

/* FAQ / KW list spacing for harmony */
.mirolabs-faq-item, 
.mirolabs-kw-list li {
    border-radius: 10px;
    background: #fff;
    padding: 10px 14px;
    border: 1px solid #eee;
    margin-bottom: 10px;
}

