@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Itim&family=Quicksand:wght@400;600;700&display=swap');

:root {
    --text-color: #7d6b6d;
    --accent-color: #ff9a9e; /* Daha canlı bir cozy pembe */
    --input-bg: rgba(255, 255, 255, 0.4);
    --glass-bg: rgba(255, 245, 245, 0.3); /* İşte o beyazlığı kaldıran şeffaflık */
}

body {
    margin: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Quicksand', sans-serif;
    /* Arka planı daha sıcak bir degrade yaptık */
    background: linear-gradient(135deg, #fff5f5 0%, #ffe4e1 100%);
    overflow: hidden;
}

/* Ana Şeffaf Kutu */
.login-box {
    width: 400px;
    padding: 40px;
    border-radius: 40px;
    background: var(--glass-bg);
    
    /* CAM EFEKTİ BURADA */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    
    /* İnce bir ışık çizgisi */
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.05);
    text-align: center;
    z-index: 10;
}

/* Başlık: El yazısı tarzı */
h1 {
    font-family: 'Dancing Script', crossorigin;
    font-size: 3rem;
    color: #b3888b;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
}

.subtitle {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-family: 'Itim', cursive;
}

/* Form Elemanları */
.field {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    margin-left: 10px;
    font-family: 'Itim', cursive;
    color: #9e8a8c;
    font-size: 1.1rem;
}

input {
    width: 100%;
    padding: 15px 25px;
    border-radius: 25px;
    border: 2px solid transparent;
    background: var(--input-bg);
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    color: var(--text-color);
    transition: all 0.3s ease;
    outline: none;
}

input:focus {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 154, 158, 0.2);
}

/* Giriş Butonu */
button {
    width: 100%;
    padding: 16px;
    margin-top: 10px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: white;
    font-size: 1.2rem;
    font-family: 'Itim', cursive;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(255, 154, 158, 0.3);
    transition: all 0.3s ease;
}

button:hover {
    transform: scale(1.03);
    filter: brightness(1.05);
    box-shadow: 0 15px 30px rgba(255, 154, 158, 0.4);
}

.register-link {
    display: inline-block;
    margin-top: 25px;
    text-decoration: none;
    color: #b3888b;
    font-family: 'Dancing Script', cursive;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.register-link:hover {
    color: var(--accent-color);
}

/* Çiçekler (JS ile gelen) için z-index ayarı */
.petal {
    z-index: 1;
}