﻿/* login.css */

html, body {
    height: 100%;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #BDE4F6, #F18A8D);
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100vh;
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px 60px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    width: 380px;
    max-width: 90%;
    text-align: center;
    animation: fadeInUp 0.7s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-container h2 {
    margin-bottom: 35px;
    color: #F18A8D;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 28px;
    text-transform: uppercase;
}

.login-container label {
    font-weight: 600;
    color: #444;
    display: block;
    margin-bottom: 8px;
    margin-top: 20px;
    text-align: left;
    font-size: 14px;
}

.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
    padding: 14px 18px;
    border: 1.8px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

    .login-container input[type="text"]:focus,
    .login-container input[type="password"]:focus {
        border-color: #1e3c72;
        outline: none;
        box-shadow: 0 0 12px rgba(30, 60, 114, 0.6);
    }

.login-container button {
    margin-top: 40px;
    width: 100%;
    padding: 16px 0;
    background: #F18A8D;
    border: none;
    color: white;
    font-size: 20px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 1.5px;
    transition: background-color 0.35s ease;
    box-shadow: 0 6px 15px rgba(30, 60, 114, 0.5);
}

    .login-container button:hover {
        background: #BDE4F6;
    }

@media (max-width: 400px) {
    .login-container {
        width: 90%;
        padding: 40px 30px;
    }
}

.input-error {
    border-color: #e74c3c !important;
    box-shadow: 0 0 12px rgba(231, 76, 60, 0.6) !important;
}