/* ===== GLOBAL ===== */

html, body {
    height:100%;
    margin:0;
    font-family: 'Segoe UI', sans-serif;
    transition: background 1s ease;
}

.lcp-wrapper{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction:column;
    position:relative;
}

/* PARTICLES LAYER */
#particles-js{
    position:fixed;
    width:100%;
    height:100%;
    top:0;
    left:0;
    z-index:0;
}

/* TOP BAR */
.lcp-topbar{
    position:absolute;
    top:15px;
    width:90%;
    display:flex;
    justify-content:space-between;
    font-size:15px;
    z-index:2;
    color:#fff;
}

/* GREETING FADE */
#greeting-text{
    opacity:0;
    transition:opacity 0.6s ease;
}

/* CARD */
.lcp-card{
    width:420px;
    padding:40px;
    border-radius:18px;
    background:#ffffff;
    box-shadow:0 20px 50px rgba(0,0,0,0.15);
    text-align:center;
    position:relative;
    z-index:2;
}

/* LOGO */
.lcp-logo img{
    width:90px;
    height:90px;
    margin-bottom:15px;
}

/* HEADINGS */
.lcp-heading{
    color:#002855;
    margin-bottom:5px;
}

.lcp-subheading{
    color:#666;
    margin-bottom:25px;
}

/* INPUT */
.lcp-input{
    width:100%;
    padding:14px;
    border-radius:8px;
    border:1px solid #ddd;
    margin-bottom:15px;
}

/* PASSWORD */
.lcp-input-group{
    position:relative;
}

.lcp-eye{
    position:absolute;
    right:12px;
    top:14px;
    cursor:pointer;
}

/* BUTTON */
.lcp-btn{
    width:100%;
    padding:14px;
    border:none;
    border-radius:8px;
    background:#002855;
    color:#fff;
    margin-bottom:10px;
    cursor:pointer;
}

.lcp-btn:hover{
    background:#001c3d;
}

/* LINK */
.lcp-link{
    background:none;
    border:none;
    color:#002855;
    cursor:pointer;
}

/* SUN ANIMATION */
.sun{
    width:20px;
    height:20px;
    animation:spin 8s linear infinite;
}

@keyframes spin{
    from{transform:rotate(0deg);}
    to{transform:rotate(360deg);}
}

/* MOON */
.moon{
    width:20px;
    height:20px;
}
#lcp-loader {
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(255,255,255,0.6);
    z-index:9999;
}

#lcp-loader::after {
    content:"";
    position:absolute;
    top:50%;
    left:50%;
    width:40px;
    height:40px;
    margin:-20px 0 0 -20px;
    border:4px solid #002855;
    border-top:4px solid transparent;
    border-radius:50%;
    animation:spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

