@import "googleapis.css";

:root {
    --primary-red: #dc2626;
    --primary-red-dark: #991b1b;
    --primary-red-soft: #fee2e2;
    --primary-red-light: #fef2f2;
    --brand-accent: #f5b84b;
}

html, body {
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f8fafc;
}

.landing-page-body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #334155 100%);
    color: #ffffff;
}

.landing-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.landing-background {
    position: absolute;
    inset: 0;
    background: url("../img/header.jpg") center/cover no-repeat;
    z-index: 0;
}

.landing-background::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(15, 23, 42, 0.65) 0%, rgba(30, 41, 59, 0.5) 45%, rgba(51, 65, 85, 0.4) 100%);
    opacity: 1;
}

.landing-header {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 24px 24px 48px;
    display: flex;
    flex-direction: column;
}

.landing-nav {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-chip {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 12px 18px;
    border-radius: 999px;
    background: transparent;
    backdrop-filter: none;
    color: #ffffff;
}

.brand-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 18px;
    background: transparent;
    padding: 0;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-red);
}

.brand-subtitle {
    display: block;
    margin-top: 2px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.landing-nav .nav-link {
    color: #ffffff;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.landing-hero {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: center;
    justify-items: end;
    padding: 24px 0;
}

.login-card {
    max-width: 420px;
    width: 100%;
    justify-self: end;
}

.hero-copy h1 {
    font-size: clamp(2.2rem, 3.4vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #ffffff;
}

.hero-kicker {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: transparent;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #ffffff;
    max-width: 560px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.hero-badges span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 0.95rem;
    font-weight: 600;
}

.login-card {
    background: rgba(255, 255, 255, 0.52);
    color: #17324b;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.card-header {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-red);
}

.login-card .card-header {
    color: #ffffff;
}

.form-errors p {
    margin: 0 0 8px;
    color: #b91c1c;
    font-size: 0.95rem;
}

.login-card .input-group-text {
    background: rgba(252, 165, 165, 0.18);
    color: var(--primary-red);
    border: 1px solid rgba(220, 38, 38, 0.18);
    border-right: 0;
}

.login-card .landing-input {
    border-left: 0;
    border-radius: 0 12px 12px 0;
    border: 1px solid rgba(220, 38, 38, 0.16);
    box-shadow: none;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.18);
    color: #17324b;
}

.login-card .landing-input::placeholder {
    color: rgba(23, 50, 75, 0.6);
}

.login-card .btn-show-pw {
    border-left: 0;
    border-radius: 0 12px 12px 0;
    background: rgba(252, 165, 165, 0.18);
    color: var(--primary-red);
}

.login-card .btn-login {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 12px 16px;
    margin-top: 16px;
    background: var(--primary-red);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(220, 38, 38, 0.24);
}

.login-card .btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(120, 20, 20, 0.4);
    background: #7f1d1d;
}

.login-card .external-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--primary-red);
    font-weight: 600;
}

.login-card .external-link:hover {
    color: #991b1b;
}

@media (max-width: 900px) {
    .landing-hero {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .login-card {
        justify-self: center;
    }
}

@media (max-width: 640px) {
    .landing-header {
        padding: 18px 16px 32px;
    }

    .landing-nav {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .login-card {
        padding: 22px;
    }
}

* {
    box-sizing: border-box;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.divider-welcome {
    width: 60%;
}

.download-link {
    color: var(--primary-red);
    cursor: pointer;
    transition: .3s;
}


.download-link:visited {
    color: var(--primary-red);
    outline: 0;
}

.download-link:hover {
    color: var(--primary-red-dark);
    outline: 0;
}

.download-link:active {
    color: var(--primary-red);
    outline: 0;
}

.download-link:focus {
    color: var(--primary-red);
    outline: 0;
}

#form-content {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
}

.table-shadow {
    margin: 0;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
}

table th {
    text-align: center;
}

table tr {
    background-color: #fff;
}

table td {
    background-color: #fff;
    transition: .3s;
}

dl {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}
dt {
    text-align: right;
    width: 25%;
    padding-right: 10px;
}
dd {
    margin-left: auto;
    width: 75%;
}

.dt-keluarga {
    width: 26% !important;
}

.dd-keluarga {
    width: 74% !important;
}

#footer {
    background-color: #777;
    padding-left: 280px;
    margin-top: 20px;
    width: 100%;
    font-size: 12px;
    color: #fff;
    transition: 0.3s;
}

#footer.active {
    padding-left: 0px;
}

.wrapper {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.select2-container {
    width: 100% !important;
}

.my-statistik {
    font-family: 'Arial'
}

.my-card {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(12px);
}

.my-card2 {
    box-shadow: none;
    border: none;
    background: transparent;
}

.my-card-header {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    cursor: pointer;
    transition: all 0.3s;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px 24px 0 0;
}

.my-card-header:hover {
    background: linear-gradient(135deg, var(--primary-red-dark) 0%, #7f1d1d 100%);
}

.sub-my-card-header {
    color: #0f172a;
    background-color: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.36);
    border-left: 1px solid rgba(255, 255, 255, 0.36);
    border-right: 1px solid rgba(255, 255, 255, 0.36);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    padding: 16px 20px;
}

.sub-my-card-header:hover {
    background-color: rgba(255, 255, 255, 1);
}

.sub-card-body {
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 1px solid rgba(255, 255, 255, 0.24);
    border-right: 1px solid rgba(255, 255, 255, 0.24);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
}

.padding-sub-card {
    margin-top: 10px;
}

.card-header-dashboard {
    height: 48px;
    width: 100%;
    position: absolute;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    top: -24px;
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(185, 28, 28, 0.18);
    left: 50%;
    transform: translateX(-50%);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.row .dashboard-spacing-35 {
    margin-bottom: 0px;
}

hr.dashboard-spacing-35 {
    margin-bottom: 35px;
}

.sm-overlay {
    position: fixed; 
    top: 0px; 
    left: 0px; 
    z-index: 80; 
    height: 100%; 
    width: 100%; 
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
}

.sm-overlay.active {
    position: fixed; 
    top: 0px; 
    left: 0px; 
    z-index: 80; 
    height: 100%; 
    width: 100%; 
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
}

.loading-overlay {
    position: fixed; 
    top: 0px; 
    left: 0px; 
    z-index: 80; 
    height: 100%; 
    width: 100%; 
    background-color: rgba(255, 255, 255, 0.7);
    display: none;
} 

.loading-overlay.active {
    display: block;
} 

.loader {
    top: 44px;
    height: 4px;
    width: 100%;
    z-index: 85; 
    position: relative;
    overflow: hidden;
    background-color: #ddd;
    display: none;
}
.loader.active {
    top: 44px;
    height: 4px;
    width: 100%;
    z-index: 85; 
    position: relative;
    overflow: hidden;
    background-color: #ddd;
    display: block;
}
.loader:before{
    display: block;
    position: absolute;
    content: "";
    left: -200px;
    width: 200px;
    height: 4px;
    background-color: var(--primary-red);
    animation: loading 2s linear infinite;
}
  
@keyframes loading {
    from {left: -200px; width: 30%;}
    50% {width: 30%;}
    70% {width: 70%;}
    80% { left: 50%;}
    95% {left: 120%;}
    to {left: 100%;}
}

/*+---------------------------+
  |                           |
  |    Landing Page & Login   |
  |                           |
  +---------------------------+*/


.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  background-color: transparent;
}

.login-wrapper {
    width: auto; 
    height: auto; 
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28); 
    backdrop-filter: blur(12px);
    border-radius: 12px; 
    padding: 35px 20px 20px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.form-login-input::placeholder {
    color: rgba(255,255,255,.5);
    opacity: 1;
}

.form-login-input {
    background-color: transparent;
    border: 1px solid #fff; 
    color: white;
}

.form-login-input:focus {
    background-color: rgba(0,0,0,.3);
    border: 1px solid #fff; 
    color: white;
}

.btn-red, .btn-blue {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 600;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
    vertical-align: middle !important;
}

.btn-red:hover, .btn-blue:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 12px -2px rgba(239, 68, 68, 0.5) !important;
    transform: translateY(-1px);
}

.btn-red:disabled {
    background: #64748b !important;
    color: #94a3b8 !important;
    outline: 0;
    cursor: not-allowed;
    box-shadow: none !important;
}

.btn-login {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 20px;
    width: 100%;
    height: 46px;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.4);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.btn-login:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 12px -2px rgba(239, 68, 68, 0.6);
    transform: translateY(-1px);
}

.btn-login:disabled {
    background: #64748b !important;
    color: #94a3b8 !important;
    outline: 0;
    cursor: not-allowed;
    box-shadow: none !important;
}

.password-login {
    margin-bottom: 10px;
    margin-top: 20px;
}

.error-login {
    color: #ff0000;
    font-size: 14px;
}

.btn-show-pw {
    outline: none;
    cursor: pointer;
}

.btn-show-pw:hover {
    background-color: #ddd;
}

.btn-batuan {
    border: 1px solid white;
}
.btn-batuan:hover {
    color: white;
    background-color: rgba(255,255,255,.3);
    outline: 0;
}



/*+---------------------------+
  |                           |
  |          Sidebar          |
  |                           |
  +---------------------------+*/

  #sidebar {
    min-width: 280px;
    max-width: 280px;
    min-height: 100vh;
    position: fixed;
    overflow-y: auto;
    top: 0;
    left: 0;
    z-index: 90;
    background: linear-gradient(180deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: #fff;
    transition: all 0.3s;
    box-shadow: 2px 0 24px rgba(0, 0, 0, 0.16);
    border-right: 1px solid rgba(255,255,255,0.08);
}

#sidebar.active {
    margin-left: -280px
}

.sidebar-user {
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    margin: 14px 14px 10px 14px;
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(10px);
}

.sidebar-user a{
    display: block;
    padding: 20px 20px 0px 20px;
    margin: 0px;
    font-size: .9em;
    transition: all .1s;
}

.sidebar-user span{
    display: block;
    padding: 0px 10px 20px 20px;
    margin: 0px;
    font-size: .8em;
    transition: all .1s;
}

#sidebar .sidebar-header a {
    display: block;
    padding: 6px 0px;
    margin: 0px;
    font-size: 20px;
    align-items: center;
    text-align: center;
    transition: all .1s;
}

#sidebar .sidebar-header a:hover {
    background-color: rgba(255, 255, 255, 0.16);
}

#sidebar hr {
    margin: 0px 20px;
    border-bottom: 1px solid ;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar  .my-ul {
    margin: 20px 10px;
}

#sidebar ul li a {
    padding: 12px 10px;
    font-size: .85em;
    display: block;
    color: #fff;
    transition: all 0.3s;
    border-radius: 12px;
}
#sidebar ul li a:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.18);
}

#sidebar ul ul li a {
    padding: 12px;
    display: block;
    color: rgba(255,255,255,.78);
    transition: all 0.3s;
    font-size: 0.85em;
    padding-left: 32px !important;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 0;
}

#sidebar ul ul li:last-child a {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}
#sidebar ul li a:hover {
    color: rgb(255,255,255);
    background-color: rgba(255, 255, 255, 0.18);
}

#sidebar ul li.active > a, #sidebar ul li > a[data-toggle="collapse"]:not(.collapsed) {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

#sidebar:not(.active) ul li > a[data-toggle="collapse"]:not(.collapsed) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

#sidebar ul li a i {
    width: 20px;
    text-align: center;
}

#sidebar ul li a span {
    padding-left: 10px;
}

.side-icon {
    transition: transform 0.3s ease;
}

#sidebar ul li > a {
    position: relative;
}

#sidebar ul li > a .side-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

#sidebar ul li > a[data-toggle="collapse"]:not(.collapsed) .side-icon {
    transform: translateY(-50%) rotate(180deg);
}

.my-notif {
    font-style: normal;
    font-size: .8em;
    font-family: Arial, Helvetica, sans-serif;
    background-color: red;
    color: white;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

/*+---------------------------+
  |                           |
  |           Header          |
  |                           |
  +---------------------------+*/

#header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    z-index: 90;
    position: fixed;
    top: 0;
    left: 280px;
    right: 0;
    margin-left: 0;
    padding-right: 0;
    transition: all .3s;
    width: calc(100% - 280px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

#header.active {
    left: 0;
    right: 0;
    margin-left: 0px;
    padding-right: 0px;
    width: 100%;
}

.navbar {
    height: 44px;
    padding: 10px;
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.navbar-btn:hover {
    transform: translateY(-1px);
}

#sidebarCollapse {
    width: 30px;
    height: 30px;
    background: transparent;
}

#sidebarCollapse span {
    width: 80%;
    height: 2px;
    margin: 0 auto;
    display: block;
    background: #555;
    transition: all 0.3s ease-in-out;
}

