/* Insurance Agent Software Guide Page Styles */

/* Fix appendix menu (Table of Contents) to use left-aligned content card style */
.feature-card.toc-menu {
    text-align: left !important;
}

.feature-card.toc-menu h3 {
    text-align: left;
    margin-bottom: 25px;
}

.feature-card.toc-menu .material-icons {
    vertical-align: middle;
    font-size: 1.5rem;
    margin-right: 8px;
}

/* Fix button styling to match site's pill shape */
.btn-light.btn-lg {
    border-radius: 30px !important;
    padding: 12px 30px !important;
    font-weight: 500 !important;
    border: 2px solid white !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

.btn-outline-light.btn-lg {
    border-radius: 30px !important;
    padding: 12px 30px !important;
    font-weight: 500 !important;
    border: 2px solid white !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

/* Fix feature cards to have proper icon sizes */
.feature-card .feature-icon {
    color: var(--primary);
    font-size: 3rem !important;
    margin-bottom: 20px;
}

.feature-card .feature-icon .material-icons {
    font-size: 3rem !important;
}

/* Content cards using feature-card base pattern with left alignment for content */
.content-card {
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    background-color: white;
    text-align: left; /* Override center alignment for content */
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.content-card .card-icon {
    color: var(--primary);
    font-size: 1.5rem;
    margin-right: 10px;
    vertical-align: middle;
}

/* Stats cards using feature-card pattern with number focus */
.stats-card {
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    background-color: white;
    border-top: 5px solid var(--primary);
}

.stats-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stats-number {
    color: var(--primary);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.stats-card .card-icon {
    color: var(--primary);
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Software comparison cards using portal-card pattern */
.software-card {
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    background-color: white;
    border-top: 5px solid #6c757d;
    display: flex;
    flex-direction: column;
}

.software-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.software-card.featured {
    border-top: 5px solid var(--primary);
}

.software-card .card-icon {
    color: var(--primary);
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Legacy vs Modern badges */
.legacy-badge {
    background-color: #dc2626;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
}

.modern-badge {
    background-color: var(--success);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
}

.umbra-badge {
    background-color: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
}

/* Cost breakdown using feature-card pattern with warning styling */
.cost-breakdown {
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    background-color: white;
    border-left: 4px solid #ffc107;
    text-align: left;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cost-item:last-child {
    border-bottom: none;
}

.cost-amount {
    font-weight: 600;
    color: #dc2626;
}

/* Modern solution using portal-card pattern with success styling */
.modern-solution {
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, var(--success), #16a34a);
    color: white;
    border-top: 5px solid #059669;
}

.modern-solution h4 {
    color: white;
    margin-bottom: 20px;
}

.modern-solution ul {
    list-style: none;
    padding: 0;
}

.modern-solution ul li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.modern-solution ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.modern-solution .savings {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

/* Alert-style callouts using feature-card pattern */
.warning-callout {
    background: #fef3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.info-callout {
    background: #cdf1ff;
    border-left: 4px solid #0ea5e9;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stats-number {
        font-size: 2rem;
    }

    .content-card, .software-card {
        margin-bottom: 20px;
    }

    .legacy-badge, .modern-badge, .umbra-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
}