:root {
    --primary: #E64825;
    --secondary: #FFFFFF;
    --third: #FFA28D;
    --fourth: #EF9221;
    --fifth: #E7BA83;
    --sixth: #FFDED7;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Poppins', Arial, sans-serif;
    color: var(--primary);
    position: relative;
    overflow: hidden;
}

.background-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}

.background-wrapper::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, var(--primary) 70%, var(--third) 100%);
    opacity: 0.6;
}

.background {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container {
    display: flex;
    flex-wrap: wrap;
    width: 85%;
    max-width: 900px;
    min-height: 340px;
    background: var(--secondary);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
    z-index: 1;
    padding: 38px;
    margin: 15px;
}

.logo, .message {
    flex: 1;
    padding: 10px 20px;
    align-items: center;
}

.message {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 2px solid var(--primary);
}

.logo img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

.message h1 {
    font-size: 32px;
    color: var(--primary);
    margin: 5px 0;
}

.message p, label {
    font-size: 20px;
    color: black;
    line-height: 1.2;
    margin: 5px 0;
}

.button {
    display: inline-flex;
    align-items: center;
    line-height: inherit;
    gap: 12px;
    padding: 16px 30px;
    background: var(--primary);
    color: var(--secondary);
    border: 0;
    outline: none;
    font: inherit;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease-in-out;
    margin: 10px 0;
    cursor: pointer;
}

.button .icon {
    width: 22px;
    height: 22px;
}

.button:hover {
    background: var(--fourth);
}

.rectangle-1 {
    position: absolute;
    width: 372px;
    height: 372px;
    left: -300px;
    bottom: -150px;
    border: 2px solid #F1F4FF;
    z-index: -1;
}

.rectangle-2 {
    position: absolute;
    width: 372px;
    height: 372px;
    left: -250px;
    bottom: -180px;
    border: 2px solid #F1F4FF;
    transform: rotate(16deg);
    z-index: -1;
}

.circle-filled {
    position: absolute;
    width: 635px;
    height: 635px;
    right: -200px;
    top: -350px;
    background: #F8F9FF;
    z-index: -1;
    border-radius: 50%;
}

.circle-empty {
    position: absolute;
    width: 496px;
    height: 496px;
    right: -100px;
    top: -150px;
    border: 3px solid #F8F9FF;
    z-index: -1;
    border-radius: 50%;
}

@media (max-width: 920px) {
    .container {
        flex-direction: column;
        text-align: center;
        width: 90%;
        padding: 30px;
    }

    .logo {
        border-right: none;
        border-bottom: 2px solid var(--primary);
        padding-bottom: 20px;
    }

    .message {
        align-items: center;
        padding-top: 20px;
    }

    .message h1 {
        font-size: 28px;
    }

    .message p {
        font-size: 18px;
    }

    .button {
        font-size: 18px;
        padding: 14px 24px;
    }

    .rectangle-1 {
        width: 250px;
        height: 250px;
        left: -150px;
        bottom: -80px;
    }

    .rectangle-2 {
        width: 250px;
        height: 250px;
        left: -120px;
        bottom: -100px;
        transform: rotate(14deg);
    }

    .circle-filled {
        width: 500px;
        height: 500px;
        right: -150px;
        top: -250px;
    }

    .circle-empty {
        width: 400px;
        height: 400px;
        right: -80px;
        top: -120px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 20px;
        width: 95%;
    }

    .message h1 {
        font-size: 24px;
    }

    .message p {
        font-size: 16px;
    }

    .button {
        font-size: 16px;
        padding: 12px 20px;
    }

    .rectangle-1,
    .rectangle-2 {
        width: 200px;
        height: 200px;
    }

    .circle-filled {
        width: 400px;
        height: 400px;
    }

    .circle-empty {
        width: 320px;
        height: 320px;
    }
}


/* ===== Login form ===== */
.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 14px 0;
}

.form-group input {
    width: 100%;
    padding: 10px 13px;
    font-size: 18px;
    color: #333;
    background: #E9EDF5;
    border: 2px solid transparent;
    border-radius: 6px;
    outline: none;
    transition: border 0.25s ease;
}

.form-group input:hover, .form-group input:focus {
    border: 2px solid rgba(230, 72, 37, 0.9);
}

.form-errors {
    font: inherit;
    color: red !important;
    background-color: rgba(255, 0, 0, 0.15);
    padding: 16px 30px;
    border-radius: 5px;
}

.form-errors ul, li {
    margin: 0;
}



