:root {
    --bs-primary: #54c1f3; /* Light Blue */
    --bs-primary-rgb: 173, 216, 230;
    --bs-body-bg: #f8f9fa; /* A very light grey for contrast */
    --ktest-dark-blue: #042031;
    --ktest-medium-blue: #073f61;
    --ktest-light-blue: #a6c5d7;
    --ktest-accent-blue: #0063aa;
    --ktest-white: #ffffff;
}

/* Override button focus shadow to match new primary color */
.btn-primary {
    --bs-btn-color: #000;
    --bs-btn-hover-bg: #54c1f3;
    --bs-btn-hover-border-color: #54c1f3;
    --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
    background-color: var(--ktest-accent-blue);
    border-color: var(--ktest-accent-blue);
}

.btn-success {
    --bs-btn-bg: #28a745;
    --bs-btn-border-color: #28a745;
}

header h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; /* Or 600 if you want slightly lighter */
    color: white;
    letter-spacing: 4px; /* Optional: gives it more logo-like spacing */
    text-transform: uppercase; /* Optional: all caps like the logo */
    padding-top: 14px;
}

.card-header {
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

#log-output {
    font-size: 0.85em;
    line-height: 1.6;
    background-color: #e9ecef !important;
}

/* .nav-link {
    font-weight: 500;
    color: #333;
} */
.nav-link {
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 10px 12px;
    color: #ffffff;           /* White text */
    font-weight: bold;        /* Bold text */
    transition: all 0.2s ease-in-out;
    background-color: transparent;
}
.nav-link:hover,
.nav-link.active {
    color: #0d6efd;
    background-color: #e9ecef;
    border-radius: 4px;
}

.bg-sidebar {
    background-color: var(--ktest-medium-blue) !important;
    color: #e9ecef; 
}

body {
    background-color: var(--ktest-accent-blue);
    color: var(--ktest-medium-blue);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.sidebar {
    width: 280px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #1799e4;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.main-content {
    margin-left: 280px;
    width: calc(100% - 280px);
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: var(--ktest-medium-blue);
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.hero-section {
    position: relative;
    height: 60vh;
    background-image: url('https://static.wixstatic.com/media/3f3134_6b46a7bb939943e184a586343aa35d9d~mv2.jpg/v1/fill/w_1200,h_800,al_c,q_85,usm_0.66_1.00_0.01/3f3134_6b46a7bb939943e184a586343aa35d9d~mv2.jpg');
    background-size: cover;
    background-position: center;
    color: var(--ktest-white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(4, 32, 49, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-icon {
    width: 110px;
    height: 110px;
}

.carousel-caption-custom {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1.25rem;
    color: #fff;
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.section-bg-accent {
    background-color: var(--ktest-medium-blue);
    border-radius: .5rem;
}

.btn-primary:hover {
    background-color: #007bc6;
    border-color: #007bc6;
}

.table-section-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--ktest-accent-blue); /* #0063aa */
    padding-bottom: 8px;
    margin-bottom: 20px;
}

/* Sidebar fixed width and height */
.sidebar-fixed {
    width: max-content;  /* Chiều rộng vừa với nội dung */
    min-width: 210px;    /* Không nhỏ hơn 210px nếu icon nhỏ */
    max-width: 260px;    /* Optional: giới hạn nếu quá dài */
    height: 100vh;
    position: sticky;
    top: 0;
    overflow-y: auto;
    background-color: var(--ktest-medium-blue); /* giữ màu */
    color: #fff;
    padding: 1rem;
    flex-shrink: 0; /* Không co lại khi resize */
}
