/* Reset default margins and paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Background styling */
body {
    background: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Main login card */
.login-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
}

/* Header styling */
.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    color: #1e3c72;
    font-size: 26px;
    margin-bottom: 8px;
    font-weight: 700;
}

.login-header p {
    color: #7f8c8d;
    font-size: 14px;
}

/* Form input styling */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #bdc3c7;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    border-color: #2980b9;
    outline: none;
    box-shadow: 0 0 5px rgba(41, 128, 185, 0.2);
}

/* Password eye icon positioning */
.password-wrapper {
    position: relative;
}

.password-wrapper i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #95a5a6;
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 16px;
}

.password-wrapper i:hover {
    color: #2c3e50;
}

/* Links and buttons */
.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 25px;
}

.forgot-password {
    color: #2980b9;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background-color: #1e3c72;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: #2a5298;
}

/* Footer styling */
.login-footer {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #7f8c8d;
}

.create-account {
    color: #2980b9;
    text-decoration: none;
    font-weight: 600;
}

.create-account:hover {
    text-decoration: underline;
}