#sidebarCollapse span:first-of-type {
    /* rotate first one */
    transform: rotate(45deg) translate(2px, 2px);
}
#sidebarCollapse span:nth-of-type(2) {
    /* second one is not visible */
    opacity: 0;
}
#sidebarCollapse span:last-of-type {
    /* rotate third one */
    transform: rotate(-45deg) translate(1px, -1px);
}

#sidebarCollapse.active span {
    /* no rotation */
    transform: none;
    /* all bars are visible */
    opacity: 1;
    margin: 3px auto;
}

.input-lg {
    display: block;
}

.input-mn {
    display: none;
}

.nama-lg {
    display: inline-block;
    line-height: 2.6em;
}

.nama-mn {
    display: none;
}

/*+---------------------------+
  |                           |
  |          Content          |
  |                           |
  +---------------------------+*/
  
  #content {
    width: 100%;
    padding: 90px 0px 20px 280px !important;
    min-height: 100vh;
    margin-bottom: -44px;
    transition: all 0.3s;
}

.content-wrapper {
    max-width: 1280px;
    margin: 20px auto 32px !important;
    padding: 24px 24px 32px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.dashboard-table {
    width: 100%;
}

.page-item {
    z-index: 10;
}

#content.active {
    padding: 90px 0px 5px 0px !important;
}

.toolbar {
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.92);
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 18px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
    z-index: 100;
}

.toolbar .col-sm-12 {
    padding: 0px;
}

.action-btn {
    margin: 0 5px;
    outline: none !important;
    text-decoration: none;
}

.modal-footer .action-btn {
    font-size: 14px;
    padding: 10px;
}

.accordion-dashboard {
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
}

.btn-green-age {
    background-color: #2ecc71;
    color: #fff;
    transition: all 0.3s;
    width: 100%;
}


.btn-green-age:visited {
    background-color: #2ecc71;
    color: #fff;
}

.btn-green-age:hover {
    background-color: #27ae60;
    color: #fff;
}

.btn-green-age:focus {
    background-color: #2ecc71;
    color: #fff;
}

.btn-green {
    background-color: var(--primary-red);
    color: #fff;
    transition: all 0.3s;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.24);
}


.btn-green:visited {
    background-color: #2ecc71;
    color: #fff;
}

.btn-green:hover {
    background-color: #27ae60;
    color: #fff;
}

.btn-green:focus {
    background-color: #2ecc71;
    color: #fff;
}

.btn-green:active {
    background-color: #2ecc71;
    color: #fff;
}

.btn-green i {
    padding-right: 10px;
}

.btn-yellow {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--primary-red);
    transition: all 0.3s;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.5);
}


.btn-yellow:visited {
    background-color: #f1c40f;
    color: #fff;
}

.btn-yellow:hover {
    background-color: #f39c12;
    color: #fff;
}

.btn-yellow:focus {
    background-color: #f1c40f;
    color: #fff;
}

.btn-yellow:active {
    background-color: #f1c40f;
    color: #fff;
}

.btn-yellow-2nd {
    background-color: #f1c40f;
    color: #fff;
    transition: all 0.3s;
}

.btn-yellow-2nd:link {
    background-color: #f1c40f;
    color: #fff;
    transition: all 0.3s;
}

.btn-yellow-2nd:visited {
    background-color: #f1c40f;
    color: #fff;
}

.btn-yellow-2nd:hover {
    background-color: #f39c12;
    color: #fff;
}

.btn-yellow-2nd:focus {
    background-color: #f1c40f;
    color: #fff;
}

.btn-yellow-2nd:active {
    background-color: #f1c40f;
    color: #fff;
}

.btn-yellow-2nd span {
    padding-bottom: 2px;
    padding-top: 2px;
}


.btn-blue {
    background-color: #3498db;
    color: #fff;
    line-height: 0.9em;
    transition: all 0.3s;
}


.btn-blue:visited {
    background-color: #3498db;
    color: #fff;
}

.btn-blue:hover {
    background-color: #2980b9;
    color: #fff;
}

.btn-blue:focus {
    background-color: #2980b9;
    color: #fff;
}

.btn-blue:active {
    background-color: #3498db;
    color: #fff;
}

.btn-blue span {
    padding-bottom: 2px;
    padding-top: 2px;
}

.btn-alert {
    margin-right: -43px;
}

.btn-add {
    background-color: #2ecc71;
    color: #fff;
    transition: all 0.3s;
}


.btn-add:visited {
    background-color: #2ecc71;
    color: #fff;
}

.btn-add:hover {
    background-color: #27ae60;
    color: #fff;
}

.btn-add:focus {
    background-color: #2ecc71;
    color: #fff;
}

.btn-add:active {
    background-color: #2ecc71;
    color: #fff;
}




#btn-search {
    font-size: 20px;
    line-height: 1em;
}

#btn-edit {
    background-color: #3498db;
    color: #fff;
    transition: all 0.3s;
}

#btn-edit:hover {
    background-color: #2980b9;
}

#btn-del {
    background-color: #e74c3c;
    color: #fff;
    transition: all 0.3s;
}

.btn-del-row {
    background-color: #e74c3c;
    color: #fff;
    transition: all 0.3s;
}

#btn-del:hover {
    background-color: #c0392b;
}

.btn-row-keluarga {
    margin-top: 30px;
    padding: 5px 10px;
}

#btn-submit {
    width: 200px;
}

.my-radio {
    padding-top: 7px;
}

.my-radio div label {
    padding-top: 2px;
}

.my-checkbox {
    padding-left: 10px;
    padding-bottom: 10px;
    outline: none;
}

.age-input {
    outline: none;
    border: 1px solid #aaa;
    line-height: 1.6em;
    width: 100%;
}

.search-input {
    outline: none;
    border: 1px solid transparent;
    line-height: 1.6em;
    width: 0%;
    transition: all 0.3s;
}

.search-input.active {
    width: 30%;
}

.search-input:focus {
    border-bottom: 1px solid #aaa;
}

.form-pdd {
    padding: 10px 10px 0px 10px;
}

.form-warning {
    font-family: "Arial", sans-serif;
    font-size: 14px;
    margin: 4px 0px 4px 10px;
    font-weight: bold;
}

.red-aster {
    color: #ff0000;
    font-weight: bold;
}

.table {
    margin: 0px;
    padding: 0px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.new-input {
    margin-top: 5px;
}

.span_err {
    margin: 0px;
    padding: 2px 0px 0px 5px;
    color: #ff0000;
    position: absolute;
}

.form_err {
    border: 2px solid #ff0000;
}

.float{
    position:fixed;
    width:40px;
    height:40px;
    bottom:75px;
    right:27px;
    background-color:#e74c3c;
    color:#FFF;
    border-radius:50px;
    text-align:center;
    z-index: 10000;
    transition: all 0.3s;
}

.float:hover{
    background-color: #c0392b;
    color:#FFF;
}

.float:focus{
    color: #fff;
}

.my-float{
    margin-top:13px;
}

.alert-delete{
    margin-bottom: 0px;
    margin-top: 10px;
}

.label-keluarga {
    font-family: 'Poppins', sans-serif;
    font-size: 23px; 
}


/*+---------------------------+
  |                           |
  |        Autocomplete       |
  |                           |
  +---------------------------+*/


/*.ui-corner-all
{
    border-radius: 4px 4px 4px 4px;
}*/

.ui-widget
{
    font-size: 15px;
    font-family: "Arial", sans-serif;
    text-transform: uppercase;
}
.ui-menu
{
    display: block;
    float: left;
    list-style: none outside none;
    margin: 0;
    padding: 2px;
}
.ui-autocomplete
{
     overflow-x: hidden;
      max-height: 200px;
      width:1px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    display: none;
    min-width: 160px;
    _width: 160px;
    padding: 4px 0;
    margin: 2px 0 0 0;
    list-style: none;
    background-color: #fff;
    border-color: #ccc;
    border-color: rgba(0, 0, 0, 0.2);
    border-style: solid;
    border-width: 1px;
    /*-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;*/
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    *border-right-width: 2px;
    *border-bottom-width: 2px;
}
.ui-menu .ui-menu-item
{
    clear: left;
    float: left;
    margin: 0;
    padding: 0;
    width: 100%;
}
.ui-menu .ui-menu-item a
{
    display: block;
    padding: 3px 3px 3px 3px;
    text-decoration: none;
    cursor: pointer;
    background-color: #ffffff;
}
.ui-menu .ui-menu-item a:hover
{
    display: block;
    padding: 3px 3px 3px 3px;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    background-color: #3498db;
}
.ui-widget-content a
{
    color: #222222;
}

@media (max-width: 1023px) {
    dl {
        display: block;
        margin: 0px;
    }

    dt {
        text-align: left;
        width: 20%;
    }

    dd {
        width: 80%;
        margin: 0px 0px 10px 0px;
    }

    .dt-keluarga {
        width: 100% !important;
    }

    .dd-keluarga {
        width: 100% !important;
    }

    .container-fluid {
        margin-top: -8px;
    }

    .error-login {
        color: #ff0000;
        font-size: 14px;
        font-weight: 700;
    }

    .dashboard-table {
        width: 100%;
    }
}

@media (max-width: 1000px) {
    #sidebar {
        overflow-y: auto;
        margin-left: -280px;
        height: 100%;
        transform: rotateY(100deg);
    }

    #sidebar.active {
        margin-left: 0;
        transform: none;
    }

    #header {
        margin-left: 0px;
        padding-right: 0px;
        transition: all 0.3s;
    }

    #header.active {
        margin-left: 280px;
        padding-right: -280px;
    }

    .container-fluid {
        margin-top: -8px;
    }

    #content {
        width: 100%;
        padding: 64px 0px 20px 0px;
        min-height: 100vh;
        margin-bottom: -44px;
        transition: all 0.3s;
    }

    #sidebarCollapse span:first-of-type,
    #sidebarCollapse span:nth-of-type(2),
    #sidebarCollapse span:last-of-type {
        transform: none;
        opacity: 1;
        margin: 3px auto;
        transition: all 0.3s;
    }

    #sidebarCollapse.active span {
        margin: 0 auto;
    }

    #sidebarCollapse.active span:first-of-type {
        transform: rotate(45deg) translate(2px, 2px);
    }

    #sidebarCollapse.active span:nth-of-type(2) {
        opacity: 0;
    }

    #sidebarCollapse.active span:last-of-type {
        transform: rotate(-45deg) translate(1px, -1px);
    }

    .search-input {
        outline: none;
        border: none;
        line-height: 1.6em;
        width: 0%;
        transition: all 0.3s;
    }

    .search-input.active {
        width: 50%;
    }

    .input-lg {
        display: none;
    }

    .input-mn {
        display: block;
        width: 12px;
    }

    .nama-lg {
        display: none;
    }

    .nama-mn {
        display: inline-block;
        line-height: 2.6em;
    }

    .btn-green i {
        padding: 0px;
    }

    .btn-yellow i {
        padding: 0;
        margin-left: -1px;
    }

    .btn-blue i {
        padding: 0px;
        margin-left: -1px;
    }

    .btn-del-keluarga {
        margin-top: 0px;
        height: auto;
        float: right;
    }

    dl {
        display: block;
        margin: 0px;
    }

    dt {
        text-align: left;
        width: 100%;
    }

    dd {
        width: 100%;
        margin: 0px 0px 10px 0px;
    }

    .dt-keluarga {
        width: 100% !important;
    }

    .dd-keluarga {
        width: 100% !important;
    }

    #footer {
        padding: 0px;
        margin: 20px 0px 0px 0px;
        width: 100%;
    }

    .row .dashboard-spacing-35 {
        margin-bottom: 35px;
    }

    .sm-overlay {
        position: fixed; 
        top: 0px; 
        left: 0px; 
        z-index: 80; 
        height: 100%; 
        width: 100%; 
        background-color: rgba(0, 0, 0, 0.3);
        display: none;
    }
    
    .sm-overlay.active {
        position: fixed; 
        top: 0px; 
        left: 0px; 
        z-index: 80; 
        height: 100%; 
        width: 100%; 
        background-color: rgba(0, 0, 0, 0.3);
        display: block;
    }

    .accordion-dashboard {
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 30px;
    }

    .my-statistik {
        font-family: 'Arial';
        padding: 0;
    }

    .h4-form {
        width: 100%;
    }
}

@media (max-width: 375px){
    .login-wrapper {
        margin-left : 20px;
        margin-right : 20px;
    }

    .divider-welcome {
        width: 90%;
    }

    .moto {
        font-size: 1em;
    }
}

/* ==========================================================================
   Rounded Select Dropdown Component
   ========================================================================== */
