

html, body {
    height: 100%;
    overflow-x: hidden;
}

#Footer_space {
    overflow: hidden;
}













/* Autofill fix */
input:-webkit-autofill {
    box-shadow: 0 0 0 1000px #000 inset !important;
    -webkit-text-fill-color: #fff !important;
}

/* Eye icon color for login password */
#togglePassword {
    color: #ccc;
}

/* Glömt lösenord link */
#glomt_losenord,
#create_account {
    color: rgb(12, 76, 125);
    text-decoration: underline;
}

#glomt_losenord:hover,
#create_account:hover {
    cursor: pointer;
    color: rgb(167, 167, 255);
}

/* ================== Nytt Lösenord Container ================== */

[ny-password-container] {
    margin-top: 20px;
    background-color: rgb(37, 37, 37);
    border: 1px solid rgb(137, 137, 137);
    border-radius: 8px;
    color: white;
}

.innerContain{
    padding: 15px;
    display: flex;
    gap: 10px;
    font-size: 20px;
    flex-direction: column;
}

[ny-password-container] label {
    font-weight: bold;
}

[ny-password-container] button {
    background-color: black;
    color: white;
    border: 1px solid rgb(137, 137, 137);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    width: fit-content;
}

[ny-password-container] button:hover {
    background-color: rgb(38, 38, 38);
}

/* Password container shared for login + reset password */
.password-container {
    position: relative;
    width: 400px;
}

.password-container .password-input {
    width: 100%;
    padding: 6px;
    padding-right: 35px;
    background: black;
    color: white;
    border: 1px solid rgb(137, 137, 137);
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 5px;
}

.password-container .password-input:hover,
.password-container .password-input:focus {
    background: rgb(38, 38, 38);
    outline: none;
}

.password-container .toggle-password-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #ccc;
}

/* ================== Glömt Lösenord Popup ================== */

#glomt_pw_contain {
    display: none;
    font-size: 24px;
    margin-top: 10px;
    padding: 15px;
    background-color: rgb(37, 37, 37);
    border: 1px solid rgb(137, 137, 137);
    border-radius: 8px;
    width: fit-content;
    flex-direction: column;
    gap: 10px;
    color: white;
}

#glomt_pw_contain label {
    font-weight: bold;
    color: white;
}

#glomt_pw_contain input {
    background: black;
    color: white;
    padding: 6px;
    border-radius: 4px;
    border: 1px solid rgb(137, 137, 137);
    width: 300px;
}

#glomt_pw_contain input:hover,
#glomt_pw_contain input:focus {
    background: rgb(38, 38, 38);
    outline: none;
}

#glomt_pw_contain button {
    background-color: black;
    color: white;
    border: 1px solid rgb(137, 137, 137);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    width: fit-content;
}

#glomt_pw_contain button:hover {
    background-color: rgb(38, 38, 38);
}

/* ================== Skapa konto box ================== */

#create_account_contain {
    display: none;
    margin-top: 10px;
    padding: 15px;
    background-color: rgb(37, 37, 37);
    border: 1px solid rgb(137, 137, 137);
    border-radius: 8px;
    width: fit-content;
    flex-direction: column;
    gap: 10px;
    color: white;
}

#create_account_contain table{
    text-align: left;
}

#create_account_contain table th input,
#create_account_contain table td input{
    height: 35px;
}

#create_account_contain label {
    font-weight: bold;
    color: white;

    font-size: 18px ;
    white-space: nowrap;

}

#create_account_contain input:not([type="checkbox"]) {
    background: black;
    color: white;
    padding: 6px;
    border-radius: 4px;
    border: 1px solid rgb(137, 137, 137);
    font-size: 18px ;
    width: 300px;
}

#create_account_contain input:hover,
#create_account_contain input:focus {
    background: rgb(38, 38, 38);
    outline: none;
}

#create_account_contain button {
    background-color: black;
    color: white;
    border: 1px solid rgb(137, 137, 137);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    width: fit-content;
}

#create_account_contain button:hover {
    background-color: rgb(38, 38, 38);
}


/* ================== Login Box ================== */

.myKontoCotainer, div[ny-password-container]{
    width: 580px;
}

.password-input{
    height: 40px;
}

/* ================== Login Box ================== */

.myKontoCotainer {
    margin: 20px;
    background-color: rgb(37, 37, 37);
    border: 1px solid rgb(137, 137, 137);
    border-radius: 10px;
}

.headerTextBig {
    background-color: rgb(53, 53, 53);
    color: white;
    font-size: 30px;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
}

.headerTextSmall {
    background-color: rgb(53, 53, 53);
    color: white;
    font-size: 18px;
    text-align: center;
    padding: 10px;
}

.center_div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.SpaceTop {
    margin-top: 20px;
}

table,
table input {
    font-size: 24px;
}

table input {
    padding: 5px;
    border-radius: 5px;
}

table {
    color: white;
}

table td {
    padding: 5px;
    width: 100%;
}

.CustomFormat {
    padding: 20px;
}

.myInputs {
    background: black;
    color: white;
    width: 100%;
    padding: 6px;
    border-radius: 4px;
    border: 1px solid rgb(137, 137, 137);
    box-sizing: border-box;
}

.myInputs:hover,
.myInputs:active,
.myInputs::after,
.myInputs:focus {
    background: rgb(38, 38, 38);
    outline: none;
}

.submitButton {
    background-color: rgb(90, 90, 90); /* Standard gray */
    color: white;
    border: 1px solid rgb(137, 137, 137);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    width: fit-content;
    transition: background-color 0.2s;
}

.submitButton:disabled {
    background-color: rgb(90, 90, 90) !important;
    color: rgb(150, 150, 150);
    cursor: auto !important;
    border: 1px solid rgb(100, 100, 100);
}

.submitButton:not(:disabled):hover {
    background-color: rgb(120, 120, 120);
}



.CustomFormat a {
    margin-top: 10px;
    color: white;
}

.myLogo {
    width: 100px;
}

.text_of_logo {
    font-size: 24px;
    padding-top: 5px;
    color: white;
}


/* ================== 2D bakgrund: himmel + gräs + boll ================== */


div[remember-login]{
    margin-top: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    box-sizing: border-box;
    width: fit-content;
}

div[remember-login] input[type="checkbox"]{
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 4px;
    cursor: pointer;
}

div[remember-login] label{
    flex: 1 1 auto;
    display: block;
    font-size: 18px;
    color: white;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    cursor: pointer;
    user-select: none;
}



/* ================== 2D bakgrund: himmel + gräs + boll ================== */

div[godkann-integritetspolicy]{
    width: 600px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    box-sizing: border-box;
}

div[godkann-integritetspolicy] input[type="checkbox"]{
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
}

div[godkann-integritetspolicy] label{
    flex: 1 1 0;
    display: block;
    white-space: normal !important;
    overflow-wrap: break-word;
    word-break: break-word;
    line-height: 1.4;
}

div[godkann-integritetspolicy] label a{
    color: rgb(154, 221, 255);
}




#create_account_contain select {
    background: black;
    color: white;
    padding: 6px;
    border-radius: 4px;
    border: 1px solid rgb(137, 137, 137);
    font-size: 18px;
    width: 300px;
}

#create_account_contain select:hover,
#create_account_contain select:focus {
    background: rgb(38, 38, 38);
    outline: none;
}