/* General Body and Layout */
body {
    font-family: Arial, sans-serif;
}

.container {
    background-color: ghostwhite;
    padding-top: 20px;
}

.card {
    border: none;
    border-radius: 8px;
}

.card-body {
    text-align: center;
}

/* Navbar */
.navbar {
    margin-bottom: 20px;
}

.navbar-brand {
    cursor: pointer;
}

/* Card Colors */
.card.drawdown {
    background-color: #f8d7da;
}

.card.varianceRequest {
    background-color: #d1ecf1;
}

.card.budgetTransfer {
    background-color: #fff3cd;
}

.card.oasis {
    background-color: #d4edda;
}

.card.sCurve {
    background-color: #c3e6cb;
}

.card.userPreferences {
    background-color: #f1f1f1;
}

.card.cminvoice {
    background-color: #f8d7da;
}

.card.CTCPPaymentTracker {
    background-color: #d1ecf1;
}

.card.CTCPProgramData {
    background-color: #fff3cd;
}

/* Card Icon */
.card i {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Navbar Link Style */
.navbar-nav .nav-item .nav-link {
    cursor: pointer;
}

.navbar-nav .nav-item .nav-link:hover {
    text-decoration: underline;
}

/* Section Display */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.content-row {
    display: flex;
    flex-wrap: wrap;
}

.content-row .col-md-4 {
    flex: 1 1 30%;
    margin: 10px;
}

/* Dynamic Content Section */
#dynamicContent p, #dynamicContent li {
    margin: 10px 0;
}

/* Footer */
footer {
    margin-top: 30px;
    text-align: center;
    padding: 20px 0;
}

footer p {
    color: #666;
}

.avihs {
    color:#145ba9;
}

.my5bg {
    background-color:gainsboro;
}
.active-section {
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    transform: scale(1.02);
    transition: all 0.3s ease;
}
.content-section {
    display: none; /* Hide all cards by default */
}
.content-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.card {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card i {
    font-size: 2.5rem;
    /*color: #2c3e50;*/
    color: #145ba9;

}

.navbar-nav {
    flex-wrap: wrap;
}

.selected-app-info {
    transition: all 0.3s ease;
    border-left: 4px solid #007bff;
}

.navbar-nav .nav-link {
    cursor: pointer;
    transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover {
    transform: translateX(5px);
}

.or-separator {
    position: relative;
    margin: 1.5rem 0;
    text-align: center;
}
.or-separator::before,
.or-separator::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #dee2e6;
    margin: auto;
}
.or-text {
    display: inline-block;
    padding: 0 1rem;
    background: gainsboro;
    position: relative;
    top: -0.8em;
    color: #6c757d;
    font-weight: 500;
}
.login-card {
    transition: transform 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.process-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.process-card.active {
    border-left: 4px solid #0d6efd;
    background-color: #f8f9fa;
}

.process-card:hover {
    transform: translateX(5px);
}

.process-detail {
    display: none;
}

.process-detail.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/*.sticky-top {*/
/*    position: -webkit-sticky;*/
/*    position: sticky;*/
/*    z-index: 1000;*/
/*}*/


.form-box {
    background-color: #e6f0fc;
}
.linking-card {
    border: 2px solid #145ba9;
    border-radius: 10px;
    padding: 2rem;
    margin: 1rem auto;
    background: #f8f9fa;
}
.system-section {
    border-left: 3px solid #145ba9;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
}
.instruction-list {
    color: #145ba9;
    font-size: 1.1rem;
    line-height: 1.6;
}
.linking-card {
    border: 2px solid #145ba9;
    border-radius: 10px;
    padding: 2rem;
    margin: 1rem auto;
    background: #f8f9fa;
}
.system-section {
    border-left: 3px solid #145ba9;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
}
.instruction-list {
    color: #145ba9;
    font-size: 1.1rem;
    line-height: 1.6;
}

.info-highlight.warning {
    background-color: #fff3cd;
    border-left: 6px solid #ffc107;
    color: #856404;
}

.info-highlight {
    background-color: #e6f0fc;
    border-left: 6px solid #145ba9;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-weight: 600;
    color: #145ba9;
    font-size: 1.75rem;
    border-radius: 4px;
}
/* Card Styling */
.linking-card {
    border: 2px solid #145ba9;
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem auto;
    background: #f8f9fa;
    /* max-width: 900px; */
}

/* System Option Card */
.system-option {
    background-color: white;
    border: 1px solid #145ba9;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    transition: 0.3s ease-in-out;
}

.system-option:hover {
    background-color: #e6f0fc;
    cursor: pointer;
}

/* Checkbox Styling - Larger Scale */
.form-check-input {
    transform: scale(3);  /* Scales the checkbox to be 3 times larger */
    margin-right: 1rem;  /* Space between checkbox and label */
    transition: 0.3s ease-in-out;
    background-color: beige;
}

.selection-info {
    background-color: #e6f0fc;
    color: #145ba9;
    border: 1px solid #bcdffb;
    border-radius: 6px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
}

.alert-section {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    font-size: 1.1rem;
}
.alert-section-message {
    background-color: #e6f0fc;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    font-size: 1.1rem;
}
/* Custom Checkbox Color */
.form-check-input:checked {
    background-color: #145ba9;
    border-color: #145ba9;
}

.form-check-input:checked:hover {
    background-color: #116c94;
}

/* Label Styling */
.form-check-label {
    font-weight: 600;
    color: #145ba9;
    font-size: 1.1rem;
    line-height: 1.6;  /* Ensures proper spacing for larger checkboxes */
    padding: inherit;
}

/* Text for Explanations */
.explanation-text {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Error Message Styling */
.error-msg {
    color: red;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
}
.sticky-info {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    padding-top: 1rem;
}
.link-highlight {
    background-color: #e6f0fc;
    border-left: 4px solid #145ba9;
    padding: 0.5rem 1rem;
    font-weight: 600;
    color: #145ba9;
    font-size: 1rem;
    border-radius: 4px;
    display: inline-block;
    cursor: pointer;
    margin: 0.5rem 0;
}
.info-tip {
    background-color: #f5faff;
    border-left: 4px solid #145ba9;
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    font-weight: 500;
    color: #145ba9;
    font-size: 0.95rem;
    border-radius: 3px;
    text-align: left;
}
