.aem-portal {
    width: 100%;
    max-inline-size: 1120px;
    box-sizing: border-box;
    margin: 24px auto;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    text-align: start;
}

.aem-portal *,
.aem-portal *::before,
.aem-portal *::after {
    box-sizing: border-box;
}

.aem-portal-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.aem-portal-header :is(h2, p) {
    margin: 0;
}

.aem-portal :is(h2, label, input, select, textarea, button) {
    font-family: inherit;
    letter-spacing: normal;
}

.aem-portal :is(a, a:visited) {
    color: var(--aem-accent);
}

.aem-portal :is(a, button, input, select, textarea):focus-visible {
    outline: 2px solid var(--aem-accent);
    outline-offset: 3px;
}

.aem-portal :is(.aem-field input, .aem-field select, .aem-field textarea, .aem-login .input) {
    width: 100%;
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid #8c8f94;
    border-radius: 5px;
    background-color: #fff;
    color: var(--aem-text);
    font-size: 15px;
    box-shadow: none;
}

.aem-portal .aem-field select {
    padding-inline-end: 30px;
}

.aem-portal input[readonly] {
    background-color: #f5f6f7;
}

.aem-portal :is(.button, input[type="submit"]) {
    display: inline-block;
    min-height: 42px;
    padding: 8px 20px;
    border: 1px solid var(--aem-accent);
    border-radius: 5px;
    background: var(--aem-accent);
    color: #fff;
    font-size: 15px;
    line-height: 1.6;
    text-decoration: none;
    cursor: pointer;
}

.aem-portal :is(.button, input[type="submit"]):hover {
    background: #124e47;
    color: #fff;
}

.aem-portal .aem-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--aem-text);
    font-size: 14px;
}

.aem-login {
    max-width: 480px;
    margin-inline: auto;
}

.aem-login label {
    display: block;
    margin-block-end: 6px;
}

.aem-login .login-remember label {
    display: flex;
    gap: 8px;
    align-items: center;
}

.aem-login input[type="checkbox"] {
    width: 18px;
    height: 18px;
}