.custom-select-rounded {
    border-radius: 10px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 8px 36px 8px 14px !important;
    height: 42px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    background-color: #ffffff !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s ease-in-out !important;
    cursor: pointer !important;
}

.custom-select-rounded:focus {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
    outline: none !important;
}

.landing-nav {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-chip {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 12px 18px;
    border-radius: 999px;
    background: transparent;
    backdrop-filter: none;
    color: #ffffff;
}

.brand-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 18px;
    background: transparent;
    padding: 0;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-red);
}

.brand-subtitle {
    display: block;
    margin-top: 2px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.landing-nav .nav-link {
    color: #ffffff;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.landing-hero {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: center;
    justify-items: end;
    padding: 24px 0;
}

.login-card {
    max-width: 420px;
    width: 100%;
    justify-self: end;
}

.hero-copy h1 {
    font-size: clamp(2.2rem, 3.4vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #ffffff;
}

.hero-kicker {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: transparent;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #ffffff;
    max-width: 560px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.hero-badges span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 0.95rem;
    font-weight: 600;
}

.login-card {
    background: rgba(255, 255, 255, 0.52);
    color: #17324b;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.card-header {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-red);
}

.login-card .card-header {
    color: #ffffff;
}

.form-errors p {
    margin: 0 0 8px;
    color: #b91c1c;
    font-size: 0.95rem;
}

.login-card .input-group-text {
    background: rgba(252, 165, 165, 0.18);
    color: var(--primary-red);
    border: 1px solid rgba(220, 38, 38, 0.18);
    border-right: 0;
}

.login-card .landing-input {
    border-left: 0;
    border-radius: 0 12px 12px 0;
    border: 1px solid rgba(220, 38, 38, 0.16);
    box-shadow: none;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.18);
    color: #17324b;
}

.login-card .landing-input::placeholder {
    color: rgba(23, 50, 75, 0.6);
}

.login-card .btn-show-pw {
    border-left: 0;
    border-radius: 0 12px 12px 0;
    background: rgba(252, 165, 165, 0.18);
    color: var(--primary-red);
}

.login-card .btn-login {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 12px 16px;
    margin-top: 16px;
    background: var(--primary-red);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(220, 38, 38, 0.24);
}

.login-card .btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(120, 20, 20, 0.4);
    background: #7f1d1d;
}

.login-card .external-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--primary-red);
    font-weight: 600;
}

.login-card .external-link:hover {
    color: #991b1b;
}

@media (max-width: 900px) {
    .landing-hero {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .login-card {
        justify-self: center;
    }
}

@media (max-width: 640px) {
    .landing-header {
        padding: 18px 16px 32px;
    }

    .landing-nav {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .login-card {
        padding: 22px;
    }
}

* {
    box-sizing: border-box;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.divider-welcome {
    width: 60%;
}

.download-link {
    color: var(--primary-red);
    cursor: pointer;
    transition: .3s;
}


.download-link:visited {
    color: var(--primary-red);
    outline: 0;
}

.download-link:hover {
    color: var(--primary-red-dark);
    outline: 0;
}

.download-link:active {
    color: var(--primary-red);
    outline: 0;
}

.download-link:focus {
    color: var(--primary-red);
    outline: 0;
}

#form-content {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
}

.table-shadow {
    margin: 0;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
}

table th {
    text-align: center;
}

table tr {
    background-color: #fff;
}

table td {
    background-color: #fff;
    transition: .3s;
}

dl {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}
dt {
    text-align: right;
    width: 25%;
    padding-right: 10px;
}
dd {
    margin-left: auto;
    width: 75%;
}

.dt-keluarga {
    width: 26% !important;
}

.dd-keluarga {
    width: 74% !important;
}

#footer,
.dashboard-footer {
    background-color: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    padding: 16px 20px 16px 270px !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    color: #64748b !important;
    transition: all 0.3s ease-in-out !important;
    width: 100% !important;
    box-shadow: 0 -1px 3px 0 rgba(0, 0, 0, 0.02) !important;
}

#footer.active,
.dashboard-footer.active {
    padding-left: 20px !important;
}

#footer span,
.dashboard-footer span {
    color: #64748b !important;
}

.wrapper {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.select2-container {
    width: 100% !important;
}

.my-statistik {
    font-family: 'Arial'
}

.my-card {
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
}

.my-card2 {
    box-shadow: none;
    border: none;
    background: transparent;
}

.my-card-header {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    cursor: pointer;
    transition: all 0.3s;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px 24px 0 0;
}

.my-card-header:hover {
    background: linear-gradient(135deg, var(--primary-red-dark) 0%, #7f1d1d 100%);
}

.sub-my-card-header {
    color: #0f172a;
    background-color: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.36);
    border-left: 1px solid rgba(255, 255, 255, 0.36);
    border-right: 1px solid rgba(255, 255, 255, 0.36);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    padding: 16px 20px;
}

.sub-my-card-header:hover {
    background-color: rgba(255, 255, 255, 1);
}

.sub-card-body {
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 1px solid rgba(255, 255, 255, 0.24);
    border-right: 1px solid rgba(255, 255, 255, 0.24);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
}

.padding-sub-card {
    margin-top: 10px;
}

.card-header-dashboard {
    height: 48px;
    width: 100%;
    position: absolute;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    top: -24px;
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(185, 28, 28, 0.18);
    left: 50%;
    transform: translateX(-50%);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.row .dashboard-spacing-35 {
    margin-bottom: 0px;
}

hr.dashboard-spacing-35 {
    margin-bottom: 35px;
}

.sm-overlay {
    position: fixed; 
    top: 0px; 
    left: 0px; 
    z-index: 80; 
    height: 100%; 
    width: 100%; 
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
}

.sm-overlay.active {
    position: fixed; 
    top: 0px; 
    left: 0px; 
    z-index: 80; 
    height: 100%; 
    width: 100%; 
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
}

.loading-overlay {
    position: fixed; 
    top: 0px; 
    left: 0px; 
    z-index: 80; 
    height: 100%; 
    width: 100%; 
    background-color: rgba(255, 255, 255, 0.7);
    display: none;
} 

.loading-overlay.active {
    display: block;
} 

.loader {
    top: 44px;
    height: 4px;
    width: 100%;
    z-index: 85; 
    position: relative;
    overflow: hidden;
    background-color: #ddd;
    display: none;
}
.loader.active {
    top: 44px;
    height: 4px;
    width: 100%;
    z-index: 85; 
    position: relative;
    overflow: hidden;
    background-color: #ddd;
    display: block;
}
.loader:before{
    display: block;
    position: absolute;
    content: "";
    left: -200px;
    width: 200px;
    height: 4px;
    background-color: var(--primary-red);
    animation: loading 2s linear infinite;
}
  
@keyframes loading {
    from {left: -200px; width: 30%;}
    50% {width: 30%;}
    70% {width: 70%;}
    80% { left: 50%;}
    95% {left: 120%;}
    to {left: 100%;}
}

/*+---------------------------+
  |                           |
  |    Landing Page & Login   |
  |                           |
  +---------------------------+*/


.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  background-color: transparent;
}

.login-wrapper {
    width: auto; 
    height: auto; 
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28); 
    backdrop-filter: blur(12px);
    border-radius: 12px; 
    padding: 35px 20px 20px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.form-login-input::placeholder {
    color: rgba(255,255,255,.5);
    opacity: 1;
}

.form-login-input {
    background-color: transparent;
    border: 1px solid #fff; 
    color: white;
}

.form-login-input:focus {
    background-color: rgba(0,0,0,.3);
    border: 1px solid #fff; 
    color: white;
}

.btn-red, .btn-blue {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 600;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
    vertical-align: middle !important;
}

.btn-red:hover, .btn-blue:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 12px -2px rgba(239, 68, 68, 0.5) !important;
    transform: translateY(-1px);
}

.btn-red:disabled {
    background: #64748b !important;
    color: #94a3b8 !important;
    outline: 0;
    cursor: not-allowed;
    box-shadow: none !important;
}

.btn-login {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 20px;
    width: 100%;
    height: 46px;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.4);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.btn-login:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 12px -2px rgba(239, 68, 68, 0.6);
    transform: translateY(-1px);
}

.btn-login:disabled {
    background: #64748b !important;
    color: #94a3b8 !important;
    outline: 0;
    cursor: not-allowed;
    box-shadow: none !important;
}

.password-login {
    margin-bottom: 10px;
    margin-top: 20px;
}

.error-login {
    color: #ff0000;
    font-size: 14px;
}

.btn-show-pw {
    outline: none;
    cursor: pointer;
}

.btn-show-pw:hover {
    background-color: #ddd;
}

.btn-batuan {
    border: 1px solid white;
}
.btn-batuan:hover {
    color: white;
    background-color: rgba(255,255,255,.3);
    outline: 0;
}



/*+---------------------------+
  |                           |
  |          Sidebar          |
  |                           |
  +---------------------------+*/

  #sidebar {
    min-width: 280px;
    max-width: 280px;
    min-height: 100vh;
    position: fixed;
    overflow-y: auto;
    top: 0;
    left: 0;
    z-index: 90;
    background: linear-gradient(180deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: #fff;
    transition: all 0.3s;
    box-shadow: 2px 0 24px rgba(0, 0, 0, 0.16);
    border-right: 1px solid rgba(255,255,255,0.08);
}

#sidebar.active {
    margin-left: -280px
}

.sidebar-user {
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    margin: 14px 14px 10px 14px;
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(10px);
}

.sidebar-user a{
    display: block;
    padding: 20px 20px 0px 20px;
    margin: 0px;
    font-size: .9em;
    transition: all .1s;
}

.sidebar-user span{
    display: block;
    padding: 0px 10px 20px 20px;
    margin: 0px;
    font-size: .8em;
    transition: all .1s;
}

#sidebar .sidebar-header a {
    display: block;
    padding: 14px 0px;
    margin: 0px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.04em;
    align-items: center;
    text-align: center;
    transition: all .15s;
    color: #fff;
}

#sidebar .sidebar-header a:hover {
    background-color: rgba(255, 255, 255, 0.14);
}

#sidebar hr {
    margin: 0px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.18);
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar  .my-ul {
    margin: 20px 10px;
}

#sidebar ul li a {
    padding: 12px 10px;
    font-size: .85em;
    display: block;
    color: #fff;
    transition: all 0.3s;
    border-radius: 12px;
}
#sidebar ul li a:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.18);
}

#sidebar ul ul li a {
    padding: 12px;
    display: block;
    color: rgba(255,255,255,.78);
    transition: all 0.3s;
    font-size: 0.85em;
    padding-left: 32px !important;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 0;
}

#sidebar ul ul li:last-child a {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}
#sidebar ul li a:hover {
    color: rgb(255,255,255);
    background-color: rgba(255, 255, 255, 0.18);
}

#sidebar ul li.active > a, #sidebar ul li > a[data-toggle="collapse"]:not(.collapsed) {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

#sidebar:not(.active) ul li > a[data-toggle="collapse"]:not(.collapsed) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

#sidebar ul li a i {
    width: 20px;
    text-align: center;
}

#sidebar ul li a span {
    padding-left: 10px;
}

.side-icon {
    transition: transform 0.3s ease;
}

#sidebar ul li > a {
    position: relative;
    padding-right: 35px;
}

#sidebar ul li > a .side-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

#sidebar ul li > a[data-toggle="collapse"]:not(.collapsed) .side-icon {
    transform: translateY(-50%) rotate(180deg);
}

.my-notif {
    font-style: normal;
    font-size: .8em;
    font-family: Arial, Helvetica, sans-serif;
    background-color: red;
    color: white;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

/*+---------------------------+
  |                           |
  |           Header          |
  |                           |
  +---------------------------+*/

#header {
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    z-index: 90;
    position: fixed;
    top: 0;
    left: 280px;
    right: 0;
    margin-left: 0;
    padding: 0 0 12px 0;
    transition: all .3s;
    width: calc(100% - 280px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

#header.active {
    margin-left: 0px;
    padding-right: 0px;
    width: 100%;
}

#header {
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

.navbar {
    min-height: 70px !important;
    padding: 12px 28px !important;
    display: flex !important;
    align-items: center !important;
    background: transparent !important;
}

.header-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

.header-brand-group {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}

#sidebarCollapse.navbar-btn {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
    transition: all 0.2s ease-in-out !important;
}

#sidebarCollapse.navbar-btn:hover {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #dc2626 !important;
}

