#table-data {
    border-collapse: separate;
    border-spacing: 0 10px;
    background-color: transparent;
    width: 100%;
}

#table-data thead {
    background-color: #4b6173;
    color: #fff;

}

#table-data thead th {
    padding: 1rem 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    font-weight: 900;
}

#table-data thead th:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

#table-data thead th:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

#table-data tbody tr {
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.20);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}

#table-data tbody tr:nth-child(even) {
    background-color: #dfe9f3;
}

#table-data tbody tr:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.20);
}

#table-data tbody td {
    padding: 1rem 2rem;
}

#table-data tbody td:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

#table-data tbody td:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.list-btn {
    margin-bottom: 50px;
}

.btn-add-data {
    background-color: #6399c4;
    width: 100%;
    padding: 12px;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
}

.btn-add-data-secondary {
    background-color: #4b6173;
    width: 100%;
    padding: 12px;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
}

.btn-add-data:hover {
    background-color: #6399c4;
}

.btn-add-data-secondary:hover {
    background-color: #4b6173;
}

.button-cancel {
    background-color: #edd15f;
    width: 100%;
    padding: 12px;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
}

.button-store {
    background-color: #6399c4;
    width: 100%;
    padding: 12px;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
}

.i-edit {
    font-size: 30px;
}

.i-delete {
    font-size: 30px;
    color: #dc3545;
}

.i-approve {
    font-size: 30px;
    color: #a6d96a;
}

.navbar-bg-primary {
    background-color: #edd15f;
    color: #fff;
}

.navbar-bg-primary .navbar-light .navbar-nav .nav-link {
    color: #fff;
}

.navbar-bg-primary .navbar-light .navbar-nav .nav-link:hover {
    background: none;
    border: 2px solid #fff;
    color: #000;
    border-radius: 20px;
}

.navbar-brand {
    margin-right: 0px;
    width: 20px;
    height: auto;
}

.top-title {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.20);
}

.card-content {
    border-top: 5px solid #95b2cf;
}

.card-grafik {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.20);
}


/* .left-sidebar {
    background-color: #c1dceb;
} */


/* ========== Style Modal ========== */

#modal-add-data .modal-content {
    border: none;
    border-radius: 10px;
}


.modal-header-add {
    background-color: #95b2cf;
    border: none;
    border-radius: 10px 10px 0px 0px;
    color: #4b6173;
}

/* ========== End Style Modal ========== */

.profile-container {
    position: relative;
    display: inline-block;
}

.edit-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #2563eb;
    color: #fff;
    border-radius: 50%;
    padding: 6px;
    cursor: pointer;
    font-size: 14px;
}

/* ========== Style Login & Register ========== */

.login-container {
    display: flex;
    height: 100vh;
}

.left-panel-login {
    flex: 1;
    background-color: transparent;
    /* warna biru */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
}

.left-panel-login h2 {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 28px;
}

.left-panel-login p {
    font-weight: 400;
    font-size: 14px;
    opacity: 0.8;
}

.right-panel-login {
    flex: 1;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.login-box {
    width: 100%;
    max-width: 350px;
}

.login-box h3 {
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

.login-box p {
    font-size: 13px;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
}

.login-box input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
}

.login-box button {
    width: 100%;
    padding: 12px;
    background-color: #6399c4;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
}

.login-box button:hover {
    background-color: #6399c4;
}

.signup-text {
    margin-top: 20px;
    font-size: 13px;
    text-align: center;
}

.signup-text a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.card-login {
    width: 100%;
    max-width: 380px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-login:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-register-bg {
    background: linear-gradient(90deg, rgba(69, 166, 204, 1) 0%, rgba(136, 235, 179, 1) 75%, rgba(102, 242, 146, 0.78) 100%);
    height: 100vh;
    width: 100%;
    border: none;
}

.button-cancel:hover {
    background-color: #edd15f;
}

.container-register {
    height: 100vh;
}

.left-panel-register {
    width: 50%;
    background: #6399c4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.left-panel-register img {
    max-width: 80%;
    height: auto;
    margin-bottom: 20px;
}

.left-panel-register p {
    font-size: 1.2rem;
    line-height: 1.5;
    max-width: 300px;
}


.right-panel-register {
    width: 50%;
    background: white;
    padding: 50px;
    display: flex;
    border-radius: 100px 0px 0px 100px;
    flex-direction: column;
    justify-content: center;
}

.right-panel-register h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
}


.divider {
    text-align: center;
    margin: 20px 0;
    color: #888;
    font-size: 0.9rem;
    position: relative;
}

.divider::before,
.divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #ccc;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.right-panel-register input {
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    outline: none;
    transition: border 0.2s ease;
}

.right-panel-register input:focus {
    border-color: #6399c4;
}

.right-panel-register button.create {
    background: #6399c4;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.right-panel-register button.create:hover {
    background: #6399c4;
}

.right-panel-register p {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
}

.right-panel-register p a {
    color: #6399c4;
    text-decoration: none;
}

/* ========== End Style Login & Register ========== */

/* ========== Style Profile ========== */

.card-shadow {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.20);
    border-radius: 5px !important;
}

.card-header-profile {
    background-color: #6399c4;
    color: #fff;
    border-radius: 5px 5px 0px 0px !important;
}

.card-header-profile span {
    font-weight: bold;
}

.card-section-profile {
    border-top: 5px solid #6399c4;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.20);

}

.img-profile {
    border: 2px solid #6399c4;
}


/* ========== End Style Profile ========== */

/* ========== End Style Dashboard ========== */
.card-welcome {
    background: linear-gradient(90deg, rgba(99, 153, 196, 1) 2%, rgba(149, 178, 207, 1) 13%, rgba(193, 220, 235, 1) 71%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.20);
}

.card-welcome h1 {
    font-weight: bold;
    color: #fff;
}

.card-welcome h2 {
    font-weight: bold;
    color: #4b6173;
}

/* ========== End Style Dashboard ========== */


/* ========== RESPONSIVE BREAKPOINTS ========== */

/* Mobile kecil (≤ 576px) */
@media (max-width: 576px) {

    /* style login & register */
    .left-panel-login {
        display: none;
    }

    .right-panel-login {
        padding: 0px;
    }

    .login-container {
        flex-direction: column;
        padding: 20px;
    }

    .card-login {
        max-width: 100%;
        padding: 20px;
    }

    /* end style login & register */
}

/* Tablet kecil (≤ 768px) */
@media (max-width: 768px) {

    /* style login & register */
    .left-panel-login {
        display: none;
        /* sembunyikan gambar */
    }

    .right-panel-login {
        padding: 0px;
    }

    .login-container {
        flex-direction: column;
        padding: 30px;
    }

    /* end style login & register */
}

/* Tablet besar / Laptop kecil (≤ 992px) */
@media (max-width: 992px) {

    /* style login & register */
    .left-panel-login {
        display: none;
        /* sembunyikan gambar */
    }

    .right-panel-login {
        padding: 0px;
    }

    .login-container {
        justify-content: center;
        align-items: center;
    }

    /* end style login & register */
}

/* Laptop standar (≤ 1200px) */
@media (max-width: 1200px) {

    /* style login & register */
    .card-login {
        max-width: 400px;
    }

    /* end style login & register */
}

/* Layar besar (> 1200px) */
@media (min-width: 1201px) {

    /* style login & register */
    .card-login {
        max-width: 380px;
        /* tetap ukuran normal */
    }

    /* end style login & register */
}
