﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.login-container {
    width: 400px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    overflow: hidden;
}

.login-header {
    background: linear-gradient(to right, #003366, #0066cc);
    padding: 25px 30px;
    text-align: center;
    color: white;
}

.login-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.login-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

.login-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

    .form-group label {
        display: block;
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 8px;
        color: #444;
    }

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

    .form-control:focus {
        outline: none;
        border-color: #0066cc;
        box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    }

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    color: #666;
}

.login-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, #003366, #0066cc);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

    .login-button:hover {
        background: linear-gradient(to right, #00264d, #0055b3);
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0, 102, 204, 0.3);
    }

.toggle-password i {
    cursor: pointer;
}

/* Login Type Dropdown */
.login-type {
    margin-bottom: 20px;
}

    .login-type select {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 14px;
        transition: all 0.3s;
    }

        .login-type select:focus {
            outline: none;
            border-color: #0066cc;
            box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
        }

/* Responsive adjustments */
@media (max-width: 480px) {
    .login-container {
        width: 90%;
        margin: 0 15px;
    }

    .login-header {
        padding: 20px;
    }

    .login-form {
        padding: 20px;
    }
}
