/* =========================================
   PREMIUM MODERN BANKING UI
   FULL UPGRADED CSS
========================================= */

/* GOOGLE FONT */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{

    --bg:#020617;
    --card:#0f172acc;

    --white:#ffffff;
    --text:#cbd5e1;

    --blue:#3b82f6;
    --cyan:#06b6d4;

    --danger:#ef4444;
}

/* BODY */
body{

    font-family:'Inter',sans-serif;

    min-height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;

    padding:20px;

    overflow-x:hidden;

    color:var(--white);

    background:
        radial-gradient(circle at top left,#1d4ed8 0%,transparent 28%),
        radial-gradient(circle at bottom right,#0891b2 0%,transparent 30%),
        linear-gradient(135deg,#020617,#07111f,#020617);

    position:relative;
}

/* BACKGROUND GLOW */
body::before{

    content:"";

    position:fixed;

    width:350px;
    height:350px;

    background:rgba(59,130,246,0.18);

    border-radius:50%;

    top:-100px;
    left:-100px;

    filter:blur(120px);

    animation:float1 10s ease-in-out infinite;
}

body::after{

    content:"";

    position:fixed;

    width:320px;
    height:320px;

    background:rgba(6,182,212,0.15);

    border-radius:50%;

    bottom:-100px;
    right:-100px;

    filter:blur(120px);

    animation:float2 12s ease-in-out infinite;
}

/* FLOAT ANIMATION */
@keyframes float1{

    0%,100%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(30px);
    }
}

@keyframes float2{

    0%,100%{
        transform:translateX(0px);
    }

    50%{
        transform:translateX(-30px);
    }
}

/* LIVE CLOCK */
#liveClock{

    position:fixed;

    top:18px;
    right:22px;

    padding:12px 18px;

    border-radius:50px;

    background:rgba(255,255,255,0.06);

    border:1px solid rgba(255,255,255,0.08);

    backdrop-filter:blur(18px);

    color:white;

    font-size:13px;
    font-weight:600;

    letter-spacing:0.5px;

    box-shadow:
        0 8px 25px rgba(0,0,0,0.35);

    z-index:1000;
}

/* MAIN CARD */
section{

    width:100%;
    max-width:520px;

    padding:42px 38px;

    background:rgba(15,23,42,0.82);

    border:1px solid rgba(255,255,255,0.08);

    backdrop-filter:blur(24px);
    -webkit-backdrop-filter:blur(24px);

    border-radius:28px;

    box-shadow:
        0 25px 60px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.05);

    position:relative;

    overflow:hidden;

    animation:cardEnter .6s ease;
}

/* CARD SHINE */
section::before{

    content:"";

    position:absolute;

    width:180px;
    height:180px;

    background:rgba(255,255,255,0.04);

    border-radius:50%;

    top:-70px;
    right:-70px;
}

section::after{

    content:"";

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.06),
            transparent 40%
        );

    pointer-events:none;
}

/* CARD ANIMATION */
@keyframes cardEnter{

    from{
        opacity:0;
        transform:
            translateY(25px)
            scale(0.96);
    }

    to{
        opacity:1;
        transform:
            translateY(0)
            scale(1);
    }
}

