* {
    box-sizing: border-box;
}

body {
    background-image: url('../img/background.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
    padding: 30px 15px;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.portal-container {
    background-color: #ffffff;
    max-width: 680px;
    width: 100%;
    padding: 16px 20px 24px 20px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.75), 0 4px 12px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 2px;
}

div#header {
    background-color: #ffffff;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 14px;
}

.padder {
    padding: 0;
}

h1 {
    margin: 0;
    padding: 5px 10px;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20pt;
    font-weight: 500;
    letter-spacing: 0.1em;
    background-color: #5f5fcf;
    border: 3px solid #3414b4;
    line-height: 1.2;
}

p.intro {
    margin: 0;
    padding: 10px;
    border: 3px solid #3414b4;
    border-top: none;
    background-color: #ffffff;
    font-size: 12pt;
    color: #000000;
}

.content {
    background-color: #dfdfef;
    padding: 14px 10px;
    border: 3px solid #3414b4;
    border-top: none;
}

table.form {
    border-collapse: collapse;
    width: 100%;
}

table.form td {
    background-color: #dfdfef;
    padding: 6px 10px;
    font-size: 12pt;
    color: #000000;
}

table.form td.label {
    width: 110px;
    font-weight: normal;
    white-space: nowrap;
}

table.form td.field {
    padding-right: 1em;
}

input[type="text"], input[type="password"] {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
    border: 2px solid #000000;
    border-radius: 1px;
    background-color: #ffffff;
    padding: 3px 6px;
    outline: none;
}

input[type="text"]:focus, input[type="password"]:focus {
    border-color: #3414b4;
    box-shadow: 0 0 4px rgba(52, 20, 180, 0.4);
}

p.buttons {
    margin: 0;
    padding: 10px 10px;
    background-color: #dfdfef;
    border: 3px solid #3414b4;
    border-top: none;
    display: flex;
    gap: 10px;
}

p.buttons input[type="submit"], p.buttons input[type="button"] {
    font-weight: normal;
    font-size: 12pt;
    padding: 3px 16px;
    border: 2px solid #000000;
    border-radius: 1px;
    background-color: #efefef;
    cursor: pointer;
}

p.buttons input[type="submit"]:hover, p.buttons input[type="button"]:hover {
    background-color: #dedede;
}

p.buttons input[type="submit"]:active, p.buttons input[type="button"]:active {
    background-color: #cccccc;
}

div.login-legal {
    margin-top: 18px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10.5pt;
    text-align: justify;
    color: #222222;
    line-height: 1.45;
}

p.login-legal {
    margin: 0;
    padding: 0;
    font-size: 10.5pt;
    text-align: justify;
}