.header-brand {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.brand-logo {
    height: 40px !important;
    object-fit: contain !important;
    background: transparent !important;
    border-radius: 0 !important;
}

.brand-copy {
    display: flex !important;
    flex-direction: column !important;
}

.brand-name {
    font-size: 1.05rem !important;
    letter-spacing: 0.05em !important;
    font-weight: 700 !important;
    color: #dc2626 !important;
}

.brand-subtitle {
    font-size: 0.75rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

.header-right {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

.header-icons {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.icon-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b !important;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out !important;
}

.icon-btn:hover {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #dc2626 !important;
}

.profile-block {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

.profile-info {
    display: flex !important;
    flex-direction: column !important;
}

.profile-name {
    display: block !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
}

.profile-role {
    display: block !important;
    font-size: 0.75rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

.logout-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    background: #fee2e2 !important;
    color: #dc2626 !important;
    transition: all 0.2s ease-in-out !important;
    text-decoration: none !important;
}

.logout-link:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
}

.header-welcome {
    display: none !important;
}

.header-subtitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 22px 12px;
    flex-wrap: wrap;
}

.welcome-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.welcome-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: #eff6ff;
    display: grid;
    place-items: center;
    color: #2563eb;
}

.welcome-title {
    display: block;
    color: #64748b;
    font-size: 0.82rem;
}

.welcome-name {
    display: block;
    font-weight: 700;
    color: #0f172a;
}

.header-notice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 16px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 0.92rem;
}

.header-notice i {
    color: #22c55e;
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #eff6ff;
}

.navbar-btn:hover {
    transform: translateY(-1px);
}

#sidebarCollapse {
    width: 42px;
    height: 42px;
    background: transparent;
}

#sidebarCollapse span {
    width: 22px;
    height: 2px;
    margin: 0 auto;
    display: block;
    background: #2563eb;
    transition: all 0.3s ease-in-out;
}

#sidebarCollapse span:first-of-type {
    transform: rotate(45deg) translate(2px, 2px);
}
#sidebarCollapse span:nth-of-type(2) {
    opacity: 0;
}
#sidebarCollapse span:last-of-type {
    transform: rotate(-45deg) translate(1px, -1px);
}

#sidebarCollapse.active span {
    transform: none;
    opacity: 1;
    margin: 3px auto;
}

.input-lg {
    display: block;
}

.input-mn {
    display: none;
}

.nama-lg {
    display: inline-block;
    line-height: 2.6em;
}

.nama-mn {
    display: none;
}
.action-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.7rem;
    display: grid;
    place-items: center;
}

.profile-block {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 16px;
    background: #f8fafc;
}

.profile-name {
    display: block;
    font-weight: 700;
    color: #0f172a;
}

.profile-role {
    display: block;
    color: #64748b;
    font-size: 0.82rem;
}

.logout-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #eff6ff;
    color: #0f172a;
}

.header-subtitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 22px 12px;
}

.welcome-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.welcome-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: #eff6ff;
    display: grid;
    place-items: center;
    color: #2563eb;
}

.welcome-title {
    display: block;
    color: #64748b;
    font-size: 0.82rem;
}

.welcome-name {
    display: block;
    font-weight: 700;
    color: #0f172a;
}

.header-notice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 16px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 0.92rem;
}

.header-notice i {
    color: #22c55e;
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #eff6ff;
}

.navbar-btn:hover {
    transform: translateY(-1px);
}

#sidebarCollapse {
    width: 42px;
    height: 42px;
    background: transparent;
}

#sidebarCollapse span {
    width: 22px;
    height: 2px;
    margin: 0 auto;
    display: block;
    background: #2563eb;
    transition: all 0.3s ease-in-out;
}

#sidebarCollapse span:first-of-type {
    transform: rotate(45deg) translate(2px, 2px);
}
#sidebarCollapse span:nth-of-type(2) {
    opacity: 0;
}
#sidebarCollapse span:last-of-type {
    transform: rotate(-45deg) translate(1px, -1px);
}

#sidebarCollapse.active span {
    transform: none;
    opacity: 1;
    margin: 3px auto;
}

.input-lg {
    display: block;
}

.input-mn {
    display: none;
}

.nama-lg {
    display: inline-block;
    line-height: 2.6em;
}

.nama-mn {
    display: none;
}

/*+---------------------------+
  |                           |
  |          Content          |
  |                           |
  +---------------------------+*/
  
  #content {
    width: 100%;
    padding: 170px 0px 20px 280px;
    min-height: 100vh;
    margin-bottom: -44px;
    transition: all 0.3s;
}

.content-wrapper {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 24px 24px 32px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.24);
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.dashboard-table {
    width: 100%;
}

.page-item {
    z-index: 10;
}

#content.active {
    padding: 64px 0px 5px 0px;
}

.toolbar {
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.95);
    padding: 14px 16px;
    border: 1px solid rgba(220, 38, 38, 0.16);
    border-radius: 24px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
    z-index: 100;
}

.toolbar .col-sm-12 {
    padding: 0px;
}

.action-btn {
    margin: 0 5px;
    outline: none !important;
    text-decoration: none;
}

.modal-footer .action-btn {
    font-size: 14px;
    padding: 10px;
}

.accordion-dashboard {
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
}

.btn-green-age {
    background-color: var(--primary-red);
    color: #fff;
    transition: all 0.3s;
    width: 100%;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.btn-green-age:visited {
    background-color: var(--primary-red);
    color: #fff;
}

.btn-green-age:hover {
    background-color: #7f1d1d;
    color: #fff;
}

.btn-green-age:focus {
    background-color: var(--primary-red);
    color: #fff;
}

.btn-green {
    background-color: var(--primary-red);
    color: #fff;
    transition: all 0.3s;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.24);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

.btn-green:visited {
    background-color: var(--primary-red);
    color: #fff;
}

.btn-green:hover {
    background-color: #7f1d1d;
    color: #fff;
}

.btn-green:focus,
.btn-green:active {
    background-color: #991b1b;
    color: #fff;
}

.btn-green i {
    padding-right: 10px;
}

.btn-yellow {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--primary-red);
    transition: all 0.3s;
    border-radius: 999px;
    border: 1px solid rgba(220,38,38,0.16);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.06);
}

.btn-yellow:visited {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--primary-red);
}

.btn-yellow:hover,
.btn-yellow:focus,
.btn-yellow:active {
    background-color: rgba(255, 255, 255, 1);
    color: var(--primary-red-dark);
}

.btn-yellow-2nd {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--primary-red);
    transition: all 0.3s;
    border-radius: 999px;
    border: 1px solid rgba(220,38,38,0.16);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.06);
}

.btn-yellow-2nd:link,
.btn-yellow-2nd:visited {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--primary-red);
}

.btn-yellow-2nd:hover,
.btn-yellow-2nd:focus,
.btn-yellow-2nd:active {
    background-color: rgba(255, 255, 255, 1);
    color: var(--primary-red-dark);
}

.btn-yellow-2nd span {
    padding-bottom: 2px;
    padding-top: 2px;
}


.btn-blue {
    background-color: var(--primary-red);
    color: #fff;
    line-height: 0.9em;
    transition: all 0.3s;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}


.btn-blue:visited {
    background-color: var(--primary-red);
    color: #fff;
}

.btn-blue:hover,
.btn-blue:focus {
    background-color: #7f1d1d;
    color: #fff;
}

.btn-blue:active {
    background-color: #991b1b;
    color: #fff;
}

.btn-blue span {
    padding-bottom: 2px;
    padding-top: 2px;
}

.btn-alert {
    margin-right: 0;
    background-color: #fbbf24;
    color: #0f172a;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.22);
    padding: 0.55rem 1rem;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.06);
}

.btn-add {
    background-color: var(--primary-red);
    color: #fff;
    transition: all 0.3s;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

.btn-add:visited {
    background-color: var(--primary-red);
    color: #fff;
}

.btn-add:hover,
.btn-add:focus,
.btn-add:active {
    background-color: #7f1d1d;
    color: #fff;
}




#btn-search {
    font-size: 20px;
    line-height: 1em;
}

#btn-edit {
    background-color: var(--primary-red);
    color: #fff;
    transition: all 0.3s;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

#btn-edit:hover {
    background-color: #7f1d1d;
}

#btn-del,
.btn-del-row {
    background-color: #c62828;
    color: #fff;
    transition: all 0.3s;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

#btn-del:hover,
.btn-del-row:hover {
    background-color: #991b1b;
}

.btn-row-keluarga {
    margin-top: 30px;
    padding: 5px 10px;
}

#btn-submit {
    width: 200px;
}

.my-radio {
    padding-top: 7px;
}

.my-radio div label {
    padding-top: 2px;
}

.my-checkbox {
    padding-left: 10px;
    padding-bottom: 10px;
    outline: none;
}

.age-input {
    outline: none;
    border: 1px solid #aaa;
    line-height: 1.6em;
    width: 100%;
}

.search-input {
    outline: none;
    border: 1px solid transparent;
    line-height: 1.6em;
    width: 0%;
    transition: all 0.3s;
}

.search-input.active {
    width: 30%;
}

.search-input:focus {
    border-bottom: 1px solid #aaa;
}

.form-pdd {
    padding: 10px 10px 0px 10px;
}

.form-warning {
    font-family: "Arial", sans-serif;
    font-size: 14px;
    margin: 4px 0px 4px 10px;
    font-weight: bold;
}

.red-aster {
    color: #ff0000;
    font-weight: bold;
}

.table {
    margin: 0px;
    padding: 0px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.new-input {
    margin-top: 5px;
}

.span_err {
    margin: 0px;
    padding: 2px 0px 0px 5px;
    color: #ff0000;
    position: absolute;
}

.form_err {
    border: 2px solid #ff0000;
}

.float{
    position:fixed;
    width:40px;
    height:40px;
    bottom:75px;
    right:27px;
    background-color:#e74c3c;
    color:#FFF;
    border-radius:50px;
    text-align:center;
    z-index: 10000;
    transition: all 0.3s;
}

.float:hover{
    background-color: #c0392b;
    color:#FFF;
}

.float:focus{
    color: #fff;
}

.my-float{
    margin-top:13px;
}

.alert-delete{
    margin-bottom: 0px;
    margin-top: 10px;
}

.label-keluarga {
    font-family: 'Poppins', sans-serif;
    font-size: 23px; 
}


/*+---------------------------+
  |                           |
  |        Autocomplete       |
  |                           |
  +---------------------------+*/


/*.ui-corner-all
{
    border-radius: 4px 4px 4px 4px;
}*/

.ui-widget
{
    font-size: 15px;
    font-family: "Arial", sans-serif;
    text-transform: uppercase;
}
.ui-menu
{
    display: block;
    float: left;
    list-style: none outside none;
    margin: 0;
    padding: 2px;
}
.ui-autocomplete
{
     overflow-x: hidden;
      max-height: 200px;
      width:1px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    display: none;
    min-width: 160px;
    _width: 160px;
    padding: 4px 0;
    margin: 2px 0 0 0;
    list-style: none;
    background-color: #fff;
    border-color: #ccc;
    border-color: rgba(0, 0, 0, 0.2);
    border-style: solid;
    border-width: 1px;
    /*-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;*/
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    *border-right-width: 2px;
    *border-bottom-width: 2px;
}
.ui-menu .ui-menu-item
{
    clear: left;
    float: left;
    margin: 0;
    padding: 0;
    width: 100%;
}
.ui-menu .ui-menu-item a
{
    display: block;
    padding: 3px 3px 3px 3px;
    text-decoration: none;
    cursor: pointer;
    background-color: #ffffff;
}
.ui-menu .ui-menu-item a:hover
{
    display: block;
    padding: 3px 3px 3px 3px;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    background-color: var(--primary-red-dark);
}
.ui-widget-content a
{
    color: #222222;
}

@media (max-width: 1023px) {
    dl {
        display: block;
        margin: 0px;
    }

    dt {
        text-align: left;
        width: 20%;
    }

    dd {
        width: 80%;
        margin: 0px 0px 10px 0px;
    }

    .dt-keluarga {
        width: 100% !important;
    }

    .dd-keluarga {
        width: 100% !important;
    }

    .container-fluid {
        margin-top: -8px;
    }

    .error-login {
        color: #ff0000;
        font-size: 14px;
        font-weight: 700;
    }

    .dashboard-table {
        width: 100%;
    }
}

@media (max-width: 1000px) {
    #sidebar {
        overflow-y: auto;
        margin-left: -280px;
        height: 100%;
        transform: rotateY(100deg);
    }

    #sidebar.active {
        margin-left: 0;
        transform: none;
    }

    #header {
        margin-left: 0px;
        padding-right: 0px;
        transition: all 0.3s;
    }

    #header.active {
        margin-left: 280px;
        padding-right: -280px;
    }

    #header {
        width: 100%;
        padding: 12px 16px 16px;
    }

    .navbar {
        padding: 12px 16px;
    }

    .header-top {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .header-brand-group {
        width: 100%;
        justify-content: space-between;
    }

    .profile-block {
        width: 100%;
        justify-content: space-between;
    }

    .header-subtitle {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .welcome-block {
        width: 100%;
    }

    .header-notice {
        width: 100%;
    }

    .container-fluid {
        margin-top: 0;
    }

    #content {
        width: 100%;
        padding: 170px 0px 20px 0px;
        min-height: 100vh;
        margin-bottom: -44px;
        transition: all 0.3s;
    }

    #sidebarCollapse span:first-of-type,
    #sidebarCollapse span:nth-of-type(2),
    #sidebarCollapse span:last-of-type {
        transform: none;
        opacity: 1;
        margin: 3px auto;
        transition: all 0.3s;
    }

    #sidebarCollapse.active span {
        margin: 0 auto;
    }

    #sidebarCollapse.active span:first-of-type {
        transform: rotate(45deg) translate(2px, 2px);
    }

    #sidebarCollapse.active span:nth-of-type(2) {
        opacity: 0;
    }

    #sidebarCollapse.active span:last-of-type {
        transform: rotate(-45deg) translate(1px, -1px);
    }

    .search-input {
        outline: none;
        border: none;
        line-height: 1.6em;
        width: 0%;
        transition: all 0.3s;
    }

    .search-input.active {
        width: 50%;
    }

    .input-lg {
        display: none;
    }

    .input-mn {
        display: block;
        width: 12px;
    }

    .nama-lg {
        display: none;
    }

    .nama-mn {
        display: inline-block;
        line-height: 2.6em;
    }

    .btn-green i {
        padding: 0px;
    }

    .btn-yellow i {
        padding: 0;
        margin-left: -1px;
    }

    .btn-blue i {
        padding: 0px;
        margin-left: -1px;
    }

    .btn-del-keluarga {
        margin-top: 0px;
        height: auto;
        float: right;
    }

    dl {
        display: block;
        margin: 0px;
    }

    dt {
        text-align: left;
        width: 100%;
    }

    dd {
        width: 100%;
        margin: 0px 0px 10px 0px;
    }

    .dt-keluarga {
        width: 100% !important;
    }

    .dd-keluarga {
        width: 100% !important;
    }

    #footer {
        padding: 0px;
        margin: 20px 0px 0px 0px;
        width: 100%;
    }

    .row .dashboard-spacing-35 {
        margin-bottom: 35px;
    }

    .sm-overlay {
        position: fixed; 
        top: 0px; 
        left: 0px; 
        z-index: 80; 
        height: 100%; 
        width: 100%; 
        background-color: rgba(0, 0, 0, 0.3);
        display: none;
    }
    
    .sm-overlay.active {
        position: fixed; 
        top: 0px; 
        left: 0px; 
        z-index: 80; 
        height: 100%; 
        width: 100%; 
        background-color: rgba(0, 0, 0, 0.3);
        display: block;
    }

    .accordion-dashboard {
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 30px;
    }

    .my-statistik {
        font-family: 'Arial';
        padding: 0;
    }

    .h4-form {
        width: 100%;
    }
}