/* TITLE */
h2{

    font-size:36px;

    font-weight:700;

    text-align:center;

    margin-bottom:30px;

    letter-spacing:-1px;

    background:
        linear-gradient(
            to right,
            #ffffff,
            #93c5fd
        );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

/* INPUTS */
input{

    width:100%;

    padding:18px 20px;

    margin-bottom:14px;

    border-radius:16px;

    border:1px solid rgba(255,255,255,0.08);

    outline:none;

    background:rgba(255,255,255,0.06);

    color:white;

    font-size:15px;
    font-weight:500;

    transition:0.3s ease;
}

/* PLACEHOLDER */
input::placeholder{

    color:rgba(255,255,255,0.55);
}

/* INPUT FOCUS */
input:focus{

    border-color:rgba(59,130,246,0.8);

    background:rgba(255,255,255,0.1);

    box-shadow:
        0 0 0 4px rgba(59,130,246,0.15);

    transform:translateY(-2px);
}

/* BUTTON */
button{

    width:100%;

    padding:16px;

    margin-top:12px;

    border:none;

    border-radius:16px;

    cursor:pointer;

    font-size:15px;
    font-weight:700;

    color:white;

    position:relative;

    overflow:hidden;

    background:
        linear-gradient(
            135deg,
            #3b82f6,
            #06b6d4
        );

    box-shadow:
        0 10px 25px rgba(37,99,235,0.35);

    transition:0.3s ease;
}

/* BUTTON SHINE */
button::before{

    content:"";

    position:absolute;

    top:0;
    left:-100%;

    width:100%;
    height:100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.25),
            transparent
        );

    transition:0.6s;
}

/* BUTTON HOVER */
button:hover{

    transform:
        translateY(-3px)
        scale(1.01);

    box-shadow:
        0 18px 40px rgba(37,99,235,0.45);
}

button:hover::before{
    left:100%;
}

/* BUTTON CLICK */
button:active{
    transform:scale(0.98);
}

/* GRID BUTTONS */
.top-buttons{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:14px;

    margin-top:18px;
}

/* BALANCE CARD */
#balanceInfo{

    margin-top:24px;

    padding:24px;

    border-radius:22px;

    background:
        linear-gradient(
            135deg,
            rgba(59,130,246,0.18),
            rgba(6,182,212,0.12)
        );

    border:1px solid rgba(255,255,255,0.08);

    backdrop-filter:blur(14px);

    text-align:center;

    position:relative;

    overflow:hidden;
}

/* BALANCE GLOW */
#balanceInfo::before{

    content:"";

    position:absolute;

    width:140px;
    height:140px;

    background:rgba(255,255,255,0.05);

    border-radius:50%;

    top:-60px;
    right:-60px;
}

/* BALANCE TEXT */
#balanceInfo h3{

    font-size:14px;

    color:rgba(255,255,255,0.7);

    margin-bottom:8px;
}

#balanceInfo .amount{

    font-size:36px;

    font-weight:700;

    letter-spacing:-1px;
}

/* LOAN STATUS */
#loanStatus{

    margin-top:18px;

    padding:18px;

    border-radius:18px;

    background:rgba(255,255,255,0.05);

    border:1px solid rgba(255,255,255,0.08);

    font-size:14px;

    line-height:1.7;

    transition:0.3s ease;
}

#loanStatus:hover{

    transform:translateY(-3px);

    background:rgba(255,255,255,0.08);
}

/* STATUS MESSAGE */
#createStatus,
#loginStatus,
#adminStatus,
#loginNotification{

    margin-top:10px;

    padding:12px 14px;

    border-radius:14px;

    background:rgba(239,68,68,0.12);

    border:1px solid rgba(239,68,68,0.25);

    color:#fca5a5;

    font-size:13px;
    font-weight:600;
}

/* ACTION AREA */
#actionArea{
    margin-top:20px;
}

/* ADMIN CARDS */
#customerList div,
#loanRequests div{

    padding:16px;

    margin-bottom:14px;

    border-radius:18px;

    background:rgba(255,255,255,0.05);

    border:1px solid rgba(255,255,255,0.08);

    transition:0.3s ease;
}

/* CARD HOVER */
#customerList div:hover,
#loanRequests div:hover{

    transform:translateY(-4px);

    background:rgba(255,255,255,0.08);

    box-shadow:
        0 12px 25px rgba(0,0,0,0.25);
}

/* SCROLL */
#customerList,
#loanRequests{

    max-height:240px;

    overflow-y:auto;

    padding-right:6px;
}

/* CUSTOM SCROLLBAR */
#customerList::-webkit-scrollbar,
#loanRequests::-webkit-scrollbar{
    width:6px;
}

