/* Outsourcing Portal Custom CSS */

.outsourcing-portal {
    font-family: 'SolaimanLipi', 'Kalpurush', 'Nikosh', sans-serif;
    margin-top: 20px;
    margin-bottom: 40px;
}

/* Navigation layout */
.outsourcing-nav-row {
    display: flex;
    align-items: stretch;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

/* Logo Box */
.outsourcing-logo-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #d3d3d3;
    background-color: #f9f9f9;
    padding: 15px;
    width: 160px;
    height: 160px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    text-align: center;
    flex-shrink: 0;
}

.outsourcing-logo-icon {
    width: 65px;
    height: 65px;
    background-color: #f39c12; /* Warm Orange */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: white;
}

.outsourcing-logo-icon i {
    font-size: 28px;
}

.outsourcing-logo-text {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
}

/* Tabs wrapper and links */
.outsourcing-tabs-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Help section label / banner */
.outsourcing-help-banner {
    background-color: #f19066; /* Soft coral/orange */
    color: #2c3e50;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    padding: 6px 15px;
    border-radius: 4px;
    margin-bottom: 12px;
    border: 1px solid #e17055;
    letter-spacing: 0.5px;
}

.outsourcing-tabs-list {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    align-items: center;
}

.outsourcing-tabs-list li {
    flex-grow: 1;
}

.outsourcing-tabs-list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #3b5998; /* Blue */
    color: #ffffff;
    font-weight: bold;
    font-size: 14px;
    padding: 12px 10px;
    border-radius: 4px;
    min-height: 48px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.outsourcing-tabs-list li a:hover {
    background-color: #2d4373;
    color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.outsourcing-tabs-list li.active a {
    background-color: #1b305a;
    border-color: #1b305a;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

/* Login Tab Button styling */
.outsourcing-tabs-list li.login-tab-btn a {
    background-color: #2c3e50;
    border-color: #2c3e50;
}

.outsourcing-tabs-list li.login-tab-btn a:hover {
    background-color: #1a252f;
}

/* Content Container Box */
.outsourcing-content-box {
    border: 1.5px solid #3b5998;
    border-radius: 6px;
    background-color: #f0f3f6;
    padding: 25px;
    min-height: 250px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.outsourcing-content-box h4 {
    color: #1b305a;
    font-weight: bold;
    border-bottom: 2px solid #3b5998;
    padding-bottom: 8px;
    margin-top: 0;
    margin-bottom: 15px;
}

/* Panel inside content box tweaks */
.outsourcing-content-box .panel {
    border: none;
    box-shadow: none;
    background-color: transparent;
    margin-bottom: 15px;
}

.outsourcing-content-box .panel-heading {
    background-color: #e2e7ec !important;
    color: #1b305a !important;
    border-bottom: 1px solid #dcdcdc;
    padding: 10px 15px;
}

.outsourcing-content-box .panel-title {
    font-size: 15px;
    font-weight: bold;
}

.outsourcing-content-box .panel-body {
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    border-top: none;
    padding: 15px;
}

.outsourcing-content-box .alert-info {
    background-color: #d9edf7;
    border-color: #bce8f1;
    color: #31708f;
    padding: 15px;
    border-radius: 4px;
}

/* Action Cards Bottom */
.outsourcing-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .outsourcing-nav-row {
        flex-direction: column;
        align-items: center;
    }
    .outsourcing-logo-box {
        width: 100%;
        height: auto;
        padding: 20px;
    }
    .outsourcing-tabs-wrapper {
        width: 100%;
    }
    .outsourcing-tabs-list {
        flex-direction: column;
    }
    .outsourcing-cards-row {
        grid-template-columns: 1fr;
    }
}

.outsourcing-action-card {
    background-color: #a8d59d; /* Soft Green */
    border: 1px solid #8fc084;
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    text-decoration: none !important;
    color: #1e3d14 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 140px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.outsourcing-action-card:hover {
    background-color: #92ca85;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.outsourcing-card-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
}

/* Guideline Pages */
.guideline-breadcrumb {
    background-color: transparent;
    padding: 8px 0;
    margin-bottom: 5px;
    border-radius: 0;
}

.guideline-breadcrumb > li + li::before {
    content: "\203A";
    color: #999;
}

.guideline-breadcrumb > li a {
    color: #1da361;
}

.guideline-breadcrumb > li.active {
    color: #555;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-15 {
    margin-top: 15px;
}
