@import url("../../../lib/css/icons.css");
@import url("../../../lib/css/font-SegoeUI.css");
@import url("../../../lib/bootstrap-5.3.2-dist/css/bootstrap.min.css");
@import url("../../cw-icons/styles.css");


html, body {
    height: 100%;
    overflow: hidden;
    background-color: #1468a7;
    margin: 0;
    padding: 0;
}

body, p, td, th {
    font-family: Segoe UI, Verdana, sans-serif;
    font-size: 12px;
    line-height: 18px;
}

.content {
    max-width: 600px;
    background-color: #11629f;
    padding-left: 160px;
    padding-right: 160px;
}

button .icon {
    font-size: 24px;
    float: right;
    margin: -2px 0 0 8px;
    height: min-content;
}

img#brand {
    width: 360px;
    margin-left: -40px;
    margin-top: 100px;
    margin-bottom: 40px;
}

form {
    padding-top: 4rem;
    width: 260px;
    margin-left: calc((100% - 280px) / 2);
}

.wide {
    width: 400px;
    margin-left: calc((100% - 400px) / 2);
}

.content > h2 {
    margin-left: -40px;
}

h2 {
    font-size: 20px;
    padding: 0;
}

button.close {
    font-size: 16px;
    text-shadow: 0 1px 0 #000;
    font-weight: bold;
    position: relative;
    top: -10px;
    right: -6px;
}

table, tr, td {
    display: inline;
    padding: initial !important;
    margin: initial !important;
    vertical-align: initial !important;
    border: none !important;
}

.right {
    text-align: right;
}

button:focus, button:active,
a:focus, a:active,
input:focus, input:active {
    outline: none;
    border-color: inherit;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.input {
    border: 0;
    border-bottom: 1px solid #ffffff;
    outline: 0;
    font-size: 18px;
    padding: 8px 0;
    background: transparent;
    transition: border-color 0.2s;
    width: 100%;
    color: #ffffff;
}


input[type=password] {
    letter-spacing: 1ex;
}

input:focus,
input:required {
    outline: none;
    background: transparent;
    box-shadow: none !important;
}

.input:focus {
    border-bottom: 1px solid #ffffff;
}

.input:invalid {
    border-color: rgba(256, 256, 256, 200);
}

.input::placeholder {
    color: transparent;
}

.input:-ms-input-placeholder {
    color: transparent;
}

.label {
    font-size: 12px;
    font-weight: normal;
    color: #ffffff;
    opacity: 0.8;

    cursor: text;
    text-transform: capitalize;

    position: absolute;
    display: block;
    top: 36px;
    left: 0;
    padding: 0;

    pointer-events: none;
}

.input:focus + .label {
    color: #ffffff;
}

.input:not(:placeholder-shown) + .label,
.input:focus + .label {
    top: 0 !important;
    opacity: 1;
    transition: 0.2s;
}

/*For IE and edge the labels are always shown as if the placeholder is not shown */
@supports (-ms-ime-align: auto) {
    .label {
        position: absolute;
        top: 0 !important;
        opacity: 1;
        display: block;
        transition: 0.2s;
        font-size: 12px !important;
    }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .label {
        position: absolute;
        top: 0 !important;
        opacity: 1;
        display: block;
        transition: 0.2s;
        font-size: 12px !important;
    }
}

.button {
    font-size: 18px;
    border: none;
    background-color: #ffffff;
    color: #1468a7;
    padding:12px 10px 8px 20px;
    border-radius: 20px;
}

.button:hover {
    opacity: 0.8;
}

button[disabled],
button[disabled]:hover
{
    opacity: 0.6;
    cursor:not-allowed;
}


/* Change the white to any color ;) */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 100px 100px #11629f inset !important;
    -webkit-text-fill-color: #ffffff !important;

}

a, a:hover, a:active, a:focus {
    color: #ffffff;
    text-decoration: none;
}

a:hover, a:active, a:focus {
    opacity: 0.8;
}

.alert a,
.alert a:hover,
.alert a:active,
.alert a:focus {
    color: #31708f;
}

a:hover, a:active, a:focus {
    opacity: 0.8;
}

.form-group {
    position: relative;
    min-height: 50px;
    padding: 18px 0 0 0;
    margin-bottom:1em;
}

svg {
    fill: #11629f;
    width: 24px;
}

#message {
    width: 500px;
    left: 50%;
    margin-left: -250px;
    top: 100px;
    height: auto;
}


/* Password strength meter */

input:not(:placeholder-shown) + .label[alert]:after {
    position: relative;
    right: -12em;
    color: white;
    text-align: center;
    font-size: 14px !important;

    padding: 0.5rem 1rem;
    border-radius: 20px;
}

input:placeholder-shown + .label[alert]:after {
    display: none;
}


label[alert=strong]:after {
    content: "sterk";
    background-color: #480ce8;
}

label[alert=good]:after {
    content: "goed";
    background-color: #0ce87e;
}

label[alert=weak]:after {
    content: "zwak";
    background-color: #ee9f07;
}

label[alert=very-weak]:after {
    content: "zeer zwak";
    background-color: red;
}

label[alert=short]:after {
    content: "te kort";
    background-color: dodgerblue;
}


[data-error-msg]:after {
    content: attr(data-error-msg);
    position: absolute;
    top: 60px;
    text-transform: none;
    left: 0;
    color: white;
    opacity: 0.5;
}