#customerList::-webkit-scrollbar-thumb,
#loanRequests::-webkit-scrollbar-thumb{

    background:rgba(255,255,255,0.2);

    border-radius:20px;
}

/* HIDDEN */
.hidden{
    display:none;
}

/* MOBILE */
@media(max-width:600px){

    body{
        padding:16px;
    }

    section{

        padding:30px 22px;

        border-radius:24px;
    }

    h2{
        font-size:28px;
    }

    input{
        padding:16px;
    }

    .top-buttons{
        grid-template-columns:1fr;
    }

    #balanceInfo .amount{
        font-size:28px;
    }

    #liveClock{

        top:12px;
        right:12px;

        font-size:11px;

        padding:10px 14px;
    }
}

/* TABLET */
@media(min-width:601px) and (max-width:900px){

    section{
        max-width:560px;
    }
}

/* DESKTOP */
@media(min-width:901px){

    section{
        max-width:620px;
    }

    .top-buttons{
        grid-template-columns:repeat(3,1fr);
    }
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:'Inter',sans-serif;

    min-height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;

    padding:20px;

    overflow-x:hidden;

    background:
        radial-gradient(circle at top left,#2563eb 0%,transparent 30%),
        radial-gradient(circle at bottom right,#06b6d4 0%,transparent 30%),
        linear-gradient(135deg,#020617,#07111f,#020617);

    color:white;
}

#liveClock{

    position:fixed;

    top:15px;
    right:20px;

    padding:12px 18px;

    border-radius:50px;

    background:rgba(255,255,255,0.08);

    backdrop-filter:blur(12px);

    font-size:13px;

    font-weight:600;
}

section{

    width:100%;
    max-width:520px;

    padding:40px;

    border-radius:28px;

    background:rgba(15,23,42,0.82);

    border:1px solid rgba(255,255,255,0.08);

    backdrop-filter:blur(24px);

    box-shadow:
        0 25px 60px rgba(0,0,0,0.45);
}

h2{

    text-align:center;

    margin-bottom:30px;

    font-size:34px;

    font-weight:700;
}

.subtitle{

    text-align:center;

    color:#94a3b8;

    margin-bottom:24px;
}

input{

    width:100%;

    padding:18px;

    margin-bottom:14px;

    border:none;

    border-radius:16px;

    outline:none;

    background:rgba(255,255,255,0.06);

    color:white;

    font-size:15px;
}

input::placeholder{
    color:rgba(255,255,255,0.55);
}

input:focus{

    border:1px solid #3b82f6;

    background:rgba(255,255,255,0.1);
}

button{

    width:100%;

    padding:16px;

    margin-top:10px;

    border:none;

    border-radius:16px;

    cursor:pointer;

    color:white;

    font-size:15px;

    font-weight:700;

    background:
        linear-gradient(
            135deg,
            #3b82f6,
            #06b6d4
        );

    transition:0.3s;
}

button:hover{

    transform:translateY(-3px);

    box-shadow:
        0 18px 40px rgba(37,99,235,0.4);
}

.hidden{
    display:none;
}

.top-buttons{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:12px;

    margin-top:20px;
}

#balanceInfo{

    margin-top:20px;

    padding:24px;

    border-radius:20px;

    text-align:center;

    background:
        linear-gradient(
            135deg,
            rgba(59,130,246,0.18),
            rgba(6,182,212,0.12)
        );
}

.amount{

    font-size:34px;

    font-weight:700;

    margin-top:8px;
}

#actionArea,
#loanStatus,
#customerList,
#loanRequests,
#createStatus,
#loginStatus,
#adminLoginStatus{

    margin-top:18px;
}

#customerList div,
#loanRequests div{

    padding:16px;

    margin-bottom:12px;

    border-radius:16px;

    background:rgba(255,255,255,0.05);
}

@media(max-width:600px){

    section{
        padding:28px 22px;
    }

    h2{
        font-size:28px;
    }

    .top-buttons{
        grid-template-columns:1fr;
    }
}
