/* gogogo.monster login brand update */

.monster-logo {
    position: relative;
    z-index: 1;
    margin-right: auto;
    margin-left: auto;
}

.monster-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.monster-logo--desktop {
    width: clamp(68px, 6vw, 82px);
    margin-right: 0;
    margin-bottom: 8px;
    margin-left: 0;
    transform: rotate(-4deg);
    transform-origin: 50% 68%;
}

.brand-panel .go-accent {
    color: #d8b57c;
}

.mobile-brand--updated {
    display: none;
}

@media (max-width: 767px) {
    .brand-panel {
        display: none !important;
    }

    .form-panel {
        justify-content: flex-start;
        min-height: 100vh;
        min-height: 100dvh;
        padding-top: max(18px, env(safe-area-inset-top));
        padding-bottom: max(16px, env(safe-area-inset-bottom));
    }

    .mobile-brand.mobile-brand--updated {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        width: min(100%, 420px);
        margin: 0 auto 18px;
        color: #17352b;
        text-align: center;
    }

    .mobile-brand__logo {
        display: block;
        width: clamp(88px, 25vw, 112px);
        height: auto;
        margin: 0 auto 5px;
        transform: rotate(-4deg);
        transform-origin: 50% 68%;
        filter: drop-shadow(0 10px 18px rgba(11, 93, 59, 0.14));
    }

    .mobile-brand__name {
        margin: 0;
        color: #0b5d3b;
        font-size: 20px;
        font-weight: 800;
        letter-spacing: -0.03em;
        line-height: 1.2;
    }

    .mobile-brand__name span {
        color: #7a5132;
    }

    .mobile-brand__title {
        margin: 10px 0 5px;
        color: #17352b;
        font-size: clamp(27px, 7.7vw, 34px);
        font-weight: 850;
        letter-spacing: -0.055em;
        line-height: 1.16;
        white-space: nowrap;
    }

    .mobile-brand__title .go-accent {
        color: #b78346;
    }

    .mobile-brand__description {
        margin: 0;
        color: #5d6e66;
        font-size: 14px;
        font-weight: 500;
        letter-spacing: -0.02em;
        line-height: 1.55;
    }

    .form-wrap {
        width: min(100%, 420px);
        margin: 0 auto;
    }

    .form-header {
        display: none !important;
    }
}

@media (max-width: 360px), (max-height: 700px) and (max-width: 767px) {
    .form-panel {
        padding-top: max(10px, env(safe-area-inset-top));
    }

    .mobile-brand.mobile-brand--updated {
        margin-bottom: 10px;
    }

    .mobile-brand__logo {
        width: 76px;
    }

    .mobile-brand__title {
        margin-top: 6px;
        font-size: 25px;
    }

    .mobile-brand__description {
        font-size: 13px;
        line-height: 1.4;
    }
}
