﻿/* Login Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Segoe+UI:wght@400;600;700&display=swap');

body {
    /*background-color: #ffffff;*/
    background-image: url(../Assets/images/background.png);
    font-family: 'Segoe UI', sans-serif;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.login-container {
    background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    width: 100%;
    max-width: 440px;
    padding: 2rem;
    text-align: center;
    border-radius: 12px;
}

/* Logo Area */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 3rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    /* Placeholder gradient if svg not perfect match */
    background: linear-gradient(135deg, #452189, #9c27b0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.company-title {
    color: #452189;
    /* Deep Purple */
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 3rem;
}

/* Headings */
h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

/* Forms */
.form-group {
    text-align: left;
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #212529;
    margin-bottom: 0.5rem;
    display: block;
}

.input-with-icon {
    position: relative;
}

.form-control-custom {
    width: 100%;
    padding: 0.8rem 1rem;
    padding-right: 40px;
    /* Space for eye icon */
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.form-control-custom:focus {
    outline: none;
    border-color: #452189;
    box-shadow: 0 0 0 3px rgba(69, 33, 137, 0.1);
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    cursor: pointer;
    font-size: 1.2rem;
}

/* Options Row */
.options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.forgot-link {
    color: #452189;
    text-decoration: none;
    font-weight: 600;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Button */
.btn-login {
    width: 100%;
    background-color: #56308e;
    /* Purple */
    color: white;
    border: none;
    padding: 0.9rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-login:hover {
    background-color: #452189;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
    color: #adb5bd;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}

.divider span {
    padding: 0 10px;
    font-size: 0.9rem;
}

/* Footer */
.support-text {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 3rem;
}

.support-link {
    color: #452189;
    text-decoration: none;
    font-weight: 600;
}

.secure-badge {
    background-color: #f8f9fa;
    color: #495057;
    padding: 0.8rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}

.secure-icon {
    color: #56308e;
}