* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: "Trebuchet MS", "Comic Sans MS", "Segoe UI", sans-serif;
    overflow: hidden;
    background:
        radial-gradient(circle at top, rgba(255,255,255,0.45), transparent 30%),
        linear-gradient(180deg, #92ebff 0%, #62d5ff 18%, #2fb8f3 45%, #1087d0 70%, #0a5a98 100%);
}

/* BACKGROUND WORLD */
.ocean-world {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.bubble {
    position: absolute;
    bottom: -120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.22);
    box-shadow:
        inset -4px -6px 10px rgba(255,255,255,0.18),
        0 0 10px rgba(255,255,255,0.12);
    animation: bubbleUp linear infinite;
}

.b1  { left: 5%;  width: 18px; height: 18px; animation-duration: 7s; }
.b2  { left: 12%; width: 10px; height: 10px; animation-duration: 9s; animation-delay: 1s; }
.b3  { left: 21%; width: 24px; height: 24px; animation-duration: 11s; animation-delay: 2s; }
.b4  { left: 33%; width: 14px; height: 14px; animation-duration: 8s; animation-delay: 1.5s; }
.b5  { left: 46%; width: 28px; height: 28px; animation-duration: 12s; animation-delay: 2.5s; }
.b6  { left: 57%; width: 12px; height: 12px; animation-duration: 8.5s; animation-delay: 1.8s; }
.b7  { left: 67%; width: 22px; height: 22px; animation-duration: 10.5s; animation-delay: 3s; }
.b8  { left: 78%; width: 16px; height: 16px; animation-duration: 9.5s; animation-delay: 1.2s; }
.b9  { left: 88%; width: 26px; height: 26px; animation-duration: 11.5s; animation-delay: 2.7s; }
.b10 { left: 95%; width: 12px; height: 12px; animation-duration: 7.8s; animation-delay: 0.7s; }

/* FISH - ALL MOVE ONE DIRECTION */
.fish {
    position: absolute;
    left: -120px;
    font-size: 30px;
    filter: drop-shadow(0 8px 12px rgba(0,0,0,0.15));
    opacity: 0.95;
    animation: swimRight linear infinite;
}

.fr1 { top: 10%; animation-duration: 17s; font-size: 28px; }
.fr2 { top: 22%; animation-duration: 21s; animation-delay: 3s; font-size: 34px; }
.fr3 { top: 40%; animation-duration: 19s; animation-delay: 1s; font-size: 30px; }
.fr4 { top: 62%; animation-duration: 24s; animation-delay: 4s; font-size: 26px; }
.fr5 { top: 80%; animation-duration: 20s; animation-delay: 2s; font-size: 32px; }
.fr6 { top: 14%; animation-duration: 26s; animation-delay: 5s; font-size: 24px; }
.fr7 { top: 30%; animation-duration: 18s; animation-delay: 6s; font-size: 29px; }
.fr8 { top: 54%; animation-duration: 23s; animation-delay: 7s; font-size: 33px; }
.fr9 { top: 72%; animation-duration: 20s; animation-delay: 8s; font-size: 27px; }

.starfish {
    position: absolute;
    bottom: 14px;
    font-size: 24px;
    animation: twinkle 2.8s ease-in-out infinite;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.10));
}

.s1 { left: 8%;  animation-delay: 0s; }
.s2 { left: 24%; animation-delay: .7s; }
.s3 { left: 52%; animation-delay: 1.4s; }
.s4 { left: 73%; animation-delay: 1s; }
.s5 { left: 91%; animation-delay: 1.8s; }

.plant {
    position: absolute;
    bottom: -8px;
    width: 24px;
    border-radius: 30px 30px 0 0;
    background: linear-gradient(180deg, #53f29d 0%, #15965c 100%);
    transform-origin: bottom center;
    animation: sway 4s ease-in-out infinite;
    filter: drop-shadow(0 6px 10px rgba(0,0,0,0.10));
}

.plant::before,
.plant::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 24px;
    border-radius: 30px 30px 0 0;
    background: inherit;
}

.plant::before {
    left: -15px;
    height: 70%;
    transform: rotate(-10deg);
}

.plant::after {
    right: -15px;
    height: 78%;
    transform: rotate(10deg);
}

.p1 { left: 3%;  height: 130px; animation-duration: 4.5s; }
.p2 { left: 10%; height: 185px; animation-duration: 5.2s; }
.p3 { left: 18%; height: 145px; animation-duration: 4.7s; }
.p4 { left: 79%; height: 190px; animation-duration: 5.1s; }
.p5 { left: 86%; height: 155px; animation-duration: 4.2s; }
.p6 { left: 92%; height: 175px; animation-duration: 5.6s; }
.p7 { left: 97%; height: 125px; animation-duration: 4.8s; }

