* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 28px 24px;

    background: #05070d;
    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
}

.container {
    width: 100%;
    max-width: 390px;
}

/* LOGO */

.logo-container {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    margin-bottom: 28px;
}

.app-logo {
    display: block;

    width: 64px;
    height: 64px;

    object-fit: contain;
}

/* BAŞLIK */

h1 {
    margin: 0;

    text-align: center;

    font-size: 36px;
    line-height: 1.15;
    font-weight: 800;

    color: #ffffff;
}

.subtitle {
    margin: 12px 0 30px;

    text-align: center;

    font-size: 16px;
    line-height: 1.5;

    color: #8e96aa;
}

/* ŞİFRE KUTULARI */

.field {
    position: relative;

    width: 100%;

    margin-bottom: 16px;
}

.field input {
    width: 100%;
    height: 62px;

    padding: 0 58px 0 18px;

    border: 1px solid #30374c;
    border-radius: 17px;

    outline: none;

    background: #111625;
    color: #ffffff;

    font-size: 16px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.field input::placeholder {
    color: #81899e;
}

.field input:focus {
    border-color: #12d9ef;

    box-shadow:
        0 0 0 2px rgba(18, 217, 239, 0.10);
}

/* GÖZ İKONU */

.password-toggle {
    position: absolute;

    right: 15px;
    top: 50%;

    transform: translateY(-50%);

    width: 32px;
    height: 32px;

    margin: 0;
    padding: 4px;

    border: none;
    border-radius: 0;

    background: transparent;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    color: #8992a8;
}

.password-toggle:hover {
    color: #ffffff;
}

.password-toggle:active {
    transform: translateY(-50%) scale(0.92);
}

.password-toggle svg {
    width: 24px;
    height: 24px;

    fill: none;

    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;

    pointer-events: none;
}

.hidden-icon {
    display: none !important;
}

/* ANA BUTON */

#saveButton {
    width: 100%;
    height: 62px;

    margin-top: 8px;
    padding: 0;

    border: none;
    border-radius: 17px;

    background: #ff2b8a;
    color: #ffffff;

    font-size: 18px;
    font-weight: 800;

    cursor: pointer;
}

#saveButton:active {
    transform: scale(0.985);
}

#saveButton:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* MESAJ */

#message {
    min-height: 24px;

    margin: 16px 0 0;

    text-align: center;

    color: #9ca4b7;

    font-size: 14px;
}

/* BAŞARI */

.hidden {
    display: none !important;
}

.success-screen {
    width: 100%;

    text-align: center;

    padding-top: 18px;

    animation: successFade 0.4s ease forwards;
}

.success-check {
    width: 96px;
    height: 96px;

    margin: 0 auto 26px;
}

.success-check svg {
    width: 100%;
    height: 100%;
}

.success-circle {
    fill: none;

    stroke: #34d17b;
    stroke-width: 2.5;

    stroke-dasharray: 151;
    stroke-dashoffset: 151;

    animation: drawCircle 0.65s ease forwards;
}

.success-tick {
    fill: none;

    stroke: #34d17b;
    stroke-width: 4;

    stroke-linecap: round;
    stroke-linejoin: round;

    stroke-dasharray: 35;
    stroke-dashoffset: 35;

    animation: drawTick 0.4s ease 0.55s forwards;
}

.success-screen h2 {
    margin: 0;

    color: #ffffff;

    font-size: 27px;
    font-weight: 800;
}

.success-screen p {
    margin: 10px 0 0;

    color: #949caf;

    font-size: 16px;
}

@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawTick {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes successFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TELEFON */

@media (max-width: 600px) {
    body {
        padding: 36px 24px;
    }

    .container {
        max-width: 100%;
    }

    .app-logo {
        width: 62px;
        height: 62px;
    }

    h1 {
        font-size: 34px;
    }
}