/* ADVB-7340 - License banner modal dialog*/
/* ADVB-8630 - Made dialog code generic*/
/*ADV-75584 - Banner layout update */
.lic-banner.modal {
    position: fixed;
    z-index: 5001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Container content */
.lic-banner .modal-content {
    position: relative;
    background-color: #fff;
    width: 90%;
    max-width: 550px;
    margin: auto;
    padding: 0;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-radius: 8px;
    overflow: hidden;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* header purple background /*/
.lic-banner .modal-header {
    padding: 12px 20px;
    background-color: #38006b;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lic-banner .modal-header h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* close button (X) */
.lic-banner .close {
    cursor: pointer;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.lic-banner .close:hover {
    opacity: 1;
}

/* modal body */
.lic-banner .modal-body {
    padding: 24px;
    color: #374151;
}

/* Warning Alert / */
.lic-banner .warning-block {
    background-color: #fffbeb; 
    border-left: 4px solid #f59e0b;
    padding: 16px;
    margin-top: 15px;
    margin-bottom: 20px;
    border-radius: 0 4px 4px 0;
    display: flex;
    gap: 12px;
}

.lic-banner .warning-title {
    color: #92400e;
    font-weight: 700;
    font-size: 1.35rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 30px;
}

.lic-banner .warning-message {
    color: #78350f;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

/* Logo and Info */
.lic-banner .modal-logo {
    height: 32px;
    margin-bottom: 6px;
    display: block;
}

.lic-banner .info-message {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.5;
    padding-left: 5px;
    border-top: 1px solid #f3f4f6;
    padding-top: 15px;
    margin: 0;
}

.lic-banner .warning-icon {
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    background-color: #f59e0b; 
    color: #fffbeb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    font-family: serif;
}

.lic-banner .warning-message {
    color: #78350f;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.lic-banner .warning-message li {
        padding-bottom: 8px;
}

.warning-content li {
    padding-bottom: 20px;
}

/* Info alert block for demo environment message */
.lic-banner .info-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 4px;
    background-color: #eef2ff;
}

.lic-banner .info-icon {
    width: 28px;
    height: 28px;
    border-radius: 9999px;
    background-color: #4c1d95;
    color: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
    margin: auto;
    font-weight: bold;
    font-style: italic;
    font-family: 'FontAwesome';
}

.lic-banner strong {
    font-weight: 600;
    color: #111827;
}
.notification-body {
    overflow: auto;
    max-height: 400px;
    margin: 0 0 0 0;
}

.notification-btn {
    padding: 7px;
    margin: 2px 0 2px 0;
}

.loginSeparator {
    display: flex;
    align-items: center;
    font-weight: bold;
    padding-bottom: 42px;
    padding-top: 10px
}

.loginSeparator::before,
.loginSeparator::after {
  content: '';
  flex: 1;
  border-bottom: solid 1px RGBA(0, 0, 0, 0.12);
}

.loginSeparator:not(:empty)::before {
    margin-right: 1em;
}

.loginSeparator:not(:empty)::after {
    margin-left: 1em;
}

.login_img {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 0;
    margin-top: 1.5em;
}

.login_link_padded {
    padding-top: 11px;
}

/* MYOB ADV-75223: Override checkbox color to purple */
.qp-checkbox input[type="checkbox"]:checked::before {
    background-color: #430071 !important;
}
