p a{
    color: rgb(21, 87, 145);
}

body{
    background-color: #11141A;
}

/* WELCOME TEXT */
/* Mobile */
@media (max-width: 750px) {
    .welcomeh1{
        color: #E4E8EF;
        margin-bottom: 0px;
        user-select: none;
        -moz-user-select: none;
        -webkit-user-drag: none;
        text-align: center;
    }
    .welcomeh3{
        color: #A5ACB9;
        font-family: poppins;
        margin-top: 12.5px;
        user-select: none;
        -moz-user-select: none;
        -webkit-user-drag: none;
        text-align: center;
        font-size: 15px;
    }
    .description-h3{
        color: #E4E8EF;
    }
    .description-p{
        color: #A5ACB9;
    }
}
/* Computer */
@media (min-width: 751px) {
    .welcomeh1{
        color: #E4E8EF;
        padding-left: 15px;
        margin-bottom: 0px;
        user-select: none;
        -moz-user-select: none;
        -webkit-user-drag: none;
    }
    .welcomeh3{
        color: #A5ACB9;
        padding-left: 15px;
        font-family: poppins;
        margin-top: 12.5px;
        user-select: none;
        -moz-user-select: none;
        -webkit-user-drag: none;
    }
    .description-h3{
        color: #E4E8EF;
        padding-left: 15px;
    }
    .description-p{
        color: #A5ACB9;
        padding-left: 15px;
    }
}

/* SERVICE ANNOUNCEMENT */
.service-announcement_container{
    padding: 25px;
    background-color: #0B0E12;
    align-items: center;
    justify-content: center;
    display: flex;
    width: 100%;
}
#service-announcement{
    margin-left: 20px;
    font-size: 18px;
    font-weight: bold;
    font-family: "titles", sans-serif;
    color: white;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
}

.profile-tabs a{
    text-decoration: none;
    color: rgb(255, 255, 255);
}
.profile-tabs img{
    filter: invert(1);
}

.profile-tabs{
    display: flex;
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    width: 100%;
    background-color: #22458b;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 30px;
    gap: 30px;
    overflow-x: auto;
}

.profile-tabs-item{
    display: flex;
    font-family: "poppins", sans-serif;
    align-items: center;
    gap: 5px;
    text-wrap: nowrap;
    transition: transform 0.05s;
}
.profile-tabs-item:hover{
    transform: scale(110%);
}
.profile-tabs-item.active{
    font-weight: bold;
}
.profile-tabs-item p{
    margin: 0;
}

.button{
    border: 1px solid rgb(21, 87, 145);
    color: white;
    text-decoration: none;
    background-color: rgb(21, 87, 145);
    padding: 15px 50px;
    font-size: 25px;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    width: fit-content;
    justify-content: center;
    align-items: center;
}

.input-container{
    display: flex;
    width: 350px;
    height: 25px;
}

input{
    width: 60%;
    padding: 20px 20px;
    border: 1px solid #c2c8d1;
    outline: none;
    border-radius: 15px;
    margin-left: 25px;
    background-color: #11141A;
    color: #c2c8d1;
}

div p{
    width: 160px;
    color: #c2c8d1;
    padding-left: 15px;
}

/* SIGN-IN PROTECTION */
.twofactor-section{
    padding: 0 15px;
    max-width: 760px;
}

/* Undoes the narrow "div p" label width above for the text in this section */
.twofactor-section p{
    width: auto;
    padding-left: 0;
    color: #A5ACB9;
}

.twofactor-section .input-container{
    width: 100%;
    max-width: 350px;
}

/* Labels line up at 140px and grow for a longer one, the field takes what is left */
.twofactor-section .input-container p{
    width: auto;
    min-width: 140px;
    flex: none;
    color: #c2c8d1;
}

.twofactor-section .input-container input{
    flex: 1;
    min-width: 0;
    margin-left: 10px;
}

.twofactor-choices{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 10px 0 15px 0;
}

@media (max-width: 750px) {
    .twofactor-choices{
        grid-template-columns: 1fr;
    }
}

.twofactor-choice{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background-color: #1f232c;
    border: 1px solid #323742;
    border-radius: 10px;
    cursor: pointer;
    font-family: "poppins", sans-serif;
}

.twofactor-choice.picked{
    border-color: #3A76F0;
}

.twofactor-choice input[type='radio']{
    width: 18px;
    height: 18px;
    margin: 3px 0 0 0;
    padding: 0;
    flex: none;
    accent-color: #3A76F0;
    cursor: pointer;
}

.twofactor-choice-body{
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.twofactor-choice-title{
    color: #E4E8EF;
    font-weight: bold;
}

.twofactor-choice-text{
    color: #A5ACB9;
    font-size: 14px;
}

.twofactor-badge{
    display: none;
    margin-left: 6px;
    padding: 1px 8px;
    border-radius: 10px;
    background-color: #22458b;
    color: white;
    font-size: 12px;
    font-weight: normal;
    vertical-align: middle;
}

.twofactor-choice.current .twofactor-badge{
    display: inline-block;
}

.twofactor-panel{
    padding: 5px 15px 15px 15px;
    margin-bottom: 15px;
    background-color: #1f232c;
    border: 1px solid #323742;
    border-radius: 10px;
}

.twofactor-warning{
    border-color: #8b2b2b;
}

.twofactor-section .twofactor-title{
    color: #E4E8EF;
    font-weight: bold;
    font-size: 18px;
}

.twofactor-qr{
    width: 200px;
    padding: 10px;
    margin: 10px 0;
    background-color: white;
    border-radius: 10px;
}

.twofactor-qr svg{
    display: block;
    width: 100%;
    height: auto;
}

.twofactor-secret-row{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 5px 0 10px 0;
}

.twofactor-secret{
    font-family: monospace;
    font-size: 18px;
    color: #E4E8EF;
    letter-spacing: 1px;
    word-break: break-all;
    user-select: all;
}

.small-button{
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgb(21, 87, 145);
    border-radius: 8px;
    background-color: rgb(21, 87, 145);
    color: white;
    text-decoration: none;
    font-family: "poppins", sans-serif;
    font-size: 14px;
}

.twofactor-check{
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    color: #E4E8EF;
    font-family: "poppins", sans-serif;
    cursor: pointer;
}

.twofactor-check input[type='checkbox']{
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    flex: none;
    accent-color: #3A76F0;
}

.twofactor-actions{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin: 10px 0;
}

.twofactor-cancel{
    color: #A5ACB9;
    font-family: "poppins", sans-serif;
}

.recovery-list{
    columns: 2;
    width: auto;
    margin: 10px 0;
    padding-left: 35px;
    color: #E4E8EF;
    user-select: text;
}

.recovery-list li{
    padding: 3px 0;
    font-family: monospace;
    font-size: 17px;
}

/* The authenticator hint in the change password form sits where the button was */
#password-code-group [data-otp="hint"]{
    width: auto;
}

/* "Authenticator code:" is the longest code field label; one line keeps it level with the field */
[data-otp="label"]{
    white-space: nowrap;
}
