﻿body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-wrapper {
    width: 100%;
    max-width: 400px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    color: #fff;
    animation: fadeIn 1s ease-out;
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

    .logo-container img {
        width: 300px;
        height: auto;
        border-radius: 12px;
    }

.login-wrapper h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #fff;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: none;
    outline: none;
    font-size: 14px;
}

.login-button {
    width: 100%;
    display: block;
    margin: 0px 0px 0;
    padding: 12px 14px;
    background-color: #ffffff;
    color: #2a5298;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
    box-sizing: border-box;
    direction: ltr; 
}

.form-control,
.login-button {
    width: 100%;
    display: block;
    box-sizing: border-box;
}


    .login-button:hover {
        background-color: #dbe9ff;
    }

.message-label {
    text-align: center;
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.password-wrapper {
    position: relative;
    width: 100%;
}

    .password-wrapper .form-control {
        padding-right: 46px;
    }

.password-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 42px;
    height: 100%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #2a5298;
    font-size: 15px;
    z-index: 2;
}

    .password-toggle:hover {
        color: #01a5b4;
    }