html {
    font-size: 14px;
    font-family: 'Segoe UI', sans-serif;
    color: #0078D7;
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 5px;
    padding-top: 75px;
}

/* Focus styles */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Floating form placeholder alignment */
.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Login page layout */
.login-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
}

/* Logo styling */
.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

    .logo-container img,
    .login-logo {
        height: 80px;
        width: auto;
    }

/* Login form container */
.login-container {
    width: 100%;
    max-width: 400px;
    padding: 30px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    text-align: center;
    margin-bottom: 30px;
}

    .login-container h2 {
        text-align: center;
        margin-bottom: 20px;
    }

/* Form styling */
.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

/* Button styling */
.btn-primary {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

    .btn-primary:hover {
        background-color: #0056b3;
    }

@media (max-width: 576px) {
    .login-container {
        padding: 20px;
        margin: 0 10px;
        border-radius: 6px;
    }

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}
/* Adjust gradient for smaller screens */
@media (max-width: 768px) {
    .navbar-gradient {
        background: linear-gradient(to right, white 0%, white 120px, #0078D4 120px, #0078D4 100%);
    }
}

    .form-control {
        padding: 6px;
        font-size: 14px;
    }

    .btn-primary {
        padding: 8px;
        font-size: 14px;
    }

    .logo-container img {
        height: 60px;
        margin-bottom: 20px;
    }

    .login-container h2 {
        font-size: 20px;
    }
}


.navbar-gradient {
    background: linear-gradient(to right, white 0%, white 35px, #0078D4 80px, #0078D4 100%);
}


.mainfooter-container {
    margin: 0;
    padding: 0;
    text-align: left;
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #333;
}

.form-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 500px;
    margin: 0;
    padding: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #444;
}

.form-input {
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

    .form-input:focus {
        border-color: #0078d4;
        outline: none;
    }

.form-error {
    color: #d13438;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-button {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    background-color: #0078d4;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    align-self: flex-start;
}

    .form-button:hover {
        background-color: #005a9e;
    }

.no-margin {
    margin: 0 !important;
    padding-right: 10 !important;
}


.footer-banner {
    margin-top: auto;
    height: 40px;
    object-fit: cover;
}

.footer-banner img {
    height: 75% !important; /* or whatever height you prefer */
    object-fit: cover;
    display: block;
}
.footer-banner {
    height: 150px;
    overflow: hidden;
    position: relative;
}

.footer-bg {
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1
}

.footer-overlay {
    z-index: 2;
    position:absolute;
}
.btn-microsoft {
    background-color: #00A2ED;
    color: white;
    border: none;
}

    .btn-microsoft:hover {
        background-color: #0086c3; /* Slightly darker on hover */
        color: white;
    }

.card-form {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.form-title {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.5em;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}

.form-row {
    display: flex;
    gap: 10px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-button {
    width: 100%;
    padding: 10px;
    background: #0078d4;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
}

    .form-button:hover {
        background: #005a9e;
    }

.form-error {
    color: #d32f2f;
    font-size: 0.9em;
}
.card-header {
    font-size: 1.4rem;
    font-weight: 600;
}

.list-group-item {
    font-size: 0.95rem;
    color: #555;
}
.registration-form {
    max-width: 500px;
    margin: auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: #0078D4; /* Microsoft Blue */
    border-color: #0078D4;
}

.text-primary {
    color: #0078D4;
}

.account-links {
    margin-top: 20px;
    text-align: center;
}

.account-link {
    margin: 0 15px;
    text-decoration: none;
    color: #0078D4; /* Microsoft blue */
    font-weight: bold;
    transition: color 0.2s ease;
}

    .account-link:hover {
        color: #005A9E; /* darker blue on hover */
        text-decoration: underline;
    }

.form-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* keep form near top */
    padding-top: 40px; /* adjust as needed */
    min-height: calc(100vh - 200px); /* subtract footer height if needed */
}

.form-grid {
    width: 400px; /* Adjust as needed */
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Force vertical stacking for Applicant Registration */
.form-grid, .form-group {
    display: block !important;
}

.form-button {
    display: block;
    width: 100%;
    margin-top: 1rem;
}
.form-group div {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;

    .section-title {
    color: #0078D4; /* Microsoft Blue */
    font-weight: bold;
    margin-bottom: 10px;
}

#documentGrid {
    border: 1px solid #0078D4;
}

.ig-grid td {
    background-color: #E6F0FA; /* Light blue for readability */
    color: #333;
    font-size: 14px;
    padding: 8px;
}

.ig-grid th {
    background-color: #0078D4;
    color: #fff;
    font-weight: bold;
    text-align: left;
}

.section-title {
    color: #0078D4;
    font-weight: bold;
    margin-bottom: 20px;
}

.btn-primary {
    background-color: #0078D4;
    border-color: #0078D4;
}

.form-label {
    font-weight: 500;
}
/* Microsoft Blue Theme */
:root {
    --ms-blue: #0078D4;
    --ms-blue-light: #E5F1FB;
    --ms-gray: #F3F2F1;
    --ms-text: #323130;
}

/* Container and Card */
.container {
    margin-top: 50px;
}

ig-card {
    display: block;
    background-color: var(--ms-gray);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

/* Card Header */
ig-card-header h4 {
    color: var(--ms-blue);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Ignite UI Inputs */
ig-input {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 10px;
}

    ig-input input {
        border: 1px solid #ccc;
        border-radius: 4px;
        padding: 10px;
        font-size: 14px;
    }

/* Buttons */
ig-button {
    background-color: var(--ms-blue);
    color: #fff;
    font-weight: 600;
    border-radius: 4px;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

    ig-button:hover {
        background-color: #005A9E;
    }

/* Validation Messages */
.text-danger {
    font-size: 13px;
    color: #d83b01;
