

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto/static/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto/static/Roboto-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}


@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto/static/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
  font-family: 'Material Symbols Rounded';
  font-style: normal;
  font-weight: 100 700;
  src: url("../fonts/googleico.woff2") format('woff2');
}


.material-symbols-rounded {
    user-select: none;
    font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24
}

html, body {
    margin: 0px;
    padding: 0px;
    font-family: 'Roboto', sans-serif;
    color: #18191a;
    background-color: #ffffff;
    touch-action: manipulation;
}

.h-div {
    display: flex;
    height: 100vh
}

h1, h2, h3, h4 {
    color: #3c3f48;
    font-weight: 600;
    margin: 0px;
}


h1 {
    font-size: 40px;
}


h4 {
    font-size: 30px;
}

a {
    color: #1953C7;
    text-decoration: underline;
}

.bold {
    font-weight: 700;
}

.h-div-child.form {
    min-width: 600px;
}

.loginform {
    margin: 25vh auto 0px auto;
    width: 400px;
    max-width: 400px;

}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 10vw 30px 10vw;
    position: relative;
    z-index: 10;
}

.header-background-image {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 400px;

    background-size: cover;
    background-position: center;
    z-index: 1;
    background-image: url('../img/pexels-clarissa-schwarz-18849786.jpg');
}