.coral {
    position: absolute;
    bottom: 0;
    width: 95px;
    height: 70px;
    border-radius: 60px 60px 0 0;
    filter: drop-shadow(0 8px 14px rgba(0,0,0,0.12));
}

.coral::before,
.coral::after {
    content: "";
    position: absolute;
    bottom: 26px;
    width: 24px;
    height: 65px;
    background: inherit;
    border-radius: 24px 24px 0 0;
}

.coral::before {
    left: 18px;
    transform: rotate(-18deg);
}

.coral::after {
    right: 18px;
    transform: rotate(18deg);
}

.c1 { left: 14%; background: linear-gradient(180deg, #ffb5cf, #ff6d9e); }
.c2 { left: 25%; background: linear-gradient(180deg, #ffc38d, #ff8745); }
.c3 { right: 20%; background: linear-gradient(180deg, #ff9ed3, #ff5d9a); }
.c4 { right: 10%; background: linear-gradient(180deg, #ffd08f, #ff9151); }

.shell {
    position: absolute;
    bottom: 4px;
    width: 70px;
    height: 44px;
    border-radius: 44px 44px 0 0;
    background: linear-gradient(180deg, #ffe3f0, #ffb0cf);
    box-shadow: 0 8px 14px rgba(0,0,0,0.10);
}

.sh1 { left: 34%; }
.sh2 { right: 34%; }

/* STAGE */
.login-stage {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px;
}

.cute-login-card {
    width: 1080px;
    max-width: 100%;
    min-height: 620px;
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    border-radius: 42px;
    overflow: hidden;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 30px 80px rgba(3, 58, 103, 0.28);
}

/* LEFT */
.cute-left {
    position: relative;
    padding: 42px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.28), transparent 35%),
        linear-gradient(180deg, #3cd0ff 0%, #1295df 100%);
}

.brand-cloud {
    width: 100%;
    max-width: 360px;
    text-align: center;
}

.logo-bubble {
    width: 210px;
    height: 210px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 25%, #ffffff 0%, #eafcff 38%, #bfeeff 70%, #8cdcff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0 8px 20px rgba(255,255,255,0.9),
        0 22px 40px rgba(0,0,0,0.14);
    animation: floaty 4s ease-in-out infinite;
}

.logo-bubble img {
    width: 280px;
    height: 280px;
    object-fit: contain;
}

.brand-title {
    font-size: 46px;
    line-height: 1;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 5px 14px rgba(0,0,0,0.14);
    letter-spacing: 0.5px;
}

.brand-subtitle {
    margin-top: 8px;
    font-size: 28px;
    font-weight: 800;
    color: #fff7c9;
    text-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.brand-desc {
    margin: 16px auto 0;
    max-width: 320px;
    color: rgba(255,255,255,0.95);
    line-height: 1.8;
    font-size: 15px;
}

.cute-badges {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.cute-badges span {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

/* RIGHT */
.cute-right {
    background:
        radial-gradient(circle at top right, rgba(255,255,255,0.85), rgba(255,255,255,0.20) 40%, transparent 50%),
        linear-gradient(180deg, #fffdf7 0%, #fdf3ff 36%, #eef9ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 26px;
}

.form-shell {
    width: 100%;
    max-width: 430px;
    padding: 34px 28px 28px;
    border-radius: 36px 36px 52px 52px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,248,254,0.98));
    border: 3px solid #ffe5f4;
    box-shadow:
        0 18px 40px rgba(71, 143, 192, 0.14),
        inset 0 2px 0 rgba(255,255,255,0.85);
    position: relative;
}

.form-shell::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 26px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffe8f4, #ffd2e8);
    box-shadow: 0 8px 14px rgba(0,0,0,0.08);
}

.shell-top-decoration {
    display: flex;
    justify-content: center;
    gap: 14px;
    font-size: 22px;
    margin-bottom: 8px;
}

.form-title {
    margin: 0;
    text-align: center;
    font-size: 34px;
    color: #0d5888;
    font-weight: 900;
}

.form-subtitle {
    margin: 8px 0 22px;
    text-align: center;
    color: #6d8eaa;
    font-size: 14px;
}

.alert-box {
    padding: 12px 14px;
    border-radius: 18px;
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 700;
}

.error-box {
    background: #ffe8f0;
    border: 2px solid #ffc8da;
    color: #cb4375;
}

.success-box {
    background: #e9fff2;
    border: 2px solid #c8f0d8;
    color: #199660;
}

.field-group {
    margin-bottom: 16px;
}

.field-group label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    color: #1f648c;
    font-weight: 800;
    padding-left: 6px;
}

.cute-input-wrap {
    position: relative;
    height: 60px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff, #f6fcff);
    border: 3px solid #dff4ff;
    box-shadow: 0 10px 24px rgba(50, 135, 190, 0.08);
    overflow: hidden;
}

.cute-input-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 21px;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.95);
}

.input-deco {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
}

.cute-input-wrap input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 0 18px 0 54px;
    font-size: 15px;
    color: #134c72;
    font-family: inherit;
}

.cute-input-wrap input::placeholder {
    color: #7ca4bd;
}

.cute-input-wrap:focus-within {
    border-color: #9edfff;
    box-shadow: 0 0 0 5px rgba(138, 217, 255, 0.18);
}

.cute-login-btn {
    width: 100%;
    height: 62px;
    margin-top: 10px;
    border: none;
    border-radius: 22px 22px 28px 28px;
    cursor: pointer;
    background: linear-gradient(135deg, #ff82bf 0%, #ff5c9c 45%, #ff8b45 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    box-shadow:
        0 16px 28px rgba(255, 106, 155, 0.24),
        inset 0 1px 0 rgba(255,255,255,0.35);
    transition: .25s ease;
}

.cute-login-btn:hover {
    transform: translateY(-2px) scale(1.01);
}

.bottom-links {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.bottom-links a {
    color: #1b6f9f;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
}

.bottom-links a:hover {
    text-decoration: underline;
}

/* MODAL */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(4, 38, 69, 0.35);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-box {
    width: 420px;
    max-width: 100%;
    background: linear-gradient(180deg, #ffffff, #edf9ff);
    border-radius: 30px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0,0,0,0.20);
    animation: popupShow .25s ease;
}

.modal-emoji {
    font-size: 38px;
    margin-bottom: 6px;
}

.modal-box h3 {
    margin: 0 0 10px;
    font-size: 28px;
    color: #0c5989;
}

.modal-text {
    margin: 0 0 16px;
    color: #517a96;
    line-height: 1.7;
    font-size: 15px;
}

.modal-input {
    width: 100%;
    height: 54px;
    border-radius: 18px;
    border: 2px solid #d7eef9;
    outline: none;
    padding: 0 16px;
    font-size: 15px;
    color: #134d73;
    background: #fff;
    font-family: inherit;
}

.modal-input:focus {
    border-color: #92ddff;
    box-shadow: 0 0 0 4px rgba(131, 216, 255, 0.16);
}

.modal-buttons {
    margin-top: 16px;
}

.modal-btn {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 18px;
    margin-top: 10px;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
}

.modal-primary {
    background: linear-gradient(135deg, #16bcff, #006eff);
    color: #fff;
}

.modal-secondary {
    background: #dceffc;
    color: #28597a;
}

.admin-contact {
    margin-top: 12px;
    padding: 14px;
    border-radius: 16px;
    background: #eef8ff;
    color: #0d5887;
    font-weight: 800;
}

/* ANIMATIONS */
@keyframes bubbleUp {
    0% {
        transform: translateY(0) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translateY(-120vh) scale(1.2);
        opacity: 0;
    }
}

@keyframes swimRight {
    0% {
        transform: translateX(0) scaleX(-1);
    }
    100% {
        transform: translateX(calc(100vw + 220px)) scaleX(-1);
    }
}

@keyframes sway {
    0%, 100% {
        transform: rotate(-4deg);
    }
    50% {
        transform: rotate(7deg);
    }
}

@keyframes twinkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: .85;
    }
    50% {
        transform: scale(1.18) rotate(8deg);
        opacity: 1;
    }
}

@keyframes floaty {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes popupShow {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* RESPONSIVE */
@media (max-width: 980px) {
    body {
        overflow: auto;
    }

    .login-stage {
        padding: 18px;
    }

    .cute-login-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .cute-left {
        padding: 34px 22px;
    }

    .cute-right {
        padding: 26px 18px 30px;
    }

    .logo-bubble {
        width: 170px;
        height: 170px;
    }

    .logo-bubble img {
        width: 105px;
        height: 105px;
    }

    .brand-title {
        font-size: 38px;
    }

    .brand-subtitle {
        font-size: 24px;
    }

    .form-title {
        font-size: 30px;
    }
}