/* Genel düzen */
body {
    font-family: Arial, sans-serif;
    background-color: #1e1e1e;
    margin: 0;
    padding: 0;
    color: #fff;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
}

.login-form {
    background-color: rgba(13, 17, 23, 0.95);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 400px;
}

/* Başlık */
.login-form h1 {
    color: white;
    text-align: center;
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 600;
}

.login-desc {
    color: #8b949e;
    text-align: center;
    margin-bottom: 25px;
    font-size: 14px;
}

/* Input alanları */
.input-with-icon input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    color: white;
    font-size: 14px;
    transition: all 0.2s ease;
}

.input-with-icon input:focus {
    outline: none;
    border-color: rgba(24, 116, 204, 0.5);
    box-shadow: 0 0 0 2px rgba(24, 116, 204, 0.15);
}

.input-with-icon input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Şifreyi gösterme butonu */
.toggle-password {
    position: absolute;
    right: 15px;
    top: 55%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    z-index: 10;
    background: none;
    border: none;
    box-shadow: none;
    filter: none;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.toggle-password svg {
    color: rgba(255, 255, 255, 0.6);
    background: none;
    border: none;
    box-shadow: none;
    filter: none;
    vertical-align: middle;
    height: 1em;
    width: 1em;
}

/* Kayıt linki */
.register-link {
    text-align: center;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.register-link a {
    color: rgba(24, 116, 204, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.register-link a:hover {
    color: rgba(24, 116, 204, 1);
}

/* Buton ve kıvılcım efekti */
.login-btn {
    width: 100%;
    padding: 12px;
    background-color: rgba(24, 116, 204, 0.8);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.login-btn:hover {
    background-color: rgba(24, 116, 204, 1);
    transform: translateY(-3px);
}

/* Kıvılcım efekti */
.login-btn::after {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: rgba(24, 116, 204, 0.3);
    z-index: -1;
    filter: blur(8px);
    animation: sparkle 1.5s infinite alternate;
}

@keyframes sparkle {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Mobil uyumlu düzenlemeler */
@media (max-width: 480px) {
    .login-container {
        margin: 100px auto;
        min-height: calc(100vh - 300px);
    }

    .login-form {
        padding: 25px 20px;
    }

    .login-form h1 {
        font-size: 22px;
    }

    .input-with-icon input {
        padding: 10px 15px;
    }

    .input-with-icon input[type="password"] {
        padding-right: 40px;
    }
}
