html,
body {
    padding: 0 !important;
    /* background: #f8f9fa; */
    background-image: url("../../images/BG-LOGIN.jpg");
    background-position: center;
    background-repeat: repeat-y;
    background-size: cover;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.container-fluid {
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 0;
    row-gap: 1.5rem;
    width: 100vw;
}

.section {
    flex: 1;
    /* ดัน footer ไปชิดล่าง */
}

footer {
    margin: 0;
    padding: 0;
}

.dropdown-menu {
    min-width: 200px;
    max-width: 100vw;
}

.navbar {
    padding: 0.8rem 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: linear-gradient(45deg, rgb(49, 85, 194), rgb(83, 61, 163));
}

.nav-main {
    font-weight: bold;
}

.nav-item>.nav-main:hover {
    color: #28a745 !important;
    font-weight: bold;
}

.navbar-brand {
    padding-right: 30px;
    font-weight: 600;
    font-size: 1.4rem;
    padding-left: 8px;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.6rem 1rem;
    transition: all 0.3s ease;
}

.navbar-dark .nav-link:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.sec-body-person>.card {
    padding-top: 20px;
    padding-bottom: 20px;
}

.head-table {
    font-size: 14px;
}

a {
    text-decoration: none;
}

.container-box {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}


.btn-custom:hover {
    background: #007bff;
    color: white;
}

/* Stepper Progress */
.stepper-wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.stepper-wrapper::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: #dee2e6;
    z-index: 1;
    transform: translateY(-50%);
}

.stepper-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.step-counter {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #6c757d;
    transition: all 0.3s ease;
}

.step-name {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #6c757d;
}

.stepper-item.active .step-counter {
    background: #0d6efd;
    color: white;
}

.stepper-item.completed .step-counter {
    background: #198754;
    color: white;
}

.stepper-item.completed .step-name {
    color: #198754;
}

.stepper-item.active .step-name {
    color: #0d6efd;
    font-weight: 600;
}

/* ซ่อน step form */
.step {
    display: none;
}

.step.active {
    display: block;
}