.header-background-overlay {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 400px;

    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    mask-image: linear-gradient(to bottom, #000000, #000000b3, #00000000);
    z-index: 2;
}

.header-background {
    height: 400px;
}

.accountinfo {
    display: flex;
    align-items: center;
    margin-bottom: 30px;

    margin: 0px;
    position: absolute;
    top: 50px;
}

.accountinfo.clickable {
    cursor: pointer;
     transform: scale(1);
    transition: 0.15s all;
}

.accountinfo.clickable .material-symbols-rounded{
    position: relative;
    left: 0px;
    transition: 0.15s all;
}

.accountinfo.clickable:hover .material-symbols-rounded{
    left: 3px;
    transition: 0.15s all;
}

.accountinfo.clickable:hover {
    box-shadow: inset 0px 0px 3px #0080ff35, 0px 0px 0px 1px #bababa;
    background-color: #f9f9f9;
    transition: 0.15s all;
}

.accountinfo.clickable:active{
    transform: scale(0.9);
    transition: 0.15s all;
}

.navbar .accountinfo {
    position: unset;
    top: 0px;
    background-color: white;
    padding: 15px;
    margin: -15px;
    border-radius: 10px;
}

.navbar .material-symbols-rounded {
    font-size: 28px;
    color: #565677;
    cursor: pointer;
    transition: 0.15s all;
     margin: 8px 8px 8px 30px;
}

.welcomeheader {
    padding: 50px 10vw;
    position: relative;
    z-index: 5;
}

.welcomeheader h1 {
    color: black;
    font-size: 50px;
    font-weight: 800;
}

.profilepicture {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #d9dcdd;
    margin-right: 15px;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.accountdetails .username {
    margin: 0;
    font-weight: 700;
}

.accountdetails .email {
    margin: 0;
    color: #3c3f48;
    font-weight: 500;
    font-size: 14px;
}




.h-div-child.background {
    background: url('../img/pexels-diva-34803279.jpg') no-repeat center center fixed;
    overflow: hidden;
    flex-grow: 1;
    background-size: cover;
    margin: 20px;
    border-radius: 20px;
}


.h-div-child.background .credits {
    color: white;
    text-shadow: 0px 0px 3px rgb(0, 0, 0);
    font-size: 13px;
    font-weight: 500;
    position: absolute;
    bottom: 15px;
    right: 15px;
    margin: 15px;
    width: 400px;
    text-align: right;
}

.form-wrapper {
    width: 100%;
}

.form-container {
    margin: 5px 0px 15px 0px;
}

.form-btn {
    margin: 15px 0px;
}

.form-btn {
    background: linear-gradient(to bottom, #508EF8, #1953C7);
    background-size: 100% 150%;
    background-position: 10% 0%;
    font-family: 'Roboto', sans-serif;
    color: white;
    border: none;
    padding: 13px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 9px;
    font-weight: 600;
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: relative;
    min-height: 46px;

    transition: 0.15s all;
}

.form-btn:active {
    transform: scale(0.9);
    transition: 0.05s all;
}

.form-btn.loading {
    pointer-events: none;
    transition: 0.15s all;
    justify-content: center;
}


.form-btn .material-symbols-rounded {
    font-size: 20px;
    margin: 0px;
    position: relative;
    top: 0px;
    opacity: 0.8;
}

.form-btn.secondary {
    background: none;
    box-shadow: 0px 0px 0px 1px rgba(0, 128, 255, 0.206), inset 0px 0px 10px 5px rgba(0, 128, 255, 0.068);

    border: 1px solid #508EF8;
    color: #32393d;
}



.form-btn:hover {
    box-shadow: 0px 0px 0px 3px rgba(0, 128, 255, 0.206);
    background-position: 90% 100%;

    transition: 0.15s all;
}

.form-btn.secondary:hover {
    background: none;
    box-shadow: 0px 0px 0px 3px rgba(0, 128, 255, 0.206), inset 0px 0px 14px 25px rgba(1, 86, 172, 0.105);

    border: 1px solid #94b1e0;
    color: #32393d;
}

.form-btn.danger {
    background: linear-gradient(to bottom, #dc3545, #a71d2a);
    background-size: 100% 150%;
    background-position: 10% 0%;
    color: white;
    border: none;
}

.form-btn.danger:hover {
    box-shadow: 0px 0px 0px 3px rgba(220, 53, 69, 0.3);
    background-position: 90% 100%;
}

.form-btn.danger:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.form-container {
    display: block;
        width: 100%;
    position: relative;
}

.form-input {
    border: 1px solid #D9DCDD;
    box-shadow: 0px 0px 0px 1px #d9dcdd3d;
    color: #000000;
    font-family: 'Roboto', sans-serif;
    padding: 12px 19px;
    font-size: 16px;
    border-radius: 9px;
    width: -webkit-fill-available;
    background-color: #f7f7f7;

    transition: 0.15s all;
}


.form-label-flex {
    display: flex;
    justify-content: space-between;
}

.form-info-label {
    font-family: 'Roboto', sans-serif;
    color: #d93025;
    font-size: 13px;
    font-weight: 500;
    display: block;
    padding-top: 0px;
    max-height: 0px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;

    transition: 0.5s all;
}

.form-info-label.show {
    opacity: 1;
    visibility: visible;
    max-height: 70px;
    padding-top: 7px;

    transition: 0.5s all;
}

.form-info-label .material-symbols-rounded {
    font-size: 15px;
    margin-right: 3px;
    position: relative;
    top: 2px;
}

.form-label {
    font-family: 'Roboto', sans-serif;
    color: #000000;
    font-size: 15px;
    font-weight: 600;
    display: block;
    padding-bottom: 7px;
    pointer-events: none;

    transition: 0.15s all;
}

.form-label.link {
    color: #686d72;
    font-weight: 500;
    text-decoration: underline;
}


.form-input:focus {
    outline: none;
    border: 1px solid #0080ff;
    box-shadow: 0px 0px 0px 3px rgba(0, 128, 255, 0.206);

    transition: 0.15s all;
}

.form-input::placeholder {
    color: gray;
}

.spacer {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Passkey Management Styles */
.passkey-list {
    margin: 0 0 20px 0;
}

.passkey-item {
    padding: 15px 18px;
    margin: 10px 0;
    background: #f7f7f7;
    border: 1px solid #D9DCDD;
    box-shadow: 0px 0px 0px 1px #d9dcdd3d;
    border-radius: 9px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.15s all;
}

.passkey-item:first-child {
    margin-top: 0;
}

.passkey-item:hover {
    border-color: #bcc1c4;
    box-shadow: 0px 0px 0px 2px rgba(0, 128, 255, 0.1);
}

.passkey-item h3 {
    margin: 0 0 5px 0;
    color: #3c3f48;
    font-size: 16px;
    font-weight: 600;
}

.passkey-item p {
    margin: 0;
    font-size: 12px;
    color: #686d72;
    font-weight: 400;
}

.delete-passkey-btn {
    background: #fee;
    border: 1px solid #fcc;
    color: #dc2626;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.15s all;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-passkey-btn:hover {
    background: #fdd;
    border-color: #faa;
    box-shadow: 0px 0px 0px 2px rgba(220, 38, 38, 0.1);
}

.delete-passkey-btn:active {
    transform: scale(0.95);
}

.delete-passkey-btn .material-symbols-rounded {
    font-size: 18px;
}

.passkey-empty-message {
    margin: 0 0 20px 0;
    padding: 20px;
    text-align: center;
    color: #686d72;
    background: #f7f7f7;
    border: 1px dashed #D9DCDD;
    border-radius: 9px;
    font-size: 14px;
}

.form-container.error-spacing {
    margin-top: -5px;
}

.form-info-label.success {
    color: #4ade80;
}

.spacerbar {
    flex: 1;
    height: 1px;
    background-color: #d9dcdd;
    margin: 0px;
}

.spacertext {
    margin: 0px 10px;
    color: #686d72;
    font-size: 14px;
    font-weight: 500;
}


@media only screen and (max-width: 1110px) {
    .h-div-child.background {
        display: none;
    }

    .loginform {
        margin: 25vh 10vw 0px 10vw;        
        width: fit-content;
    }
    .h-div-child.form {
        min-width: 0px;
    }

}

@media only screen and (max-width: 700px) {
    .navbar .accountinfo .accountdetails {
        display: none;
    }
    .navbar .accountinfo .material-symbols-rounded {
        margin: 8px 8px 8px 8px;
    }
}

.loader {
  width: 16px;
  padding: 2px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffffff;
  --_m: 
    conic-gradient(#0000 10%,#000),
    linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
          mask: var(--_m);
  -webkit-mask-composite: source-out;
          mask-composite: subtract;
  animation: l3 1s infinite linear;
}
@keyframes l3 {
    to { transform: rotate(1turn)}
}

.form-btn.secondary .loader {
    background: #32393d;
}

.slidingforms {
    position: relative;
    width: 100%;
}

.slidingform {
    display: none;
    opacity: 0;
    visibility: hidden;
}

.slidingform.active {
    display: block;
    opacity: 1;
    visibility: visible;
}