html, body {
    height: 100%;
    margin: 0;
    overflow-x: hidden;
}

.ap-auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.ap-auth-page-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 100vh;
    overflow: hidden;
}

.ap-auth-page-left {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.ap-auth-page-left, .ap-auth-page-right {
    flex: 1;
    width: 50%;
    position: relative;
    height: 100%;
}

.ap-auth-page-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ap-auth-card {
    width: 600px;
    max-width: 100%;
    margin: auto;
    padding: 30px;
    overflow-y: auto;
}

.ap-auth-card.register {
    width: 800px;
}

.ap-auth-card .logo-area {
    margin-bottom: 50px;
    display: inline-block;
}

.ap-auth-card .head-area {
    margin-bottom: 20px;
}

.ap-auth-card .head-area .title {
    font-size: 32px;
}

.ap-auth-card .btn-primary {
    font-weight: 600;
}

.ap-buttons-type {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-gap: 16px;
    margin-bottom: 20px;
}

.ap-button {
    height: 50px;
    padding: 0 20px;
    text-align: center;
    font-weight: 600;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    transition: 0.2s;
}

.ap-button.active, .ap-button:hover {
    color: #fff;
    background-color: #2E3192;
    border-color: #2E3192;
}

.show-on-corporate {
    display: none;
}

@media (max-width: 768px) {
    .ap-auth-page-left, .ap-auth-page-right {
        height: auto;
        width: 100%;
    }
    .ap-auth-page-flex {
        height: auto;
        min-height: 100vh;
    }
    .ap-auth-page-right {
        display: none;
    }
    .ap-auth-card {
        padding: 20px;
    }
}