﻿.form-group {
    margin-bottom: 15px;
}

.label {
    display: block;
    margin-bottom: 5px;
}

.input, .form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

    .btn-primary:hover {
        background-color: #0056b3;
    }

.login-container {
    width: 300px; /* Adjust width as needed */
    padding: 20px;
    margin: 0 auto; /* Centering the container */
    text-align: center; /* Centering the content inside the container */
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Adds a subtle shadow for depth */
    background-color: #fff; /* Adjust background color as needed */
}

/* Logo Styling */
.logo img {
    width: 300px; /* Adjust as needed */
    height: auto;
    display: block;
    margin: 0 auto; /* Center the logo */
}

/* Form Elements Styling */
input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="submit"], .azure-ad-login {
    background-color: #083e70; /* Change as per your color scheme */
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

    input[type="submit"]:hover, .azure-ad-login:hover {
        background-color: #45a049;
    }

/* Remember Me Checkbox */
.checkbox {
    position: relative;
    margin: 10px 0;
    cursor: pointer;
    display: inline-block;
}

    .checkbox::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 18px;
        height: 18px;
        border: 2px solid #9C27B0;
        border-radius: 3px;
        background-color: transparent;
    }

.checkbox-custom::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    top: 3px;
    left: 3px;
    border-radius: 2px;
    background: #9C27B0;
    transform: scale(0);
    transition: transform 0.2s ease-in-out;
}

.checkbox-custom input[type="checkbox"]:checked + label::after {
    transform: scale(1);
}

.login-button {
    background-color: #1070de;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Align items */
.form-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Pre-login Layout Styles */
:root {
    --brand-dark-blue: #083e70;
    --brand-blue: #1070de;
    --brand-dark-grey: #2d4047;
    --brand-grey: #547785;
    --white: #ffffff;
    --light-grey: #f4f6f9;
    --warning-color: #ff9800;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--light-grey);
}

.pre-login-container {
    display: flex;
    flex-direction: column;
    min-height: 200vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Logo Section */
.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-image {
    max-width: 200px;
    height: auto;
}

/* Content Section */
.content-container {
    flex: 1;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Footer Notice */
.footer-notice {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.notice-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
}

.notice-icon {
    color: var(--warning-color);
    font-size: 24px;
}

.notice-text {
    flex: 1;
}

.notice-text strong {
    color: var(--brand-dark-blue);
    display: block;
    margin-bottom: 0.5rem;
}

.notice-text p {
    margin: 0;
    color: var(--brand-dark-grey);
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pre-login-container {
        padding: 1rem;
    }

    .content-container {
        padding: 1rem;
    }

    .notice-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .notice-icon {
        margin-bottom: 0.5rem;
    }
}

/* Syncfusion Component Overrides */
.e-card {
    border: none !important;
    background-color: var(--white) !important;
}

.e-card .e-card-content {
    padding: 0 !important;
}

/* Form Elements */
.e-input-group {
    margin-bottom: 1rem;
}

.e-input-group .e-input {
    padding: 0.75rem 1rem;
}

.e-btn.e-primary {
    background-color: var(--brand-blue) !important;
    border-color: var(--brand-blue) !important;
}

.e-btn.e-primary:hover {
    background-color: var(--brand-dark-blue) !important;
    border-color: var(--brand-dark-blue) !important;
}
