﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary: #042d65;
    --secondary: #7494ec;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    align-items: center;
    min-height: 100%;
    background: linear-gradient(90deg, #c9d6ff, #e2e2e2);
}

.container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.panel {
    min-height: 100vh;
    height: auto;
    width: 45%;
    padding: 0px 25px 0px 25px;
    align-content: center;
}

.left-panel {
    background-color: var(--primary);
    color: #fff;
}

.left-panel h1 {
        padding: 50px 0;
        font-size: 24px;
    }

.left-panel p {
        font-size: 15px;
    }

.center-panel {
    padding: 0px 80px;
}

.card-box {
    position: relative;
    max-width: 800px;
    width: 100%;
    height: 550px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .2);
}

.form-box {
    position: absolute;
    right: 0;
    height: 100%;
    width: 100%;
    padding: 50px 150px 50px 80px;
}

form {
    width: 100%;
}

form p {
    margin: -1px 0px 25px 0px;
    color: #888;
    font-size: 15px;
}

.form-box p {
    margin: -1px 0px 20px 0px;
    color: #888;
    font-size: 15px;
}

.error-box {
    font-weight: 700;
}

.error-box p {
    color: red;
}

.input-box {
    position: relative;
    margin: 30px 0;
}

.input-box input {
        width: 100%;
        padding: 12px;
        background: #eee;
        border-radius: 8px;
        border: none;
        outline: none;
        font-size: 16px;
        color: #333;
        font-weight: 500;
    }

.input-box input::placeholder {
            color: #888;
            font-weight: 400;
        }

.input-box i {
        position: absolute;
        right: 40px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
    }

.input-error input {
    border: 1px solid;
    outline: auto;
    color: red;
}

.input-error i {
    color: red;
}

.btn {
    width: 100%;
    height: 50px;
    margin: 30px 0;
    background: var(--secondary);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.4s ease;
}

.btn:hover {
        background-color: var(--primary);
    }

.ic-polo {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 0 15px 8px 0;
}

.ic-polo img {
    height: 50px;
    cursor: pointer;
}


@media only screen and (min-width: 1500px) {

    .panel {
        min-height: 100vh;
        height: auto;
        width: 33.3%;
        padding: 0px 25px 0px 25px;
        align-content: center;
    }

    .left-panel h1 {
        padding: 50px 0;
        font-size: 24px;
    }

    .left-panel p {
        font-size: 15px;
    }

    .center-panel {
        width: 80%;
        padding: 0px 100px;
    }
}


@media only screen and (min-width: 768px) and (max-width: 1200px) {

    /** {
        outline: 1px solid red;
    }*/

    body {
        align-items: center;
        background: linear-gradient(90deg, #c9d6ff, #e2e2e2);
        overflow-x: hidden;
    }

    .left-panel {
        width: 30%;
    }

    .left-panel h1 {
        padding: 70px 0;
        font-size: 24px;
    }

    .left-panel p {
        font-size: 13px;
    }

    .center-panel {
        width: 80%;
        padding: 0px 75px;
    }

    .card-box {
        position: relative;
        max-width: 500px;
        width: 100%;
        height: 500px;
        background: #fff;
        border-radius: 30px;
        box-shadow: 0 0 30px rgba(0, 0, 0, .2);
    }

    .form-box {
        position: absolute;
        right: 0;
        height: 100%;
        width: 100%;
        padding: 50px 50px 50px 50px;
    }

    .input-box {
        position: relative;
        margin: 30px 0;
    }

    .ic-polo img {
        height: 40px;
        cursor: pointer;
    }
}