/**
 * Content Box Styles
 * Consistent styling for text content sections across all pages
 *
 * @package ExamBlaze
 * @version 1.0
 */

/* Main Content Box */
.content-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 40px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 16px;
    border-left: 4px solid var(--primary-orange, #f97316);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.content-box p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #e2e8f0 !important;
    margin-bottom: 20px;
}

.content-box p:last-child {
    margin-bottom: 0;
}

.content-box strong {
    color: #f97316;
    font-weight: 600;
}

.content-box ul {
    font-size: 1.1rem;
    line-height: 2;
    color: #e2e8f0;
    margin-bottom: 20px;
    padding-left: 25px;
}

.content-box li {
    color: #e2e8f0;
    margin-bottom: 8px;
}

.content-box li strong {
    color: #38bdf8;
}

/* Alternative Light Content Box (for light backgrounds) */
.content-box-light {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 40px;
    background: #ffffff;
    border-radius: 16px;
    border-left: 4px solid var(--primary-blue, #3b82f6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.content-box-light p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #1e293b !important;
    margin-bottom: 20px;
}

.content-box-light strong {
    color: #1e40af;
    font-weight: 600;
}

.content-box-light ul {
    font-size: 1.1rem;
    line-height: 2;
    color: #1e293b;
    margin-bottom: 20px;
    padding-left: 25px;
}

.content-box-light li {
    color: #334155;
}

.content-box-light li strong {
    color: #1e40af;
}

/* Info Box - Teal accent */
.info-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 40px;
    background: linear-gradient(135deg, #134e4a 0%, #0f766e 100%);
    border-radius: 16px;
    border-left: 4px solid #2dd4bf;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.info-box p,
.info-box ul,
.info-box li {
    color: #e2e8f0 !important;
}

.info-box strong {
    color: #2dd4bf;
}

/* University/Institution Grid */
.institution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.institution-item {
    padding: 15px 20px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 10px;
    text-align: center;
    color: #f1f5f9;
    font-weight: 600;
    border: 1px solid #475569;
    transition: all 0.3s ease;
}

.institution-item:hover {
    transform: translateY(-2px);
    border-color: #f97316;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-box,
    .content-box-light,
    .info-box {
        padding: 20px 25px;
        margin: 0 15px;
    }

    .content-box p,
    .content-box-light p,
    .info-box p {
        font-size: 1rem;
    }

    .institution-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}