@media (max-width: 375px){
    .login-wrapper {
        margin-left : 20px;
        margin-right : 20px;
    }

    .divider-welcome {
        width: 90%;
    }

    .moto {
        font-size: 1em;
    }

    .header-right {
        display: flex;
        align-items: center;
        gap: 18px;
        margin-left: auto;
        flex-wrap: wrap;
    }

    .header-icons {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .header-welcome {
        width: 100%;
        padding: 12px 24px 16px;
        margin-top: 4px;
    }

    .welcome-block {
        display: flex;
        align-items: center;
        gap: 16px;
        background: #f8fafc;
        padding: 16px 20px;
        border-radius: 20px;
        border: 1px solid rgba(148, 163, 184, 0.18);
    }

    .welcome-icon {
        width: 44px;
        height: 44px;
        border-radius: 16px;
        background: #eff6ff;
        display: grid;
        place-items: center;
        color: #2563eb;
    }

    .welcome-title {
        display: block;
        color: #64748b;
        font-size: 0.9rem;
    }

    .welcome-name {
        display: block;
        font-weight: 700;
        color: #0f172a;
        font-size: 1rem;
    }

    .header-notice {
        display: none;
    }
}

/* ==========================================================================
   Rounded Select Dropdown Component
   ========================================================================== */
.custom-select-rounded {
    border-radius: 10px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 8px 36px 8px 14px !important;
    height: 42px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    background-color: #ffffff !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s ease-in-out !important;
    cursor: pointer !important;
}


=======

@import "googleapis.css";

:root {
    --primary-red: #dc2626;
    --primary-red-dark: #991b1b;
    --primary-red-soft: #fee2e2;
    --primary-red-light: #fef2f2;
    --brand-accent: #f5b84b;
}

html, body {
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f8fafc;
}

.landing-page-body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #334155 100%);
    color: #ffffff;
}

.landing-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.landing-background {
    position: absolute;
    inset: 0;
    background: url("../img/header.jpg") center/cover no-repeat;
    z-index: 0;
}

.landing-background::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(15, 23, 42, 0.65) 0%, rgba(30, 41, 59, 0.5) 45%, rgba(51, 65, 85, 0.4) 100%);
    opacity: 1;
}

.landing-header {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 24px 24px 48px;
    display: flex;
    flex-direction: column;
}

.landing-nav {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-chip {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 12px 18px;
    border-radius: 999px;
    background: transparent;
    backdrop-filter: none;
    color: #ffffff;
}

.brand-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-red);
}

.brand-subtitle {
    display: block;
    margin-top: 2px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.landing-nav .nav-link {
    color: #ffffff;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.landing-hero {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: center;
    justify-items: end;
    padding: 24px 0;
}

.login-card {
    max-width: 420px;
    width: 100%;
    justify-self: end;
}

.hero-copy h1 {
    font-size: clamp(2.2rem, 3.4vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #ffffff;
}

.hero-kicker {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: transparent;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #ffffff;
    max-width: 560px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.hero-badges span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 0.95rem;
    font-weight: 600;
}

.login-card {
    background: rgba(255, 255, 255, 0.52);
    color: #17324b;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.card-header {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-red);
}

.login-card .card-header {
    color: #ffffff;
}

.form-errors p {
    margin: 0 0 8px;
    color: #b91c1c;
    font-size: 0.95rem;
}

.login-card .input-group-text {
    background: rgba(252, 165, 165, 0.18);
    color: var(--primary-red);
    border: 1px solid rgba(220, 38, 38, 0.18);
    border-right: 0;
}

.login-card .landing-input {
    border-left: 0;
    border-radius: 0 12px 12px 0;
    border: 1px solid rgba(220, 38, 38, 0.16);
    box-shadow: none;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.18);
    color: #17324b;
}

.login-card .landing-input::placeholder {
    color: rgba(23, 50, 75, 0.6);
}

.login-card .btn-show-pw {
    border-left: 0;
    border-radius: 0 12px 12px 0;
    background: rgba(252, 165, 165, 0.18);
    color: var(--primary-red);
}

.login-card .btn-login {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 12px 16px;
    margin-top: 16px;
    background: var(--primary-red);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(220, 38, 38, 0.24);
}

.login-card .btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(120, 20, 20, 0.4);
    background: #7f1d1d;
}

.login-card .external-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--primary-red);
    font-weight: 600;
}

.login-card .external-link:hover {
    color: #991b1b;
}

@media (max-width: 900px) {
    .landing-hero {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .login-card {
        justify-self: center;
    }
}

@media (max-width: 640px) {
    .landing-header {
        padding: 18px 16px 32px;
    }

    .landing-nav {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .login-card {
        padding: 22px;
    }
}

* {
    box-sizing: border-box;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.divider-welcome {
    width: 60%;
}

.download-link {
    color: var(--primary-red);
    cursor: pointer;
    transition: .3s;
}


.download-link:visited {
    color: var(--primary-red);
    outline: 0;
}

.download-link:hover {
    color: var(--primary-red-dark);
    outline: 0;
}

.download-link:active {
    color: var(--primary-red);
    outline: 0;
}

.download-link:focus {
    color: var(--primary-red);
    outline: 0;
}

#form-content {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
}

.table-shadow {
    margin: 0;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
}

table th {
    text-align: center;
}

table tr {
    background-color: #fff;
}

table td {
    background-color: #fff;
    transition: .3s;
}

dl {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}
dt {
    text-align: right;
    width: 25%;
    padding-right: 10px;
}
dd {
    margin-left: auto;
    width: 75%;
}

.dt-keluarga {
    width: 26% !important;
}

.dd-keluarga {
    width: 74% !important;
}

#footer {
    background-color: #777;
    padding-left: 280px;
    margin-top: 20px;
    width: 100%;
    font-size: 12px;
    color: #fff;
    transition: 0.3s;
}

#footer.active {
    padding-left: 0px;
}

.wrapper {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.select2-container {
    width: 100% !important;
}

.my-statistik {
    font-family: 'Arial'
}

.my-card {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(12px);
}

.my-card2 {
    box-shadow: none;
    border: none;
    background: transparent;
}

.my-card-header {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    cursor: pointer;
    transition: all 0.3s;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px 24px 0 0;
}

.my-card-header:hover {
    background: linear-gradient(135deg, var(--primary-red-dark) 0%, #7f1d1d 100%);
}

.sub-my-card-header {
    color: #0f172a;
    background-color: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.36);
    border-left: 1px solid rgba(255, 255, 255, 0.36);
    border-right: 1px solid rgba(255, 255, 255, 0.36);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    padding: 16px 20px;
}

.sub-my-card-header:hover {
    background-color: rgba(255, 255, 255, 1);
}

.sub-card-body {
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 1px solid rgba(255, 255, 255, 0.24);
    border-right: 1px solid rgba(255, 255, 255, 0.24);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
}

.padding-sub-card {
    margin-top: 10px;
}

.card-header-dashboard {
    height: 48px;
    width: 100%;
    position: absolute;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    top: -24px;
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(185, 28, 28, 0.18);
    left: 50%;
    transform: translateX(-50%);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.row .dashboard-spacing-35 {
    margin-bottom: 0px;
}

hr.dashboard-spacing-35 {
    margin-bottom: 35px;
}

.sm-overlay {
    position: fixed; 
    top: 0px; 
    left: 0px; 
    z-index: 80; 
    height: 100%; 
    width: 100%; 
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
}

.sm-overlay.active {
    position: fixed; 
    top: 0px; 
    left: 0px; 
    z-index: 80; 
    height: 100%; 
    width: 100%; 
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
}

.loading-overlay {
    position: fixed; 
    top: 0px; 
    left: 0px; 
    z-index: 80; 
    height: 100%; 
    width: 100%; 
    background-color: rgba(255, 255, 255, 0.7);
    display: none;
} 

.loading-overlay.active {
    display: block;
} 

.loader {
    top: 44px;
    height: 4px;
    width: 100%;
    z-index: 85; 
    position: relative;
    overflow: hidden;
    background-color: #ddd;
    display: none;
}
.loader.active {
    top: 44px;
    height: 4px;
    width: 100%;
    z-index: 85; 
    position: relative;
    overflow: hidden;
    background-color: #ddd;
    display: block;
}
.loader:before{
    display: block;
    position: absolute;
    content: "";
    left: -200px;
    width: 200px;
    height: 4px;
    background-color: var(--primary-red);
    animation: loading 2s linear infinite;
}
  
@keyframes loading {
    from {left: -200px; width: 30%;}
    50% {width: 30%;}
    70% {width: 70%;}
    80% { left: 50%;}
    95% {left: 120%;}
    to {left: 100%;}
}

/*+---------------------------+
  |                           |
  |    Landing Page & Login   |
  |                           |
  +---------------------------+*/


.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  background-color: transparent;
}

.login-wrapper {
    width: auto; 
    height: auto; 
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28); 
    backdrop-filter: blur(12px);
    border-radius: 12px; 
    padding: 35px 20px 20px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.form-login-input::placeholder {
    color: rgba(255,255,255,.5);
    opacity: 1;
}

.form-login-input {
    background-color: transparent;
    border: 1px solid #fff; 
    color: white;
}

.form-login-input:focus {
    background-color: rgba(0,0,0,.3);
    border: 1px solid #fff; 
    color: white;
}

.btn-red, .btn-blue {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 600;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
    vertical-align: middle !important;
}

.btn-red:hover, .btn-blue:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 12px -2px rgba(239, 68, 68, 0.5) !important;
    transform: translateY(-1px);
}

.btn-red:disabled {
    background: #64748b !important;
    color: #94a3b8 !important;
    outline: 0;
    cursor: not-allowed;
    box-shadow: none !important;
}

.btn-login {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 20px;
    width: 100%;
    height: 46px;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.4);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.btn-login:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 12px -2px rgba(239, 68, 68, 0.6);
    transform: translateY(-1px);
}

