/* =========================
   FONT
========================= */
@font-face {
    font-family: "Cheviera";
    src: url("mentahan/Font/chaviera/Chaviera.otf");
}

@font-face {
    font-family: "Montserrat";
    src: url("mentahan/Font/Montserrat/Montserrat-VariableFont_wght.ttf");
}

/* =========================
   RESET & ROOT
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

body {
    background: #fcb7e1;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* =========================
   BACKGROUND STARS
========================= */
.stars {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.star {
    position: absolute;
}

.s1 {
    width: 600px;
    top: -150px;
    right: -180px;
    transform: rotate(20deg);
}

.s2 {
    width: 260px;
    bottom: -40px;
    left: -40px;
    transform: rotate(20deg);
}

.s3 {
    width: 260px;
    bottom: -40px;
    left: 0;
    transform: rotate(5deg);
}

.s4 {
    width: 600px;
    top: -100px;
    right: -160px;
    transform: rotate(5deg);
    opacity: 0.6;
}

/* =========================
   CONTAINER
========================= */
.container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================
   CORNER STAR (CARD DECOR)
========================= */
.corner-star {
    position: absolute;
    width: 80px;
    z-index: 5;
    pointer-events: none;
}

.top-left {
    top: -30px;
    left: -30px;
    transform: rotate(-20deg);
}

.bottom-right {
    bottom: -20px;
    right: -30px;
    transform: rotate(20deg);
}

/* =========================
   CARD
========================= */
.card {
    width: 450px;
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* =========================
   TITLE
========================= */
.title {
    font-family: "Cheviera", sans-serif;
    font-size: 32px;
    margin-bottom: 30px;
    color: #000;
}

/* =========================
   INPUT
========================= */
.input {
    width: 85%;
    padding: 14px;
    border-radius: 25px;
    border: none;
    background: #f7a9d3;
    margin-bottom: 18px;
    color: #75154D;
    font-size: 16px;
}

.input::placeholder {
    color: #ffffff;
    opacity: 0.85;
}

/* =========================
   PASSWORD GROUP
========================= */
.password-group {
    position: relative;
    width: 85%;
    margin: 0 auto 18px;
}

.password-group .input {
    width: 100%;
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 40%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #75154D;
}

.toggle-password svg {
    width: 25px;
    height: 25px;
}

.toggle-password:hover {
    opacity: 0.7;
}

.hidden {
    display: none;
}

/* =========================
   BUTTON
========================= */
.btn {
    width: 60%;
    padding: 15px;
    margin: 25px auto 10px;
    border-radius: 25px;
    border: none;
    background: #d10080;
    color: #ffffff;
    cursor: pointer;
    display: block;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background: #b90070;
    transform: scale(1.03);
}

/* =========================
   TEXT & LINK
========================= */
.text {
    margin-top: 20px;
    font-size: 13px;
    color: #555;
}

.signup,
.home {
    font-size: 13px;
    color: #d10080;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.signup:hover,
.home:hover {
    color: #ff4fb3;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 480px) {

    body {
        padding: 20px;
    }

    .card {
        width: 100%;
        max-width: 360px;
        padding: 35px 25px;
        border-radius: 24px;
    }

    .title {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .input {
        width: 100%;
        font-size: 15px;
        padding: 13px;
    }

    .password-group {
        width: 100%;
    }

    .password-group .input {
        padding-right: 42px;
    }

    .toggle-password svg {
        width: 22px;
        height: 22px;
    }

    .btn {
        width: 100%;
        font-size: 15px;
    }

    .text,
    .signup,
    .home {
        font-size: 12px;
    }

    .corner-star {
        width: 60px;
    }

    .top-left {
        top: -20px;
        left: -20px;
    }

    .bottom-right {
        bottom: -15px;
        right: -20px;
    }
}

