/**
 * LocalRank SEO Auditor - Minimal Design (matches LocalRank.so)
 */

.localrank-auditor {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px 0;
    color: #333;
    line-height: 1.6;
}

/* Header - Simple */
.auditor-header {
    margin-bottom: 30px;
}

.auditor-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #111;
    margin: 0 0 10px 0;
}

.auditor-header p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

/* Form - Clean inputs like LocalRank */
.auditor-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group input::placeholder {
    color: #999;
}

/* Button - Exact LocalRank .btn-ss.custom-button style */
.localrank-auditor .audit-button,
button.audit-button#audit-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 15px 30px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    font-family: Inter, sans-serif !important;
    line-height: 1.6 !important;
    color: #ffffff !important;
    background: rgb(33, 91, 194) !important;
    border: 1px solid rgba(37, 99, 235, 0.5) !important;
    border-radius: 8px !important;
    box-shadow: rgba(255, 255, 255, 0.2) 0px 1px 1px 0px inset, 
                rgba(0, 0, 0, 0.15) 0px 4px 8px 0px, 
                rgba(0, 0, 0, 0.3) 0px 1px 2px 0px !important;
    text-transform: capitalize !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.localrank-auditor .audit-button:hover,
button.audit-button#audit-btn:hover {
    background: rgb(26, 74, 158) !important;
}

.localrank-auditor .audit-button:disabled,
button.audit-button#audit-btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

/* Results */
.auditor-results {
    margin-top: 30px;
}

.auditor-results.hidden {
    display: none;
}

/* Grade Card - Simple */
.grade-card {
    text-align: center;
    padding: 30px;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 24px;
}

.grade-badge {
    display: inline-block;
    width: 70px;
    height: 70px;
    line-height: 70px;
    font-size: 36px;
    font-weight: 700;
    border-radius: 50%;
    color: white;
    margin-bottom: 12px;
}

.grade-badge.grade-a { background: #22c55e; }
.grade-badge.grade-b { background: #84cc16; }
.grade-badge.grade-c { background: #eab308; }
.grade-badge.grade-d { background: #f97316; }
.grade-badge.grade-f { background: #ef4444; }

.grade-score {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.grade-message {
    font-size: 14px;
    color: #666;
}

/* Citations Recommendation - Subtle */
.citations-recommendation {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    margin-bottom: 24px;
}

.citations-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.citations-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #0369a1;
    margin: 0 0 8px 0;
}

.citations-content p {
    font-size: 14px;
    color: #0c4a6e;
    margin: 0 0 12px 0;
}

.citations-cta-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 15px 30px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    font-family: Inter, sans-serif !important;
    color: #ffffff !important;
    background: rgb(33, 91, 194) !important;
    border: 1px solid rgba(37, 99, 235, 0.5) !important;
    border-radius: 8px !important;
    box-shadow: rgba(255, 255, 255, 0.2) 0px 1px 1px 0px inset, 
                rgba(0, 0, 0, 0.15) 0px 4px 8px 0px, 
                rgba(0, 0, 0, 0.3) 0px 1px 2px 0px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.citations-cta-button:hover {
    background: rgb(26, 74, 158) !important;
    color: #fff !important;
}

/* Check Cards - Minimal */
.checks-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check-card {
    padding: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

.check-card.status-pass {
    border-left: 3px solid #22c55e;
}

.check-card.status-warn {
    border-left: 3px solid #eab308;
}

.check-card.status-fail {
    border-left: 3px solid #ef4444;
}

.check-card.status-skip {
    border-left: 3px solid #9ca3af;
}

.check-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.check-icon {
    font-size: 18px;
}

.check-title {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    margin: 0;
}

.check-message {
    font-size: 14px;
    color: #333;
    margin: 0 0 8px 0;
}

.check-recommendation {
    font-size: 13px;
    color: #666;
    margin: 0;
    padding-left: 28px;
}

/* Help Card */
.help-card {
    margin-top: 24px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
}

.help-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
}

.help-card p {
    font-size: 14px;
    color: #666;
    margin: 0 0 8px 0;
}

.help-card .help-subtext {
    font-size: 13px;
    color: #888;
}

/* Responsive */
@media (max-width: 600px) {
    .localrank-auditor {
        padding: 15px;
    }
    
    .citations-recommendation {
        flex-direction: column;
        gap: 10px;
    }
    
    .grade-badge {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 30px;
    }
}

/* LocalRank Button Style - v1.2.0 */
.localrank-btn,
button[type="submit"],
.generate-btn,
.audit-button,
.check-btn,
.submit-btn,
.copy-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 15px 30px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    font-family: Inter, sans-serif !important;
    line-height: 1.6 !important;
    color: #ffffff !important;
    background: rgb(33, 91, 194) !important;
    border: 1px solid rgba(37, 99, 235, 0.5) !important;
    border-radius: 8px !important;
    box-shadow: rgba(255, 255, 255, 0.2) 0px 1px 1px 0px inset, 
                rgba(0, 0, 0, 0.15) 0px 4px 8px 0px, 
                rgba(0, 0, 0, 0.3) 0px 1px 2px 0px !important;
    text-transform: capitalize !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.localrank-btn:hover,
button[type="submit"]:hover,
.generate-btn:hover,
.audit-button:hover,
.check-btn:hover,
.submit-btn:hover,
.copy-btn:hover {
    background: rgb(26, 74, 158) !important;
}

.localrank-btn:disabled,
button[type="submit"]:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

/* Ebook CTA - Massive CTA after audit */
.ebook-cta {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
    border-radius: 16px !important;
    padding: 40px 30px !important;
    margin-bottom: 24px !important;
    text-align: center !important;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3) !important;
}

.ebook-cta-content {
    max-width: 500px;
    margin: 0 auto;
}

.ebook-badge {
    display: inline-block !important;
    background: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    margin-bottom: 16px !important;
}

.ebook-cta h3 {
    color: #fff !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.2 !important;
}

.ebook-cta p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 16px !important;
    margin: 0 0 24px 0 !important;
    line-height: 1.6 !important;
}

.ebook-cta-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 18px 40px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    font-family: Inter, sans-serif !important;
    color: #1e3a8a !important;
    background: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.2s ease !important;
}

.ebook-cta-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3) !important;
    color: #1e3a8a !important;
}

@media (max-width: 600px) {
    .ebook-cta {
        padding: 30px 20px !important;
    }
    
    .ebook-cta h3 {
        font-size: 22px !important;
    }
    
    .ebook-cta-button {
        padding: 14px 28px !important;
        font-size: 16px !important;
    }
}
