﻿.one-lms-portal-login-widget {
    display: flex;
    flex-wrap: nowrap; /* change : changing this due to confilcts with ndxv3 css unlike on staging environment */
    gap: 30px;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

.one-lms-portal-card {
    box-sizing: border-box;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #eaeaea;
    padding: 50px 40px;
    text-align: center;
    flex: 1 1 50%; /* change : changing this due to confilcts with ndxv3 css unlike on staging environment */
    min-width: 0;   /* change : changing this due to confilcts with ndxv3 css unlike on staging environment */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.one-lms-portal-card__heading {
    font-family: 'The Future', sans-serif;
    color: #0b2b54;
    font-size: clamp(26px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 24px;
}

.one-lms-portal-card__description {
    font-family: 'The Future', sans-serif;
    color: #0b2b54;
    font-size: clamp(16px, 1.5vw, 18px);
    font-weight: 400;
    line-height: 1.5;
    margin: 0 0 32px;
    flex-grow: 1;
    /* Prevents long email strings from overflowing card borders on small screens */
    word-break: break-word;
    overflow-wrap: break-word;
}

.one-lms-portal-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 14px 32px;
    background-color: #ffcf54;
    color: #0b2b54;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'The Future', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    transition: opacity .2s ease, transform .2s ease;
}

.one-lms-portal-card__button:hover,
.one-lms-portal-card__button:focus {
    color: #0b2b54;
    text-decoration: none;
    opacity: .9;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .one-lms-portal-login-widget {
        padding: 40px 16px;
        flex-direction: column;
        gap: 20px;
    }

    .one-lms-portal-card {
        padding: 30px 20px;
        min-width: 0;
        width: 100%;
    }

    .one-lms-portal-card__button {
        width: 100%;
        max-width: 300px;
    }
}

/* Hotfix for about page layout structure and margin top for wrapper */
#about__banner {
    display: none !important;
}
.wrapper-inner-box {
        margin-top: 150px !important;
}
.wrapper.product-wrapper section.intro-section {
    padding-top: 0px !important;
}