/* Certificate of Insurance 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;
}

/* Process steps using portal-card pattern */
.process-step {
    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 var(--primary);
    text-align: center;
}

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

.process-icon {
    background-color: rgba(233, 127, 37, 0.1);
    color: var(--primary);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.process-icon .material-icons {
    font-size: 2rem;
}

.process-number {
    background-color: var(--primary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Coverage cards using portal-card pattern */
.coverage-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;
}

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

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

.coverage-icon {
    background-color: rgba(233, 127, 37, 0.1);
    color: var(--primary);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.coverage-icon .material-icons {
    font-size: 2rem;
}

/* Table styling to match site's clean look */
.comparison-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.comparison-table thead th {
    background-color: var(--primary);
    color: white;
    padding: 20px;
    border: none;
    font-weight: 600;
}

.comparison-table tbody td {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.comparison-table .improvement {
    color: var(--success);
    font-weight: 600;
}

/* Alert-style callouts using feature-card pattern */
.info-callout {
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    background-color: white;
    border-left: 4px solid var(--primary);
    text-align: center;
}

.warning-callout {
    background: #fef3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}

/* Umbra badges */
.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: 0 4px 4px 0;
}

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

    .content-card, .coverage-card, .process-step {
        margin-bottom: 20px;
    }

    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 10px;
        font-size: 0.9rem;
    }

    .umbra-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
        margin: 0 2px 4px 0;
    }
}
