﻿* {
    box-sizing: border-box;
    font-family: "DM Sans", sans-serif;
}

body {
    margin: 0;
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app {
    width: 100%;
    padding: 24px;
}

.card {
    max-width: 1100px;
    margin: auto;
    background: #fff;
    display: flex;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 25px rgba(0,0,0,.15);
}

/* LEFT */
.illustration {
    width: 50%;
    background: #f0f0f0;
    position: relative;
    overflow: visible;
}

.shapes {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    bottom: 0;
    transition: transform .3s;
}

    .shape:hover {
        transform: scale(1.05);
    }

/* SHAPES */
.purple {
    left: 28%;
    width: 130px;
    height: 280px;
    background: #7c3aed;
    z-index: 2;
}

.dark {
    left: 52%;
    width: 110px;
    height: 180px;
    background: #111;
    z-index: 3;
}

.yellow {
    left: 60%;
    width: 130px;
    height: 130px;
    background: #facc15;
    border-radius: 60px 60px 0 0;
    z-index: 4;
}

    /* OJOS AMARILLO */
    .yellow .eye {
        position: absolute;
        top: 40px;
        width: 8px;
        height: 8px;
        background: #000;
        border-radius: 50%;
    }

        .yellow .eye.left {
            left: 32px;
        }

        .yellow .eye.right {
            left: 72px;
        }

    .yellow .smile {
        position: absolute;
        top: 60px;
        left: 30px;
        width: 40px;
        height: 6px;
        background: #000;
        border-radius: 20px;
    }

.orange {
    left: 18%;
    width: 260px;
    height: 120px;
    background: #f97316;
    border-radius: 100px 100px 0 0;
    z-index: 5;
}

/* EYES */
.eyes {
    position: absolute;
    top: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 18px;
}

    .eyes span {
        width: 10px;
        height: 10px;
        background: #fff;
        border-radius: 50%;
        position: relative;
        transition: transform .1s linear;
    }

        .eyes span::after {
            content: "";
            width: 4px;
            height: 4px;
            background: #000;
            border-radius: 50%;
            position: absolute;
            top: 3px;
            left: 3px;
        }

.no-pupil span::after {
    display: none;
}

.dark-eyes span {
    width: 14px;
    height: 14px;
}

    .dark-eyes span::after {
        width: 5px;
        height: 5px;
        top: 4.5px;
        left: 4.5px;
    }

.orange-eyes span {
    background: #000;
}

    .orange-eyes span::after {
        display: none;
    }

/* MOUTHS */
.mouth {
    position: absolute;
    top: 70px;
    left: 50%;
    width: 20px;
    height: 6px;
    background: rgba(0,0,0,.3);
    border-radius: 0 0 20px 20px;
    transform: translateX(-50%);
}

    .mouth.big {
        width: 40px;
        height: 10px;
        background: rgba(0,0,0,.6);
    }

/* FORM */
.form-container {
    width: 50%;
    padding: 60px;
}

.form-box {
    max-width: 360px;
    margin: auto;
}

.header {
    text-align: center;
}

.logo {
    max-width: 204px;
    max-height: 84px;
    margin-bottom: 12px;
}

.field {
    margin-top: 24px;
}

    .field input {
        width: 100%;
        border: none;
        border-bottom: 1px solid #ccc;
        padding: 8px 5px;
    }
        .field input:focus {
            border: none; /* sab border remove */
            border-bottom: 2px solid #000; /* sirf bottom line */
            outline: none;
            box-shadow: none; /* bootstrap glow remove */
        }

.password {
    position: relative;
}

    .password button {
        position: absolute;
        right: 0;
        bottom: 4px;
        background: none;
        border: none;
        cursor: pointer;
    }

.row {
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
}

.btn {
    width: 100%;
    padding: 14px;
    border-radius: 999px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    margin-top: 42px;
}

.primary {
    background: #000;
    color: #fff;
}

.signup {
    text-align: center;
    margin-top: 24px;
}

/* RESPONSIVE (SOLO MEDIA QUERIES) */
@media (max-width: 900px) {
    .card {
        flex-direction: column;
    }

    .illustration,
    .form-container {
        width: 100%;
    }

    .illustration {
        height: 260px;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 32px 20px;
    }
}



.input-error {
    border-bottom: 2px solid red !important;
}

.error-message {
    color: red;
    font-size: 13px;
}
