.delete-account-body {
    margin: 0;
    padding: 0;
}
.delete-account-body * {
    font-family: 'Noto Sans', 'sans-serif';
    font-stretch: condensed;
}
.delete-account-page {
    width: 100vw;
    min-height: 100vh;
    height: 100vh;
    background: linear-gradient(to bottom, #1b1959, #050511);
    color: white;
    overflow: hidden;
}

.delete-account-header {
    position: fixed;
    right: 15px;
    top: 0;
    display: flex;
    justify-content: flex-end;
}

.delete-account-middle {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    padding-top: 60px;
    padding-bottom: 60px;
    height: calc(100% - 120px);
    justify-content: space-between;
}

.logo {
    position: fixed;
    top: 15px;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    max-width: 90vw;
    width: 200px;
}

.delete-account-text {
    font-weight: bold;
    font-size: 30px;
    text-align: center;
    max-width: 600px;
}

.y-spacer {
    height: 100%;
}

.delete-account-form {
    display: flex;
    flex-direction: column;
    gap: 100px;
    justify-content: center;
    height: 100%;
}

.delete-account-form.hidden {
    display: none;
}
.error.hidden {
    display: none;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
}

.delete-account-form .buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.delete-account-form > div {
    position: relative;
    display: flex;
}
.delete-account-form .text-input {
    font-size: 20px;
}
.delete-account-form .text-input img {
    width: 400px;
    max-width: 90vw;
}

.delete-account-form .text-input label {
    position: absolute;
    transform: translateY(-100%);
    color: #d9c12b;
    font-size: 1.2em;
    font-weight: bold;
}

.delete-account-form .text-input input {
    position: absolute;
    left: 15px;
    top: 0px;
    font-size: 1em;
    background: transparent;
    border: none;
    outline: none;
    width: calc(100% - 35px);
    height: calc(100% - 3px);
}
.delete-account-form .text-input .error {
    position: absolute;
    bottom: 0;
    transform: translateY(100%);
    left: 15px;
    color: red;
}

.submit-image {
    position: relative;
    justify-content: center;
    line-height: 1;
}
.submit-image input[type=image] {
    width: 300px;
    max-width: 90vw;
}
.submit-image .text {
    position: absolute;
    color: black;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 25px;
    font-weight: 800;
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
}
.submit-image .text.white {
    color: white;
}

/* OAuth Buttons - Image-based Design */
.oauth-buttons {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    width: 100%;
}

.oauth-btn {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.oauth-btn-bg {
    width: 420px;
    max-width: 95vw;
    height: 85px;
    object-fit: fill;
    display: block;
}

.oauth-icon {
    position: absolute;
    z-index: 1;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    object-fit: contain;
    left: 40px;
}

.oauth-text {
    position: absolute;
    z-index: 1;
    left: 60px;
    right: 5px;
    text-align: center;
    font-size: 23px;
    font-weight: 800;
    color: #000;
    white-space: nowrap;
    pointer-events: none;
}

.oauth-btn-bg.white {
    filter: brightness(1.8);
}

.oauth-btn:hover .oauth-btn-bg {
    filter: brightness(0.95);
}

.oauth-btn:hover .oauth-btn-bg.white {
    filter: brightness(1.6);
}

.oauth-btn:active .oauth-btn-bg {
    filter: brightness(0.9);
}

.oauth-btn:active .oauth-btn-bg.white {
    filter: brightness(1.5);
}


@media (max-height: 900px) {
    .delete-account-form {
        gap: 0px;
    }

    .delete-account-form .text-input {
        font-size: 16px;
        margin-bottom: 70px;
    }
    .delete-account-text {
        font-size: 25px;
    }
    .oauth-buttons {
        gap: 14px;
    }
}
@media (max-width: 500px) or (max-height: 800px) {
    .logo {
        width: 100px;
    }
}
@media (max-height: 800px) and (max-width: 465px) {
    .step-3 {
        padding-bottom: 100px;
    }
}
@media (max-height: 800px) {

    .delete-account-middle {
        padding-bottom: 1rem;
        padding-top: 1rem;
        height: calc(100% - 2rem);
    }

    .delete-account-text {
        font-size: 18px;
    }

    .delete-account-form .text-input img {
        width: 250px;
    }
    .submit-image input[type=image] {
        width: 250px;
    }
    .submit-image .text {
        font-size: 20px;
    }
    .delete-account-form .text-input .error {
        left: 10px;
    }
    .text-input-pass {
        margin-bottom: 40px !important;
    }

    .delete-account-form > .submit-image, .buttons {
        position: absolute !important;
        left: 50%;
        right: 50%;
        transform: translateX(-50%);
        bottom: 15px;
    }
    .buttons {
        width: 90vw;
    }
    .oauth-btn-bg {
        width: 340px;
        height: 44px;
    }
    .oauth-text {
        font-size: 17px;
        left: 50px;
        right: 15px;
    }
    .oauth-icon {
        width: 26px;
        height: 26px;
        left: 14px;
    }
    .oauth-buttons {
        gap: 8px;
    }
}

@media (max-height: 450px) {
    .delete-account-text {
        font-size: 14px;
    }
    .delete-account-middle {
    }
    .delete-account-form .text-input img {
        width: 200px;
    }
    .submit-image input[type=image] {
        width: 200px;
    }
    .oauth-btn-bg {
        width: 280px;
        height: 38px;
    }
    .oauth-text {
        font-size: 13px;
        left: 42px;
        right: 12px;
    }
    .oauth-icon {
        width: 20px;
        height: 20px;
        left: 12px;
    }
    .oauth-buttons {
        gap: 5px;
    }
}
