* {
    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;

    padding: 30px;

    background:
        linear-gradient(
            135deg,
            #6C63FF 0%,
            #8B5CF6 50%,
            #B794F4 100%
        );
}


/* ==========================================
   MAIN CONTAINER
========================================== */

.container {

    width: 1000px;

    min-height: 650px;

    background: #ffffff;

    display: flex;

    border-radius: 25px;

    overflow: hidden;

    box-shadow:
        0 20px 40px rgba(49, 38, 92, 0.25);
}


/* ==========================================
   LEFT / WELCOME PANEL
========================================== */

.left {

    width: 50%;

    background: #8B5CF6;

    position: relative;
}


.overlay {

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            135deg,
            rgba(108, 99, 255, 0.82),
            rgba(139, 92, 246, 0.72)
        );

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    padding: 50px;

    color: white;

    text-align: center;
}


/* ==========================================
   LOGO
========================================== */

.signupLogo {

    width: 350px;

    max-width: 100%;

    height: auto;

    object-fit: contain;

    display: block;

    margin-bottom: 25px;
}


/* ==========================================
   WELCOME TITLE
========================================== */

.overlay h1 {

    color: #E9DDFF;

    font-size: 42px;

    font-weight: 700;

    margin-bottom: 20px;

    text-shadow:
        0 3px 10px rgba(60, 35, 120, 0.18);
}


.overlay p {

    line-height: 1.8;

    color: #ffffff;
}


/* ==========================================
   RIGHT PANEL
========================================== */

.right {

    width: 50%;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 40px;

    background: #ffffff;
}


/* ==========================================
   SIGNUP CARD
========================================== */

.signup-card {

    width: 100%;

    max-width: 430px;
}


.signup-card h2 {

    text-align: center;

    margin-bottom: 10px;

    color: #4C3A8A;

    font-size: 30px;
}


.subtitle {

    text-align: center;

    color: #777;

    margin-bottom: 30px;
}


/* ==========================================
   INPUTS
========================================== */

.input-group {

    position: relative;

    margin-bottom: 18px;
}


.input-group input {

    width: 100%;

    padding: 15px 45px;

    border: 1px solid #E2E0F0;

    background: #F3F1FF;

    border-radius: 40px;

    outline: none;

    font-size: 15px;

    color: #333;

    transition: 0.25s;
}


.input-group input:focus {

    border-color: #8B5CF6;

    background: #F8F6FF;

    box-shadow:
        0 0 0 3px rgba(139, 92, 246, 0.12);
}


.input-group > i {

    position: absolute;

    left: 18px;

    top: 17px;

    color: #7C6CFF;
}


/* ==========================================
   PASSWORD TOGGLE
========================================== */

#togglePassword {

    position: absolute;

    right: 20px;

    top: 17px;

    cursor: pointer;

    color: #777;
}


/* ==========================================
   PASSWORD STRENGTH
========================================== */

.strength {

    height: 7px;

    background: #ddd;

    border-radius: 20px;

    margin: 2px 0 18px;

    overflow: hidden;
}


#strengthBar {

    height: 100%;

    width: 0;

    background: #6C63FF;

    transition: 0.3s;
}


/* ==========================================
   TERMS
========================================== */

.terms {

    display: flex;

    align-items: center;

    gap: 7px;

    font-size: 13px;

    color: #555;

    cursor: pointer;
}


.terms input {

    accent-color: #6C63FF;
}


/* ==========================================
   BUTTON
========================================== */

button {

    width: 100%;

    padding: 15px;

    border: none;

    border-radius: 40px;

    background: #6C63FF;

    color: white;

    font-size: 16px;

    cursor: pointer;

    margin-top: 18px;

    transition: 0.3s;

    box-shadow:
        0 8px 18px rgba(108, 99, 255, 0.25);
}


button:hover {

    background: #584EF5;

    transform: translateY(-1px);
}


/* ==========================================
   LOGIN LINK
========================================== */

.login-link {

    text-align: center;

    margin-top: 22px;

    color: #666;

    font-size: 14px;
}


.login-link a {

    color: #6C63FF;

    text-decoration: none;

    font-weight: 600;
}


