/* 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 {
    color: rgb(12, 76, 125);
    text-decoration: underline;
}

#glomt_losenord: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);
}
/* ================== 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: not-allowed;
    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 ================== */
