/* =====================================================
   FISHERPAUSE LOGIN
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');


/* =====================================================
   RESET
   ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}


/* =====================================================
   BODY
   ===================================================== */

body {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;

    background: linear-gradient(
        180deg,
        #1c63c6,
        #7abaff
    );
}


/* =====================================================
   BACKGROUND
   ===================================================== */

.background {
    position: fixed;
    inset: 0;

    overflow: hidden;

    z-index: 0;
}


.wave {
    position: absolute;

    width: 250%;
    height: 250px;

    left: -50%;

    border-radius: 45%;

    background: rgba(255, 255, 255, 0.12);
}


.wave1 {
    bottom: -70px;

    animation:
        waveMove 16s linear infinite;
}


.wave2 {
    bottom: -110px;

    animation:
        waveMoveReverse 22s linear infinite;

    opacity: 0.6;
}


.wave3 {
    bottom: -150px;

    animation:
        waveMove 30s linear infinite;

    opacity: 0.3;
}


@keyframes waveMove {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-25%);
    }

}


@keyframes waveMoveReverse {

    from {
        transform: translateX(-25%);
    }

    to {
        transform: translateX(0);
    }

}


/* =====================================================
   MAIN LOGIN CONTAINER
   ===================================================== */

.login-container {

    position: relative;

    z-index: 10;

    width: 92%;
    max-width: 1250px;

    height: 700px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        480px;

    background: #ffffff;

    border-radius: 30px;

    overflow: hidden;

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.25);
}


/* =====================================================
   LEFT PANEL
   ===================================================== */

.left-panel {

    position: relative;

    display: flex;

    flex-direction: column;

    justify-content: center;

    color: white;

    padding: 45px 70px;

    background:
        linear-gradient(
            160deg,
            #0f4fa8,
            #4da3ff
        );

    overflow: hidden;
}


/* Decorative circle */

.left-panel::before {

    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.08);

    top: -180px;
    right: -120px;
}


/* =====================================================
   LOGO
   ===================================================== */

.logo {

    width: 105px;

    margin-bottom: 5px;

    animation:
        floatLogo 5s ease-in-out infinite;
}


@keyframes floatLogo {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }

}


/* =====================================================
   LEFT TEXT
   ===================================================== */

.left-panel h1 {

    font-size: 46px;

    line-height: 1.1;

    margin-bottom: 8px;
}


.left-panel h3 {

    font-size: 18px;

    font-weight: 500;

    margin-bottom: 18px;
}


.left-panel p {

    font-size: 15px;

    line-height: 1.7;

    opacity: 0.95;

    max-width: 580px;

    margin-bottom: 28px;
}


/* =====================================================
   FEATURES
   ===================================================== */

.features {

    display: grid;

    gap: 12px;
}


.features div {

    display: flex;

    align-items: center;

    gap: 16px;

    font-size: 17px;
}


.features i {

    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

    justify-content: center;
    align-items: center;

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.15);

    font-size: 20px;
}


/* =====================================================
   RIGHT LOGIN CARD
   ===================================================== */

.login-card {

    background: #ffffff;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 55px 60px;

    animation:
        slideUp 0.8s ease;
}


@keyframes slideUp {

    from {

        opacity: 0;

        transform:
            translateY(40px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* =====================================================
   LOGIN TITLE
   ===================================================== */

.login-card h2 {

    font-size: 34px;

    color: #0f172a;

    margin-bottom: 8px;
}


.login-card > p {

    color: #64748b;

    font-size: 15px;

    margin-bottom: 32px;
}


/* =====================================================
   INPUTS
   ===================================================== */

.input-group {

    position: relative;

    margin-bottom: 22px;
}


.input-group input {

    width: 100%;

    padding:
        17px
        55px
        17px
        55px;

    border:
        2px solid #dbeafe;

    border-radius: 15px;

    font-size: 16px;

    outline: none;

    transition: 0.3s;
}


.input-group input:focus {

    border-color: #1677ff;

    box-shadow:
        0 0 15px
        rgba(22, 119, 255, 0.15);
}


/* Left input icon */

.input-group i:first-child {

    position: absolute;

    left: 18px;

    top: 50%;

    transform:
        translateY(-50%);

    color: #1677ff;

    z-index: 2;
}


/* Eye icon */

.input-group .toggle {

    position: absolute;

    right: 18px;

    top: 50%;

    transform:
        translateY(-50%);

    cursor: pointer;

    color: #64748b;

    z-index: 2;
}


/* =====================================================
   LOGIN BUTTON
   ===================================================== */

.login-btn {

    width: 100%;

    padding: 17px;

    border: none;

    border-radius: 15px;

    background:
        linear-gradient(
            90deg,
            #0f4fa8,
            #1677ff,
            #0f4fa8
        );

    color: white;

    font-size: 18px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;
}


.login-btn:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 8px 20px
        rgba(15, 79, 168, 0.25);
}


/* =====================================================
   ERROR
   ===================================================== */

.error-text {

    color: #dc2626;

    font-size: 14px;

    font-weight: 600;

    text-align: center;

    margin-top: 15px;

    min-height: 20px;
}


/* =====================================================
   FOOTER
   ===================================================== */

.footer {

    margin-top: 28px;

    text-align: center;

    color: #94a3b8;

    font-size: 12px;

    line-height: 1.7;
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 1000px) {

    body {

        overflow-y: auto;

        padding: 30px 0;
    }


    .login-container {

        height: auto;

        grid-template-columns: 1fr;
    }


    .left-panel {

        display: none;
    }


    .login-card {

        padding: 50px;
    }

}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 600px) {

    body {

        padding: 20px;
    }


    .login-container {

        width: 100%;

        border-radius: 20px;
    }


    .login-card {

        padding: 35px 25px;
    }


    .login-card h2 {

        font-size: 28px;
    }


    .login-card > p {

        font-size: 14px;
    }

}