* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.container {
    width: 100%;
    height: 100vh;
    background-image: url('images/bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: overlay;
}

.login-box {
    width: 380px;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 6px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

h2 {
    text-align: center;
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 28px;
    font-weight: 600;
}

.subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 30px;
    font-size: 14px;
}

.input-group {
    position: relative;
    margin-bottom: 35px;
}

.input-group input {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
    border: none;
    border-bottom: 2px solid #ddd;
    outline: none;
    background: transparent;
    transition: 0.3s;
}

.input-group label {
    position: absolute;
    top: 12px;
    left: 0;
    font-size: 16px;
    color: #7f8c8d;
    pointer-events: none;
    transition: 0.3s ease all;
}

.input-group input:focus ~ label,
.input-group input:valid ~ label {
    top: -20px;
    font-size: 13px;
    color: #5b2333;;
}

.input-group .highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #5b2333;
    transition: 0.3s;
}

.input-group input:focus ~ .highlight {
    width: 100%;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: #5b2333;
    border: none;
    border-radius: 30px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(133, 36, 36, 0.3);
}

.login-btn:hover {
    background: #441825;
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(159, 29, 29, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.links {
    margin-top: 20px;
    text-align: center;
}

.links a {
    text-decoration: none;
    color: #666;
    margin: 0 10px;
    font-size: 14px;
    transition: 0.3s;
}

.links a:hover {
    color: #2691d9;
}

.register-link {
    margin-top: 20px;
    text-align: center;
}

.register-link p {
    color: #666;
    font-size: 14px;
}

.register-link a {
    color: #5b2333;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.register-link a:hover {
    color: #441825;
    text-decoration: underline;
}

/* Hata mesajları için stiller */
.error-message {
    color: #e74c3c;
    text-align: center;
    margin-bottom: 15px;
    font-size: 14px;
}

.success-message {
    color: #27ae60;
    text-align: center;
    margin-bottom: 15px;
    font-size: 14px;
} 