.btn-login:disabled {
    background: #64748b !important;
    color: #94a3b8 !important;
    outline: 0;
    cursor: not-allowed;
    box-shadow: none !important;
}

.password-login {
    margin-bottom: 10px;
    margin-top: 20px;
}

.error-login {
    color: #ff0000;
    font-size: 14px;
}

.btn-show-pw {
    outline: none;
    cursor: pointer;
}

.btn-show-pw:hover {
    background-color: #ddd;
}

.btn-batuan {
    border: 1px solid white;
}
.btn-batuan:hover {
    color: white;
    background-color: rgba(255,255,255,.3);
    outline: 0;
}



/*+---------------------------+
  |                           |
  |          Sidebar          |
  |                           |
  +---------------------------+*/

  #sidebar {
    min-width: 280px;
    max-width: 280px;
    min-height: 100vh;
    position: fixed;
    overflow-y: auto;
    top: 0;
    left: 0;
    z-index: 90;
    background: linear-gradient(180deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: #fff;
    transition: all 0.3s;
    box-shadow: 2px 0 24px rgba(0, 0, 0, 0.16);
    border-right: 1px solid rgba(255,255,255,0.08);
}

#sidebar.active {
    margin-left: -280px
}

.sidebar-user {
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    margin: 14px 14px 10px 14px;
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(10px);
}

.sidebar-user a{
    display: block;
    padding: 20px 20px 0px 20px;
    margin: 0px;
    font-size: .9em;
    transition: all .1s;
}

.sidebar-user span{
    display: block;
    padding: 0px 10px 20px 20px;
    margin: 0px;
    font-size: .8em;
    transition: all .1s;
}

#sidebar .sidebar-header a {
    display: block;
    padding: 6px 0px;
    margin: 0px;
    font-size: 20px;
    align-items: center;
    text-align: center;
    transition: all .1s;
}

#sidebar .sidebar-header a:hover {
    background-color: rgba(255, 255, 255, 0.16);
}

#sidebar hr {
    margin: 0px 20px;
    border-bottom: 1px solid ;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar  .my-ul {
    margin: 20px 10px;
}

#sidebar ul li a {
    padding: 12px 10px;
    font-size: .85em;
    display: block;
    color: #fff;
    transition: all 0.3s;
    border-radius: 12px;
}
#sidebar ul li a:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.18);
}

#sidebar ul ul li a {
    padding: 12px;
    display: block;
    color: rgba(255,255,255,.78);
    transition: all 0.3s;
    font-size: 0.85em;
    padding-left: 32px !important;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 0;
}

#sidebar ul ul li:last-child a {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}
#sidebar ul li a:hover {
    color: rgb(255,255,255);
    background-color: rgba(255, 255, 255, 0.18);
}

#sidebar ul li.active > a, #sidebar ul li > a[data-toggle="collapse"]:not(.collapsed) {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

#sidebar:not(.active) ul li > a[data-toggle="collapse"]:not(.collapsed) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

#sidebar ul li a i {
    width: 20px;
    text-align: center;
}

#sidebar ul li a span {
    padding-left: 10px;
}

.side-icon {
    transition: transform 0.3s ease;
}

#sidebar ul li > a {
    position: relative;
}

#sidebar ul li > a .side-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

#sidebar ul li > a[data-toggle="collapse"]:not(.collapsed) .side-icon {
    transform: translateY(-50%) rotate(180deg);
}

.my-notif {
    font-style: normal;
    font-size: .8em;
    font-family: Arial, Helvetica, sans-serif;
    background-color: red;
    color: white;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

/*+---------------------------+
  |                           |
  |           Header          |
  |                           |
  +---------------------------+*/

#header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    z-index: 90;
    position: fixed;
    top: 0;
    left: 280px;
    right: 0;
    margin-left: 0;
    padding-right: 0;
    transition: all .3s;
    width: calc(100% - 280px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

#header.active {
    margin-left: 0px;
    padding-right: 0px;
}

.navbar {
    height: 44px;
    padding: 10px;
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.navbar-btn:hover {
    transform: translateY(-1px);
}

#sidebarCollapse {
    width: 30px;
    height: 30px;
    background: transparent;
}

#sidebarCollapse span {
    width: 80%;
    height: 2px;
    margin: 0 auto;
    display: block;
    background: #555;
    transition: all 0.3s ease-in-out;
}

#sidebarCollapse span:first-of-type {
    /* rotate first one */
    transform: rotate(45deg) translate(2px, 2px);
}
#sidebarCollapse span:nth-of-type(2) {
    /* second one is not visible */
    opacity: 0;
}
#sidebarCollapse span:last-of-type {
    /* rotate third one */
    transform: rotate(-45deg) translate(1px, -1px);
}

#sidebarCollapse.active span {
    /* no rotation */
    transform: none;
    /* all bars are visible */
    opacity: 1;
    margin: 3px auto;
}

.input-lg {
    display: block;
}

.input-mn {
    display: none;
}

.nama-lg {
    display: inline-block;
    line-height: 2.6em;
}

.nama-mn {
    display: none;
}

/*+---------------------------+
  |                           |
  |          Content          |
  |                           |
  +---------------------------+*/
  
  #content {
    width: 100%;
    padding: 64px 0px 20px 280px;
    min-height: 100vh;
    margin-bottom: -44px;
    transition: all 0.3s;
}

.content-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 24px 32px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.dashboard-table {
    width: 100%;
}

.page-item {
    z-index: 10;
}

#content.active {
    padding: 64px 0px 5px 0px;
}

.toolbar {
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.92);
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 18px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
    z-index: 100;
}

.toolbar .col-sm-12 {
    padding: 0px;
}

.action-btn {
    margin: 0 5px;
    outline: none !important;
    text-decoration: none;
}

.modal-footer .action-btn {
    font-size: 14px;
    padding: 10px;
}

.accordion-dashboard {
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
}

.btn-green-age {
    background-color: #2ecc71;
    color: #fff;
    transition: all 0.3s;
    width: 100%;
}


.btn-green-age:visited {
    background-color: #2ecc71;
    color: #fff;
}

.btn-green-age:hover {
    background-color: #27ae60;
    color: #fff;
}

.btn-green-age:focus {
    background-color: #2ecc71;
    color: #fff;
}

.btn-green {
    background-color: var(--primary-red);
    color: #fff;
    transition: all 0.3s;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.24);
}


.btn-green:visited {
    background-color: #2ecc71;
    color: #fff;
}

.btn-green:hover {
    background-color: #27ae60;
    color: #fff;
}

.btn-green:focus {
    background-color: #2ecc71;
    color: #fff;
}

.btn-green:active {
    background-color: #2ecc71;
    color: #fff;
}

.btn-green i {
    padding-right: 10px;
}

.btn-yellow {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--primary-red);
    transition: all 0.3s;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.5);
}


.btn-yellow:visited {
    background-color: #f1c40f;
    color: #fff;
}

.btn-yellow:hover {
    background-color: #f39c12;
    color: #fff;
}

.btn-yellow:focus {
    background-color: #f1c40f;
    color: #fff;
}

.btn-yellow:active {
    background-color: #f1c40f;
    color: #fff;
}

.btn-yellow-2nd {
    background-color: #f1c40f;
    color: #fff;
    transition: all 0.3s;
}

.btn-yellow-2nd:link {
    background-color: #f1c40f;
    color: #fff;
    transition: all 0.3s;
}

.btn-yellow-2nd:visited {
    background-color: #f1c40f;
    color: #fff;
}

.btn-yellow-2nd:hover {
    background-color: #f39c12;
    color: #fff;
}

.btn-yellow-2nd:focus {
    background-color: #f1c40f;
    color: #fff;
}

.btn-yellow-2nd:active {
    background-color: #f1c40f;
    color: #fff;
}

.btn-yellow-2nd span {
    padding-bottom: 2px;
    padding-top: 2px;
}


.btn-blue {
    background-color: #3498db;
    color: #fff;
    line-height: 0.9em;
    transition: all 0.3s;
}


.btn-blue:visited {
    background-color: #3498db;
    color: #fff;
}

.btn-blue:hover {
    background-color: #2980b9;
    color: #fff;
}

.btn-blue:focus {
    background-color: #2980b9;
    color: #fff;
}

.btn-blue:active {
    background-color: #3498db;
    color: #fff;
}

.btn-blue span {
    padding-bottom: 2px;
    padding-top: 2px;
}

.btn-alert {
    margin-right: -43px;
}

.btn-add {
    background-color: #2ecc71;
    color: #fff;
    transition: all 0.3s;
}


.btn-add:visited {
    background-color: #2ecc71;
    color: #fff;
}

.btn-add:hover {
    background-color: #27ae60;
    color: #fff;
}

.btn-add:focus {
    background-color: #2ecc71;
    color: #fff;
}

.btn-add:active {
    background-color: #2ecc71;
    color: #fff;
}




#btn-search {
    font-size: 20px;
    line-height: 1em;
}

#btn-edit {
    background-color: #3498db;
    color: #fff;
    transition: all 0.3s;
}

#btn-edit:hover {
    background-color: #2980b9;
}

#btn-del {
    background-color: #e74c3c;
    color: #fff;
    transition: all 0.3s;
}

.btn-del-row {
    background-color: #e74c3c;
    color: #fff;
    transition: all 0.3s;
}

#btn-del:hover {
    background-color: #c0392b;
}

.btn-row-keluarga {
    margin-top: 30px;
    padding: 5px 10px;
}

#btn-submit {
    width: 200px;
}

.my-radio {
    padding-top: 7px;
}

.my-radio div label {
    padding-top: 2px;
}

.my-checkbox {
    padding-left: 10px;
    padding-bottom: 10px;
    outline: none;
}

.age-input {
    outline: none;
    border: 1px solid #aaa;
    line-height: 1.6em;
    width: 100%;
}

.search-input {
    outline: none;
    border: 1px solid transparent;
    line-height: 1.6em;
    width: 0%;
    transition: all 0.3s;
}

.search-input.active {
    width: 30%;
}

.search-input:focus {
    border-bottom: 1px solid #aaa;
}

.form-pdd {
    padding: 10px 10px 0px 10px;
}

.form-warning {
    font-family: "Arial", sans-serif;
    font-size: 14px;
    margin: 4px 0px 4px 10px;
    font-weight: bold;
}

.red-aster {
    color: #ff0000;
    font-weight: bold;
}