.login-link a:hover {

    color: #584EF5;

    text-decoration: underline;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 900px) {

    body {

        min-height: 100vh;

        height: auto;

        padding: 20px;
    }


    .container {

        width: 100%;

        max-width: 500px;

        min-height: 0;

        flex-direction: column;

        border-radius: 20px;
    }


    .left {

        display: none;
    }


    .right {

        width: 100%;

        padding: 30px 20px;
    }


    .signup-card {

        width: 100%;
    }


    .signup-card h2 {

        font-size: 27px;
    }


    .input-group input {

        font-size: 15px;

        padding: 14px 44px;
    }


    button {

        padding: 14px;

        font-size: 16px;
    }
}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    body {

        padding: 12px;
    }


    .container {

        width: 100%;

        border-radius: 16px;
    }


    .right {

        padding: 25px 16px;
    }


    .signup-card h2 {

        font-size: 24px;
    }


    .subtitle {

        font-size: 13px;

        margin-bottom: 24px;
    }


    .input-group {

        margin-bottom: 16px;
    }


    .input-group input {

        height: 50px;

        font-size: 14px;
    }


    .strength {

        height: 6px;

        margin-bottom: 16px;
    }


    .terms {

        font-size: 12px;
    }


    button {

        height: 50px;

        font-size: 15px;
    }


    .login-link {

        font-size: 13px;
    }
}
/* ==========================================
   MOODMATE CUSTOM MODAL
========================================== */

.mood-modal {

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    display: none;

    justify-content: center;
    align-items: center;

    padding: 20px;

    background: rgba(30, 20, 60, 0.55);

    backdrop-filter: blur(5px);

    z-index: 9999;
}


.mood-modal.show {

    display: flex;

    animation: modalFadeIn 0.2s ease;
}


/* ==========================================
   MODAL CARD
========================================== */

.mood-modal-card {

    width: 100%;

    max-width: 390px;

    background: #ffffff;

    border-radius: 24px;

    padding: 30px 28px;

    text-align: center;

    box-shadow:
        0 25px 60px rgba(49, 38, 92, 0.30);

    animation: modalSlideUp 0.25s ease;
}


/* ==========================================
   LOGO
========================================== */

.mood-modal-logo {

    display: flex;

    justify-content: center;

    align-items: center;

    margin-bottom: 10px;
}


.mood-modal-logo img {

    width: 150px;

    height: auto;

    display: block;

    object-fit: contain;
}


/* ==========================================
   ICON
========================================== */

.modal-icon {

    width: 55px;

    height: 55px;

    margin: 5px auto 15px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    background: #F0ECFF;

    color: #6C63FF;

    font-size: 25px;
}


/* SUCCESS */

.mood-modal.success .modal-icon {

    background: #EEE9FF;

    color: #6C63FF;
}


/* ERROR */

.mood-modal.error .modal-icon {

    background: #FFF0F0;

    color: #E05252;
}


/* INFO */

.mood-modal.info .modal-icon {

    background: #F0ECFF;

    color: #6C63FF;
}


/* ==========================================
   TITLE
========================================== */

#moodModal h3 {

    margin-bottom: 10px;

    color: #4C3A8A;

    font-size: 23px;

    font-weight: 600;
}


/* ==========================================
   MESSAGE
========================================== */

#moodModal p {

    margin: 0;

    color: #666;

    font-size: 14px;

    line-height: 1.6;
}


/* ==========================================
   BUTTON
========================================== */

.modal-actions {

    margin-top: 24px;
}


.modal-ok-btn {

    width: 100%;

    padding: 13px 20px;

    border: none;

    border-radius: 40px;

    background: #6C63FF;

    color: #ffffff;

    font-family: Poppins, sans-serif;

    font-size: 15px;

    font-weight: 500;

    cursor: pointer;

    margin: 0;

    box-shadow:
        0 8px 18px rgba(108, 99, 255, 0.22);

    transition: 0.25s;
}


.modal-ok-btn:hover {

    background: #584EF5;

    transform: translateY(-1px);
}


/* ==========================================
   ANIMATION
========================================== */

@keyframes modalFadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}


@keyframes modalSlideUp {

    from {

        opacity: 0;

        transform:
            translateY(15px)
            scale(0.97);

    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);

    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 480px) {

    .mood-modal {

        padding: 16px;
    }


    .mood-modal-card {

        max-width: 350px;

        padding: 26px 20px;

        border-radius: 20px;
    }


    .mood-modal-logo img {

        width: 130px;
    }


    .modal-icon {

        width: 50px;

        height: 50px;

        font-size: 22px;
    }


    #moodModal h3 {

        font-size: 21px;
    }


    #moodModal p {

        font-size: 13px;
    }

}