
@import url('https://fonts.googleapis.com/css2?family=Libertinus+Mono&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Libertinus Mono", monospace;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #1f293a;
    overflow: hidden; /* Animasyonun taşmasını engeller */
}

.container {
    position: relative;
    width: 256px;
    height: 256px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container span {
    position: absolute;
    left: 0;
    width: 32px;
    height: 6px;
    background: #2c4766;
    border-radius: 8px;
    transform-origin: 128px;
    transform: scale(2.2) rotate(calc(var(--i) * (360deg / 50)));
    animation: animateBlink 3s linear infinite;
    animation-delay: calc(var(--i) * (3s / 50));
}

/* Hata Düzeltildi: Keyframes tanımı düzeltildi ve tamamlandı */
@keyframes animateBlink {
    0% {
        background: #0ef;
    }
    25% {
        background: #2c4766;
    }
}

.giris-kutusu {
    position: absolute;
    width: 400px;
    color: #fff; /* Yazı rengi eklendi */
}

.giris-kutusu form {
    width: 100%;
    padding: 0 50px;
}

h1 {
    font-size: 2.2em;
    color: #0ef;
    text-align: center;
    margin-bottom: 20px;
}

.input-alani {
    position: relative;
    margin: 25px 0;
}

.input-alani input {
    width: 100%;
    height: 50px;
    background: transparent;
    border: 2px solid #2c4766;
    outline: none;
    border-radius: 40px;
    font-size: 1em;
    color: #fff;
    padding: 0 25px 0 25px; /* İkon için boşluk bırakıldı */
    transition: 0.5s ease;
}

/* Hata Düzeltildi: Seçici '.input-alani' olarak güncellendi */
.input-alani input:focus,
.input-alani input:valid {
    border-color: #0ef;
}

.input-alani label {
    position: absolute;
    top: 50%;
    left: 25px;
    transform: translateY(-50%);
    font-size: 1em;
    color: #fff;
    pointer-events: none; /* Etiketin tıklamaları engellememesi için */
    transition: 0.5s ease;
}

/* Hata Düzeltildi: Seçici '.input-alani' olarak güncellendi */
.input-alani input:focus ~ label,
.input-alani input:valid ~ label {
    top: -10px; /* Etiketin yukarı çıkma mesafesi */
    font-size: 0.8em;
    background: #1f293a; /* Arka planı kesmesi için */
    padding: 0 8px;
    color: #0ef;
}

.input-alani i {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
}

/* EKSİK KISIMLAR EKLENDİ */
.hatirla-unutma {
    margin: -15px 0 15px;
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
}

.hatirla-unutma a {
    color: #0ef;
    text-decoration: none;
}

.hatirla-unutma a:hover {
    text-decoration: underline;
}

.btn {
    width: 100%;
    height: 45px;
    background: #0ef;
    border: none;
    outline: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 1.1em;
    color: #1f293a;
    font-weight: 600;
    margin-bottom: 10px;
}
.btn2 {
    width: 100%;
    height: 45px;
    background: #0ef;
    border: none;
    outline: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 1.1em;
    color: #1f293a;
    font-weight: 600;
}
