/* auth/styles/login.css */

body {
    /* Gradient background with animation */
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.card {
    width: 350px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.9); /* Yarı saydam beyaz arka plan */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.logo {
    width: 100px;
    margin-bottom: 20px;
}

.card h2 {
    margin-bottom: 20px;
    color: #2d3748;
}

.card form {
    display: flex;
    flex-direction: column;
}

/* Input alanlarının stili: text, password, email */
.card input[type="text"],
.card input[type="password"],
.card input[type="email"] {
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-size: 16px;
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.remember-me input {
    margin-right: 5px;
}

.card button {
    padding: 12px;
    background-color: #3182ce;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.card button:hover {
    background-color: #2c5282;
}

.card a {
    margin-top: 10px;
    color: #3182ce;
    text-decoration: none;
}

.card a:hover {
    text-decoration: underline;
}

/* Mesaj Stilleri */
.msg {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 14px;
}

.msg.error {
    background-color: #fdecea;
    color: #c53030;
}

.msg.success {
    background-color: #c6f6d5;
    color: #22543d;
}

/* Responsive Düzenlemeler */
@media (max-width: 400px) {
    .card {
        width: 90%;
        padding: 20px;
    }

    .logo {
        width: 80px;
    }

    .card h2 {
        font-size: 24px;
    }

    .card input[type="text"],
    .card input[type="email"],
    .card input[type="password"] {
        font-size: 14px;
        padding: 10px;
    }

    .card button {
        font-size: 14px;
        padding: 10px;
    }

    .msg {
        font-size: 12px;
        padding: 8px;
    }
}
