body {
    background: linear-gradient(135deg,#0ea5e9 0%,#0f172a 100%);
    color: #f1f5f9;
    font-family: 'Inter', Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
	
}

/* Background matrix animation canvas */
.matrix-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 0;
}
.cyber-bg {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.cyber-bg svg {
    width: 100vw; height: 100vh;
    opacity: 0.22;
    filter: blur(0.5px) brightness(1.09);
}

.dashboard-box {
    max-width: 980px;
    margin: 36px auto 0 auto;
    background: rgba(20,26,40,0.97);
    padding: 40px 30px 30px 30px;
    border-radius: 25px;
    box-shadow: 0 12px 44px 0 #1e293b60;
    z-index: 3;
    position: relative;
}

.menu-bar, .content, .add-menu-form {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.menu-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #224a70c8;
    padding-bottom: 13px;
    margin-bottom: 22px;
    font-size: 1.07em;
}
.menu-bar ul {
    list-style: none;
    display: flex;
    gap: 19px;
    padding: 0;
    margin: 0;
}
.menu-bar ul li a {
    color: #41d6fb;
    text-decoration: none;
    font-weight: 700;
    transition: color .18s;
    padding: 3px 5px;
    border-radius: 7px;
}
.menu-bar ul li a:hover,
.menu-bar ul li.active a {
    color: #fff;
    background: #41d6fb18;
}
.user-info {
    font-size: .99em;
    color: #d1faff;
    opacity: .93;
}
.user-info a {
    color: #ffd39c;
    text-decoration: none;
    font-weight: 600;
}
.content {
    margin-top: 19px;
    text-align: left;
}
.add-menu-form {
    margin: 20px auto 18px auto;
    background: #13324d28;
    border-radius: 13px;
    padding: 18px;
    max-width: 560px;
    box-shadow: 0 2px 10px #38bdf824;
}
.add-menu-form form { display: flex; gap: 10px; flex-wrap: wrap; }
.add-menu-form input[type="text"] {
    flex: 1 1 120px;
    padding: 10px 13px;
    border-radius: 8px;
    border: 1.2px solid #38bdf880;
    background: #e0f7fa18;
    color: #19334d;
    margin-bottom: 7px;
    font-weight: 700;
    font-size: 1em;
	color: white;
}
.add-menu-form input[type="file"] {
    padding: 7px;
    background: transparent;
    color: #0ea5e9;
    margin-bottom: 7px;
}
.add-menu-form button {
    background: linear-gradient(90deg, #38bdf8 18%, #0ea5e9 100%);
    color: #18181b;
    border: none;
    padding: 11px 21px;
    border-radius: 9px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 14px #0ea5e93c;
    letter-spacing: .03em;
    font-size: 1.07em;
    margin-bottom: 7px;
    transition: background .18s, box-shadow .13s;
}
.add-menu-form button:hover {
    background: linear-gradient(90deg, #0ea5e9 10%, #38bdf8 100%);
    box-shadow: 0 4px 20px #38bdf87a;
    transform: scale(1.04) translateY(-2px);
}

/* MODERN DASHBOARD MENU GRID */
.menu-grid {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto 30px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    z-index: 2;
}
.menu-card {
    background: rgba(255,255,255,0.96);
    border-radius: 25px;
    box-shadow: 0 7px 36px 0 #22354d18, 0 1.2px 8px #5fd2fb17;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
    transition: transform 0.15s, box-shadow .17s;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1.6px solid #bae6fd34;
}
.menu-card:hover {
    transform: scale(1.037) translateY(-2px);
    box-shadow: 0 12px 50px 0 #38bdf866, 0 2px 16px #5fd2fb22;
}
.menu-icon {
    width: 62px;
    margin-bottom: 19px;
    margin-top: 4px;
    filter: drop-shadow(0 2px 7px #1b9ff33b);
}
.menu-label {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 800;
    color: #142136;
    letter-spacing: .07em;
    font-size: 1.14em;
    text-align: center;
    margin-top: 8px;
    text-shadow: 0 1.5px 14px #38bdf813;
}
.menu-signal {
    position: absolute;
    top: 14px;
    right: 15px;
    width: 27px;
    opacity: 0.85;
    filter: drop-shadow(0 1px 5px #38bdf835);
}
/* Tombol hapus admin di pojok */
.delete-btn {
    position: absolute;
    top: 9px;
    left: 9px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f43f5e;
    color: #fff;
    font-size: 1.6em;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    opacity: 0.88;
    box-shadow: 0 2px 12px #f43f5e33;
    transition: background .18s, transform .13s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.delete-btn:hover {
    background: #b91c1c;
    transform: scale(1.12) rotate(-9deg);
}
@media (max-width: 900px) {
    .dashboard-box { max-width: 100vw; }
    .menu-grid { gap: 18px; }
    .menu-card { width: 140px; height: 140px; }
    .menu-icon { width: 38px; }
    .menu-signal { width: 17px; }
}
@media (max-width: 600px) {
    .dashboard-box { margin: 12px 2vw 0 2vw; }
    .menu-grid { gap: 6px; }
    .menu-card { width: 46vw; height: 46vw; min-width: 110px; min-height: 110px; }
    .menu-label { font-size: .93em; }
    .add-menu-form { max-width: 98vw; padding: 12px; }
}


/* Untuk halaman login, supaya box benar2 di tengah */
.login-wrapper {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
}

/* Login box style */
.login-box {
    background: rgba(20,26,40,0.97);
    padding: 44px 32px 34px 32px;
    border-radius: 28px;
    box-shadow: 0 12px 44px 0 #1e293b5c, 0 1.5px 13px #38bdf819;
    width: 100%;
    max-width: 410px;
    min-width: 290px;
    backdrop-filter: blur(18px);
    border: 1.6px solid #38bdf833;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0 auto;
}

.logo-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 8px;
    margin-top: -10px;
}
.logo-app .emoji {
    font-size: 3.3rem;
    margin-bottom: 4px;
    filter: drop-shadow(0 3px 18px #38bdf855);
}
.logo-app .app-title {
    font-size: 2.19rem;
    font-weight: 900;
    letter-spacing: 1.3px;
    background: linear-gradient(94deg, #38bdf8 38%, #16e4f5 78%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
    font-family: 'Inter', Arial, sans-serif;
    text-shadow: 0 2px 20px #38bdf826;
    user-select: none;
}
.login-box h2 {
    text-align: center;
    color: #60a5fa;
    font-size: 1.19rem;
    margin-bottom: 13px;
    font-weight: 700;
    letter-spacing: .7px;
    opacity: .84;
}
.input-row {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0 0 13px 0;
}
.login-box input {
    width: 100%;
    box-sizing: border-box;
    padding: 15px 15px 15px 16px;
    border-radius: 16px;
    border: 1.8px solid #0ea5e999;
    font-size: 1.13rem;
    font-family: 'JetBrains Mono', monospace;
    background: rgba(40,54,90,0.28);
    color: #f1f5f9;
    transition: border .19s, box-shadow .13s;
    box-shadow: 0 2px 11px #38bdf810;
    outline: none;
    font-weight: 500;
}
.login-box input:focus {
    border: 2.2px solid #60a5fa;
    box-shadow: 0 2px 24px #38bdf822;
    background: rgba(64,94,152,0.19);
}
.login-box button {
    background: linear-gradient(91deg, #38bdf8 18%, #0ea5e9 100%);
    color: #18181b;
    border: none;
    padding: 14px 0 14px 0;
    border-radius: 16px;
    width: 100%;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: .3px;
    box-shadow: 0 2px 19px #0ea5e933;
    cursor: pointer;
    margin-top: 14px;
    margin-bottom: 7px;
    transition: background .17s, box-shadow .11s, transform .11s;
    text-shadow: 0 1px 9px #bae6fd32;
}
.login-box button:hover {
    background: linear-gradient(90deg, #0ea5e9 10%, #38bdf8 100%);
    box-shadow: 0 4px 22px #38bdf866;
    transform: scale(1.013) translateY(-1.3px);
}
.error-msg {
    background: #ef4444e9;
    color: #fff;
    padding: 10px 13px;
    border-radius: 11px;
    margin-bottom: 14px;
    font-size: 1.05rem;
    text-align: center;
    letter-spacing: .4px;
    box-shadow: 0 2px 14px #f43f5e44;
}
.footer {
    text-align:center;
    color:#64748b;
    font-size:1.06em;
    margin-top:19px;
    letter-spacing: .02em;
    opacity: .95;
    user-select: none;
}

@media (max-width: 540px) {
    .login-box { padding: 19px 5vw 13px 5vw; border-radius: 12px;}
    .logo-app .emoji { font-size: 2.3rem; }
    .logo-app .app-title { font-size: 1.15rem;}
    .footer {font-size:.99em;}
}

.login-wrapper {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0; left: 0;
    z-index: 10;
}
