/**
 * Admin Styles for Keiste Solar Report
 */

.ksrad-stats {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.ksrad-stat-box {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    min-width: 150px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.ksrad-stat-box h3 {
    margin: 0;
    font-size: 32px;
    color: #2271b1;
    font-weight: 600;
}

.ksrad-stat-box p {
    margin: 10px 0 0;
    color: #666;
    font-size: 14px;
}

#ksrad-lead-modal {
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.ksrad-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.ksrad-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
}

.ksrad-modal-close:hover,
.ksrad-modal-close:focus {
    color: #000;
}

#ksrad-lead-details h2 {
    margin-top: 0;
    padding-top: 0;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

#ksrad-lead-details .form-table th {
    font-weight: 600;
    width: 200px;
}

#ksrad-lead-details .form-table td {
    color: #555;
}

/* Upgrade Page Styles */
.ksrad-upgrade-page {
    max-width: 1200px;
}

.ksrad-upgrade-hero {
    background: linear-gradient(135deg, #2271b1 0%, #1a5a8e 100%);
    color: white;
    padding: 40px;
    border-radius: 8px;
    margin: 20px 0 30px;
    text-align: center;
}

.ksrad-upgrade-hero h2 {
    color: white;
    font-size: 32px;
    margin: 0 0 10px;
}

.ksrad-upgrade-hero .subtitle {
    font-size: 18px;
    opacity: 0.9;
}

.ksrad-feature-comparison {
    margin: 30px 0;
}

.ksrad-pricing {
    text-align: center;
    margin: 40px 0;
}

.ksrad-pricing-card {
    background: #f8f9fa;
    border: 2px solid #FCB214;
    border-radius: 8px;
    padding: 30px;
    max-width: 400px;
    margin: 20px auto;
}

.ksrad-pricing-card .price {
    font-size: 48px;
    font-weight: bold;
    color: #2271b1;
    margin: 20px 0;
}

.ksrad-pricing-card .price span {
    font-size: 24px;
    color: #666;
}

.ksrad-pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.ksrad-pricing-card ul li {
    padding: 8px 0;
    font-size: 16px;
}

.ksrad-upgrade-faq {
    margin: 40px 0;
}

.ksrad-upgrade-faq h3 {
    color: #2271b1;
    margin-top: 20px;
}

.ksrad-upgrade-cta {
    background: #FCB214;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin: 40px 0;
}

.ksrad-upgrade-cta h2 {
    margin-top: 0;
}

/* Upgrade Banner Styles */
.ksrad-upgrade-banner {
    background: linear-gradient(135deg, #FCB214 0%, #f39c12 100%);
    color: #000;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ksrad-upgrade-banner strong {
    font-size: 16px;
}

.ksrad-upgrade-banner .button {
    background: white;
    color: #000;
    border: none;
    font-weight: 600;
}