.table {
    margin: 0px;
    padding: 0px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.new-input {
    margin-top: 5px;
}

.span_err {
    margin: 0px;
    padding: 2px 0px 0px 5px;
    color: #ff0000;
    position: absolute;
}

.form_err {
    border: 2px solid #ff0000;
}

.float{
    position:fixed;
    width:40px;
    height:40px;
    bottom:75px;
    right:27px;
    background-color:#e74c3c;
    color:#FFF;
    border-radius:50px;
    text-align:center;
    z-index: 10000;
    transition: all 0.3s;
}

.float:hover{
    background-color: #c0392b;
    color:#FFF;
}

.float:focus{
    color: #fff;
}

.my-float{
    margin-top:13px;
}

.alert-delete{
    margin-bottom: 0px;
    margin-top: 10px;
}

.label-keluarga {
    font-family: 'Poppins', sans-serif;
    font-size: 23px; 
}


/*+---------------------------+
  |                           |
  |        Autocomplete       |
  |                           |
  +---------------------------+*/


/*.ui-corner-all
{
    border-radius: 4px 4px 4px 4px;
}*/

.ui-widget
{
    font-size: 15px;
    font-family: "Arial", sans-serif;
    text-transform: uppercase;
}
.ui-menu
{
    display: block;
    float: left;
    list-style: none outside none;
    margin: 0;
    padding: 2px;
}
.ui-autocomplete
{
     overflow-x: hidden;
      max-height: 200px;
      width:1px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    display: none;
    min-width: 160px;
    _width: 160px;
    padding: 4px 0;
    margin: 2px 0 0 0;
    list-style: none;
    background-color: #fff;
    border-color: #ccc;
    border-color: rgba(0, 0, 0, 0.2);
    border-style: solid;
    border-width: 1px;
    /*-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;*/
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    *border-right-width: 2px;
    *border-bottom-width: 2px;
}
.ui-menu .ui-menu-item
{
    clear: left;
    float: left;
    margin: 0;
    padding: 0;
    width: 100%;
}
.ui-menu .ui-menu-item a
{
    display: block;
    padding: 3px 3px 3px 3px;
    text-decoration: none;
    cursor: pointer;
    background-color: #ffffff;
}
.ui-menu .ui-menu-item a:hover
{
    display: block;
    padding: 3px 3px 3px 3px;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    background-color: #3498db;
}
.ui-widget-content a
{
    color: #222222;
}

@media (max-width: 1023px) {
    dl {
        display: block;
        margin: 0px;
    }

    dt {
        text-align: left;
        width: 20%;
    }

    dd {
        width: 80%;
        margin: 0px 0px 10px 0px;
    }

    .dt-keluarga {
        width: 100% !important;
    }

    .dd-keluarga {
        width: 100% !important;
    }

    .container-fluid {
        margin-top: -8px;
    }

    .error-login {
        color: #ff0000;
        font-size: 14px;
        font-weight: 700;
    }

    .dashboard-table {
        width: 100%;
    }
}

@media (max-width: 1000px) {
    #sidebar {
        overflow-y: auto;
        margin-left: -280px;
        height: 100%;
        transform: rotateY(100deg);
    }

    #sidebar.active {
        margin-left: 0;
        transform: none;
    }

    #header {
        margin-left: 0px;
        padding-right: 0px;
        transition: all 0.3s;
    }

    #header.active {
        margin-left: 280px;
        padding-right: -280px;
    }

    .container-fluid {
        margin-top: -8px;
    }

    #content {
        width: 100%;
        padding: 64px 0px 20px 0px;
        min-height: 100vh;
        margin-bottom: -44px;
        transition: all 0.3s;
    }

    #sidebarCollapse span:first-of-type,
    #sidebarCollapse span:nth-of-type(2),
    #sidebarCollapse span:last-of-type {
        transform: none;
        opacity: 1;
        margin: 3px auto;
        transition: all 0.3s;
    }

    #sidebarCollapse.active span {
        margin: 0 auto;
    }

    #sidebarCollapse.active span:first-of-type {
        transform: rotate(45deg) translate(2px, 2px);
    }

    #sidebarCollapse.active span:nth-of-type(2) {
        opacity: 0;
    }

    #sidebarCollapse.active span:last-of-type {
        transform: rotate(-45deg) translate(1px, -1px);
    }

    .search-input {
        outline: none;
        border: none;
        line-height: 1.6em;
        width: 0%;
        transition: all 0.3s;
    }

    .search-input.active {
        width: 50%;
    }

    .input-lg {
        display: none;
    }

    .input-mn {
        display: block;
        width: 12px;
    }

    .nama-lg {
        display: none;
    }

    .nama-mn {
        display: inline-block;
        line-height: 2.6em;
    }

    .btn-green i {
        padding: 0px;
    }

    .btn-yellow i {
        padding: 0;
        margin-left: -1px;
    }

    .btn-blue i {
        padding: 0px;
        margin-left: -1px;
    }

    .btn-del-keluarga {
        margin-top: 0px;
        height: auto;
        float: right;
    }

    dl {
        display: block;
        margin: 0px;
    }

    dt {
        text-align: left;
        width: 100%;
    }

    dd {
        width: 100%;
        margin: 0px 0px 10px 0px;
    }

    .dt-keluarga {
        width: 100% !important;
    }

    .dd-keluarga {
        width: 100% !important;
    }

    #footer {
        padding: 0px;
        margin: 20px 0px 0px 0px;
        width: 100%;
    }

    .row .dashboard-spacing-35 {
        margin-bottom: 35px;
    }

    .sm-overlay {
        position: fixed; 
        top: 0px; 
        left: 0px; 
        z-index: 80; 
        height: 100%; 
        width: 100%; 
        background-color: rgba(0, 0, 0, 0.3);
        display: none;
    }
    
    .sm-overlay.active {
        position: fixed; 
        top: 0px; 
        left: 0px; 
        z-index: 80; 
        height: 100%; 
        width: 100%; 
        background-color: rgba(0, 0, 0, 0.3);
        display: block;
    }

    .accordion-dashboard {
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 30px;
    }

    .my-statistik {
        font-family: 'Arial';
        padding: 0;
    }

    .h4-form {
        width: 100%;
    }
}

@media (max-width: 375px){
    .login-wrapper {
        margin-left : 20px;
        margin-right : 20px;
    }

    .divider-welcome {
        width: 90%;
    }

    .moto {
        font-size: 1em;
    }
}

/* ==========================================================================
   Rounded Select Dropdown Component
   ========================================================================== */
.custom-select-rounded {
    border-radius: 10px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 8px 36px 8px 14px !important;
    height: 42px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    background-color: #ffffff !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s ease-in-out !important;
    cursor: pointer !important;
}

.custom-select-rounded:focus {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
    outline: none !important;
}

/* Select2 & Custom Dropdown Popup Styling */
.select2-container {
    width: 100% !important;
}

.select2-container--bootstrap4 .select2-selection--single,
.select2-container .select2-selection--single {
    border-radius: 10px !important;
    height: 42px !important;
    border: 1px solid #cbd5e1 !important;
    display: flex !important;
    align-items: center !important;
    padding-left: 10px !important;
    padding-right: 28px !important;
    background-color: #ffffff !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s ease-in-out !important;
}

.select2-container--bootstrap4.select2-container--focus .select2-selection--single,
.select2-container--bootstrap4.select2-container--open .select2-selection--single {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered,
.select2-container .select2-selection--single .select2-selection__rendered {
    color: #1e293b !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    line-height: 40px !important;
    padding-left: 0 !important;
    text-transform: capitalize !important;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow,
.select2-container .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
    right: 10px !important;
    top: 0 !important;
}

.select2-container--bootstrap4 .select2-dropdown,
.select2-dropdown {
    border-radius: 14px !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
    overflow-x: hidden !important;
    padding: 6px !important;
    background: #ffffff !important;
    margin-top: 4px !important;
    z-index: 99999 !important;
    position: relative !important;
}

/* Lightweight Floating Chevron Arrow Indicators */
.dropdown-scroll-indicator {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 0.8rem !important;
    color: #64748b !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out !important;
    z-index: 100000 !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.dropdown-scroll-indicator.top-indicator {
    top: 6px !important;
}

.dropdown-scroll-indicator.bottom-indicator {
    bottom: 6px !important;
}

.dropdown-scroll-indicator.show {
    opacity: 0.85 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.dropdown-scroll-indicator.show:hover {
    opacity: 1 !important;
    color: #ef4444 !important;
    transform: translateX(-50%) scale(1.2) !important;
}

/* Select2 Dropdown Options List - Hidden Scrollbar by Default */
.select2-results__options {
    max-height: 250px !important;
    overflow-y: auto !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}


.select2-results__options::-webkit-scrollbar {
    display: none !important;
}

/* Optional Visible Scrollbar */
.select2-dropdown.has-scrollbar .select2-results__options {
    scrollbar-width: thin !important;
}

.select2-dropdown.has-scrollbar .select2-results__options::-webkit-scrollbar {
    display: block !important;
    width: 6px !important;
}

.select2-dropdown.has-scrollbar .select2-results__options::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.select2-dropdown.has-scrollbar .select2-results__options::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.select2-dropdown.has-scrollbar .select2-results__options::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.select2-container--bootstrap4 .select2-results__option,
.select2-results__option {
    padding: 9px 14px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    border-radius: 8px !important;
    margin: 2px 0 !important;
    transition: all 0.15s ease-in-out !important;
    text-transform: capitalize !important;
}

.select2-container--bootstrap4 .select2-results__option--highlighted[aria-selected],
.select2-results__option--highlighted,
.select2-results__option:hover {
    background-color: #fee2e2 !important;
    color: #dc2626 !important;
}

.select2-container--bootstrap4 .select2-results__option[aria-selected=true] {
    background-color: #ef4444 !important;
    color: #ffffff !important;
}

/* Dashboard Cards Theme */
.dashboard-chart-card,
.row-statistik .card,
.accordion-dashboard .card,
.card.mycard,
.mycard,
.card {
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.25s ease-in-out !important;
    overflow: hidden !important;
}

.dashboard-chart-card:hover,
.row-statistik .card:hover,
.accordion-dashboard .card:hover,
.card.mycard:hover,
.mycard:hover,
.card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

/* ==========================================================================
   Outlined Button Component Style
   ========================================================================== */
.btn-outline-gray, .btn-outline {
    background: #ffffff !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
    font-weight: 500;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
}

.btn-outline-gray:hover, .btn-outline:hover {
    background: #f8fafc !important;
    color: #0f172a !important;
    border-color: #94a3b8 !important;
}

.btn-outline-red {
    background: #ffffff !important;
    color: #dc2626 !important;
    border: 1px solid #fca5a5 !important;
    font-weight: 500;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
}

.btn-outline-red:hover {
    background: #fee2e2 !important;
    color: #b91c1c !important;
    border-color: #ef4444 !important;
}

/* ==========================================================================
   ApexCharts Toolbar & Dropdown Menu Rounded Styling
   ========================================================================== */
.apexcharts-toolbar {
    top: 10px !important;
    right: 14px !important;
    padding: 0 !important;
    z-index: 5 !important;
}

.apexcharts-toolbar .apexcharts-menu-icon,
.apexcharts-toolbar .apexcharts-reset-icon,
.apexcharts-toolbar .apexcharts-zoom-icon,
.apexcharts-toolbar .apexcharts-zoomin-icon,
.apexcharts-toolbar .apexcharts-zoomout-icon,
.apexcharts-toolbar .apexcharts-pan-icon {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 5px 7px !important;
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s ease-in-out !important;
    cursor: pointer !important;
}

.apexcharts-toolbar .apexcharts-menu-icon:hover,
.apexcharts-toolbar .apexcharts-menu-icon.apexcharts-selected {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08) !important;
}

.apexcharts-toolbar .apexcharts-menu-icon svg {
    fill: #475569 !important;
    width: 16px !important;
    height: 16px !important;
}

.apexcharts-toolbar .apexcharts-menu-icon:hover svg {
    fill: #0f172a !important;
}

.apexcharts-menu {
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05) !important;
    padding: 6px !important;
    background: #ffffff !important;
    min-width: 140px !important;
    font-family: 'Poppins', sans-serif !important;
    transition: opacity 0.15s ease-in-out !important;
}

.apexcharts-menu:not(.open),
.apexcharts-menu[style*="opacity: 0"] {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.select2-results__options {
    max-height: 250px !important;
    overflow-y: auto !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}


.select2-results__options::-webkit-scrollbar {
    display: none !important;
}

/* Optional Visible Scrollbar */
.select2-dropdown.has-scrollbar .select2-results__options {
    scrollbar-width: thin !important;
}

.select2-dropdown.has-scrollbar .select2-results__options::-webkit-scrollbar {
    display: block !important;
    width: 6px !important;
}

.select2-dropdown.has-scrollbar .select2-results__options::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.select2-dropdown.has-scrollbar .select2-results__options::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.select2-dropdown.has-scrollbar .select2-results__options::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.select2-container--bootstrap4 .select2-results__option,
.select2-results__option {
    padding: 9px 14px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    border-radius: 8px !important;
    margin: 2px 0 !important;
    transition: all 0.15s ease-in-out !important;
    text-transform: capitalize !important;
}

.select2-container--bootstrap4 .select2-results__option--highlighted[aria-selected],
.select2-results__option--highlighted,
.select2-results__option:hover {
    background-color: #fee2e2 !important;
    color: #dc2626 !important;
}

.select2-container--bootstrap4 .select2-results__option[aria-selected=true] {
    background-color: #ef4444 !important;
    color: #ffffff !important;
}

/* Dashboard Cards Theme */
.dashboard-chart-card,
.row-statistik .card,
.accordion-dashboard .card,
.card.mycard,
.mycard,
.card {
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.25s ease-in-out !important;
    overflow: hidden !important;
}

.dashboard-chart-card:hover,
.row-statistik .card:hover,
.accordion-dashboard .card:hover,
.card.mycard:hover,
.mycard:hover,
.card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

/* ==========================================================================
   Outlined Button Component Style
   ========================================================================== */
.btn-outline-gray, .btn-outline {
    background: #ffffff !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
    font-weight: 500;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
}

.btn-outline-gray:hover, .btn-outline:hover {
    background: #f8fafc !important;
    color: #0f172a !important;
    border-color: #94a3b8 !important;
}

.btn-outline-red {
    background: #ffffff !important;
    color: #dc2626 !important;
    border: 1px solid #fca5a5 !important;
    font-weight: 500;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
}

.btn-outline-red:hover {
    background: #fee2e2 !important;
    color: #b91c1c !important;
    border-color: #ef4444 !important;
}

/* ==========================================================================
   ApexCharts Toolbar & Dropdown Menu Rounded Styling
   ========================================================================== */
.apexcharts-toolbar {
    top: 10px !important;
    right: 14px !important;
    padding: 0 !important;
    z-index: 5 !important;
}

.apexcharts-toolbar .apexcharts-menu-icon,
.apexcharts-toolbar .apexcharts-reset-icon,
.apexcharts-toolbar .apexcharts-zoom-icon,
.apexcharts-toolbar .apexcharts-zoomin-icon,
.apexcharts-toolbar .apexcharts-zoomout-icon,
.apexcharts-toolbar .apexcharts-pan-icon {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 5px 7px !important;
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s ease-in-out !important;
    cursor: pointer !important;
}

.apexcharts-toolbar .apexcharts-menu-icon:hover,
.apexcharts-toolbar .apexcharts-menu-icon.apexcharts-selected {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08) !important;
}

.apexcharts-toolbar .apexcharts-menu-icon svg {
    fill: #475569 !important;
    width: 16px !important;
    height: 16px !important;
}

.apexcharts-toolbar .apexcharts-menu-icon:hover svg {
    fill: #0f172a !important;
}

.apexcharts-menu {
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05) !important;
    padding: 6px !important;
    background: #ffffff !important;
    min-width: 140px !important;
    font-family: 'Poppins', sans-serif !important;
    transition: opacity 0.15s ease-in-out !important;
}

