﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    width: 100%;
    padding: 20px;
}

.login-box {
    max-width: 400px;
    background: #fff;
    margin: auto;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    text-align: center;
}

    .login-box h2 {
        margin-bottom: 10px;
        color: #333;
    }

    .login-box p {
        color: #777;
        margin-bottom: 30px;
    }

.input-group {
    position: relative;
    margin-bottom: 25px;
}

    .input-group input {
        width: 100%;
        padding: 12px 10px;
        border: 1px solid #ccc;
        border-radius: 8px;
        outline: none;
        font-size: 16px;
    }

    .input-group label {
        position: absolute;
        top: 50%;
        left: 12px;
        color: #999;
        font-size: 14px;
        pointer-events: none;
        transform: translateY(-50%);
        transition: 0.3s;
        background: #fff;
        padding: 0 5px;
    }

    .input-group input:focus + label,
    .input-group input:valid + label {
        top: -8px;
        font-size: 12px;
        color: #667eea;
    }

button {
    width: 100%;
    padding: 12px;
    border: none;
    background: #667eea;
    color: #fff;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

    button:hover {
        background: #5a67d8;
    }

.links {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

    .links a {
        text-decoration: none;
        font-size: 14px;
        color: #667eea;
    }

        .links a:hover {
            text-decoration: underline;
        }

/* Mobile Friendly */
@media (max-width: 480px) {
    .login-box {
        padding: 30px 20px;
    }
}
