* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    background: linear-gradient(135deg, #558DA3, #558DA3);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    width: 100%;
    max-width: 380px;
}

.login-box {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    text-align: center;
}

.subtitle {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

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

label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

input, .form-control {
    width: 100%;
    padding: 12px 14px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: 0.3s ease;
}

input:focus {
    border-color: #4a148c;
    box-shadow: 0 0 5px rgba(74, 20, 140, 0.3);
}

.password-group {
    position: relative;
}

.toggle-pass {
    position: absolute;
    right: 12px;
    bottom: 14px;
    cursor: pointer;
    font-size: 18px;
}

.btn {
    width: 100%;
    padding: 12px;
    background: #4a148c;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
    margin-top: 10px;
}

.btn:hover {
    background: #311b92;
}

.footer-text {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
}

.footer-text a {
    color: #4a148c;
    font-weight: 600;
    text-decoration: none;
}