.apexcharts-menu:not(.open),
.apexcharts-menu[style*="opacity: 0"] {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.apexcharts-menu-item {
    padding: 8px 12px !important;
    font-size: 0.825rem !important;
    font-weight: 500 !important;
    color: #334155 !important;
    border-radius: 6px !important;
    margin: 2px 0 !important;
    transition: all 0.15s ease-in-out !important;
}

.apexcharts-menu-item:hover {
    background-color: #fee2e2 !important;
    color: #dc2626 !important;
}

/* Stat Placeholder Action Card Hover Styling */
.stat-placeholder-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08) !important;
    border-color: #fca5a5 !important;
}

/* ==========================================================================
   Primary Theme Dropdown Style Card Header
   ========================================================================== */
.primary-dropdown-card {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 14px 22px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25) !important;
    transition: all 0.25s ease-in-out !important;
    user-select: none !important;
    margin-bottom: 16px !important;
    width: 100% !important;
    border: none !important;
}

.primary-dropdown-card:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.35) !important;
}

.dropdown-card-left {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
}

.dropdown-card-icon {
    font-size: 1.1rem !important;
    color: #ffffff !important;
}

.dropdown-card-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    color: #ffffff !important;
}

.dropdown-card-right {
    display: flex !important;
    align-items: center !important;
}

.dropdown-card-arrow {
    font-size: 0.9rem !important;
    color: #ffffff !important;
    transition: transform 0.3s ease-in-out !important;
}

.primary-dropdown-card[aria-expanded="true"] .dropdown-card-arrow,
.primary-dropdown-card:not(.collapsed) .dropdown-card-arrow {
    transform: rotate(180deg) !important;
}

/* Module Access Card Hover Styling */
.module-access-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 30px rgba(227, 52, 47, 0.2) !important;
    border-color: #fca5a5 !important;
}

.module-access-card:hover h6 {
    color: #e3342f !important;
}

/* Full Width & Edge-to-Edge Dashboard Navbar Layout Fix */
#header {
    top: 0 !important;
    left: 280px !important;
    right: 0 !important;
    width: calc(100% - 280px) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
}

#header.no-sidebar,
body.no-sidebar #header,
body.no-sidebar #header.active,
.no-sidebar#header {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
}

#header .navbar {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    padding: 12px 28px !important;
    box-sizing: border-box !important;
}

#header .header-top {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

#content {
    padding-top: 110px !important;
    padding-bottom: 48px !important;
    margin-bottom: 0 !important;
}

#content.no-sidebar,
body.no-sidebar #content,
body.no-sidebar #content.active,
.no-sidebar#content {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    padding-top: 115px !important;
    padding-bottom: 48px !important;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
    width: 100% !important;
}

.container-fluid.content-wrapper {
    margin-top: 12px !important;
    margin-bottom: 32px !important;
}

#content.no-sidebar .container-fluid.content-wrapper,
body.no-sidebar .container-fluid.content-wrapper,
.no-sidebar .container-fluid.content-wrapper {
    max-width: 1320px !important;
    margin: 12px auto 32px auto !important;
    padding: 28px 24px !important;
    width: 100% !important;
}

/* --- Modern Expandable/Collapsible Sidebar & Mini-Sidebar Component --- */
#sidebar {
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    border-right: none !important;
    display: flex !important;
    flex-direction: column !important;
}

#sidebar.active {
    margin-left: 0 !important;
    width: 76px !important;
    min-width: 76px !important;
    max-width: 76px !important;
    overflow: hidden !important;
    border-right: none !important;
}

#sidebar #accordion {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    width: 100% !important;
}

#sidebar .sidebar-header,
#sidebar .sidebar-brand-wrapper {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
    border-right: none !important;
    padding: 0 !important;
    margin: 0 0 0 0 !important;
    height: 76px !important;
    min-height: 76px !important;
    max-height: 76px !important;
    width: calc(100% + 2px) !important;
    margin-right: -2px !important;
    box-sizing: border-box !important;
    position: relative;
    z-index: 105;
    flex: 0 0 76px !important;
}

#header {
    height: 76px !important;
    min-height: 76px !important;
    max-height: 76px !important;
    box-sizing: border-box !important;
}

#sidebar:not(.active) .sidebar-brand-expanded {
    display: flex !important;
    height: 100% !important;
    width: 100% !important;
    background: #ffffff !important;
    border-right: none !important;
}

#sidebar:not(.active) .sidebar-brand-collapsed {
    display: none !important;
}

#sidebar.active .sidebar-brand-expanded {
    display: none !important;
}

#sidebar.active .sidebar-brand-collapsed {
    display: flex !important;
    height: 100% !important;
    width: 100% !important;
    background: #ffffff !important;
    border-right: none !important;
}

/* Hide menu texts, arrows, submenus, and user block when sidebar is active (mini mode) */
#sidebar.active ul.components li a span,
#sidebar.active ul.components li a .side-icon,
#sidebar.active ul.components li a i.fa-angle-down,
#sidebar.active ul.components li a i.fa-chevron-down,
#sidebar.active ul.components li a i.fa-chevron-right {
    display: none !important;
}

#sidebar.active ul.components li a {
    text-align: center !important;
    padding: 16px 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

#sidebar.active ul.components li a i {
    margin: 0 !important;
}

#sidebar.active ul.custom-dropdown,
#sidebar.active .sidebar-user {
    display: none !important;
}

/* Adjust top header, content, and footer layout when sidebar is toggled */
#header:not(.no-sidebar):not(.active) {
    left: 280px !important;
    width: calc(100% - 280px) !important;
    transition: all 0.3s ease !important;
}

#header.active:not(.no-sidebar),
body:not(.no-sidebar) #header.active {
    left: 76px !important;
    width: calc(100% - 76px) !important;
    transition: all 0.3s ease !important;
}

#content:not(.no-sidebar):not(.active) {
    padding-left: 280px !important;
    transition: all 0.3s ease !important;
}

#content.active:not(.no-sidebar),
body:not(.no-sidebar) #content.active {
    padding-left: 76px !important;
    transition: all 0.3s ease !important;
}

#footer:not(.no-sidebar):not(.active) {
    padding-left: 270px !important;
    transition: all 0.3s ease !important;
}

#footer.active:not(.no-sidebar),
body:not(.no-sidebar) #footer.active,
.dashboard-footer.active:not(.no-sidebar) {
    padding-left: 96px !important;
    transition: all 0.3s ease !important;
}

/* Fix for dropdowns inside mycard getting clipped */
.card.mycard, .mycard {
    overflow: visible !important;
    position: relative;
    z-index: 50;
}

/* Custom Pagination - Squircle Red Theme */
.pagination {
    gap: 4px;
}
.page-item .page-link, .pagination > li > a, .pagination > li > span {
    border-radius: 8px !important;
    color: #ef4444 !important; /* Red text */
    border: 1px solid #fca5a5 !important; /* Red outline */
    margin: 0 2px;
    padding: 6px 12px;
    transition: all 0.2s ease;
    background-color: #ffffff;
    display: inline-block;
}
.page-item .page-link:hover, .pagination > li > a:hover {
    background-color: #fee2e2 !important;
    border-color: #ef4444 !important;
    color: #dc2626 !important;
}
.page-item.active .page-link, .pagination > .active > a, .pagination > .active > span {
    background-color: #dc2626 !important;
    border-color: #dc2626 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
}
.page-item.disabled .page-link, .pagination > .disabled > span, .pagination > .disabled > a {
    background-color: #f8fafc !important;
    color: #fca5a5 !important;
    border-color: #fecaca !important;
}

.no-hover-shadow, .no-hover-shadow:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important; transform: none !important; transition: none !important; }

.card.mycard.no-hover-shadow, .card.mycard.no-hover-shadow:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important; transform: none !important; transition: none !important; }

.card.no-hover-shadow:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important; transform: none !important; transition: none !important; }


/* ==========================================================================
   Modern Form Components
   ========================================================================== */
.form-group-modern {
    margin-bottom: 1rem;
}

.form-label-modern {
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.9rem;
}

.form-control-modern {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.375rem 0.75rem;
    font-size: 0.9rem;
    color: #1e293b;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    width: 100%;
}

.form-control-modern:focus {
    border-color: #ef4444;
    outline: none;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.form-control-modern::placeholder {
    color: #94a3b8;
}

select.form-control-modern {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
}

.custom-radio-modern .custom-control-label::before {
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background-color: #fff;
    width: 1.25rem;
    height: 1.25rem;
    top: 0.1rem;
}

.custom-radio-modern .custom-control-input:checked ~ .custom-control-label::before {
    border-color: #ef4444;
    background-color: #ef4444;
}

.custom-checkbox-modern .custom-control-label::before {
    border-radius: 4px;
    border: 2px solid #cbd5e1;
    background-color: #fff;
    width: 1.25rem;
    height: 1.25rem;
    top: 0.1rem;
}


.custom-radio-modern .custom-control-label::after {
    width: 1.25rem;
    height: 1.25rem;
    top: 0.1rem;
}

.custom-checkbox-modern .custom-control-label::after {
    width: 1.25rem;
    height: 1.25rem;
    top: 0.1rem;
    background-size: 55% 55%;
}

.custom-checkbox-modern .custom-control-input:checked ~ .custom-control-label::before {
    border-color: #ef4444;
    background-color: #ef4444;
}

.custom-file-modern .custom-file-label {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    height: auto;
    color: #64748b;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.custom-file-modern .custom-file-label::after {
    height: 100%;
    padding: 0.6rem 1rem;
    background-color: #f1f5f9;
    color: #475569;
    border-radius: 0 8px 8px 0;
    content: "Browse";
}

.custom-file-modern .custom-file-input:focus ~ .custom-file-label {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.red-aster {
    color: #ef4444;
}

.btn-disable {
    background: #94a3b8 !important;
    color: #ffffff !important;
    cursor: not-allowed !important;
    border: none !important;
    font-weight: 600;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    vertical-align: middle !important;
}

/* Force uppercase on all select2 fields in forms */
.select2-container .select2-selection__rendered,
.select2-results__option {
    text-transform: uppercase !important;
}

/* Modern Alerts */
.alert-modern {
    border-radius: 10px !important;
    border: none;
    border-left: 5px solid transparent;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    padding: 1rem 1.25rem;
    margin-top: 15px;
}
.alert-modern.alert-success {
    background-color: #ecfdf5 !important;
    color: #065f46 !important;
    border-left-color: #10b981;
}
.alert-modern.alert-success .close {
    color: #065f46 !important;
    opacity: 0.6;
    padding: 1rem 1.25rem;
}
.alert-modern.alert-success .close:hover {
    opacity: 1;
}
.alert-modern.alert-info {
    background-color: #eff6ff !important;
    color: #1e3a8a !important;
    border-left-color: #3b82f6;
}
.alert-modern.alert-info .close {
    color: #1e3a8a !important;
    opacity: 0.6;
    padding: 1rem 1.25rem;
}
.alert-modern.alert-info .close:hover {
    opacity: 1;
}

/* Modern Select2 Search Field */
.select2-container .select2-search--dropdown .select2-search__field {
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 0.9rem !important;
    color: #1e293b !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    outline: none !important;
}

.select2-container .select2-search--dropdown .select2-search__field:focus {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

/* Disabled Select2 styling to make it look grayed out */
.select2-container--disabled .select2-selection {
    background-color: #e2e8f0 !important;
    cursor: not-allowed !important;
    opacity: 0.8;
}
.select2-container--disabled .select2-selection__rendered {
    color: #64748b !important;
}

/* Hide dropdown arrow when Select2 is disabled to look like a flat text input */
.select2-container--disabled .select2-selection__arrow {
    display: none !important;
}

/* Squircle Action Buttons */
.btn-squircle {
    width: 32px !important;
    height: 32px !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

.btn-squircle {
    margin-top: 0 !important;
}
