﻿/*html {
    font-size: 16px;
    font-family: 'Segoe UI', sans-serif;
    color: #0078D7;
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 5px;
    padding-top: 50px;
}
*/
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    padding-top: 110px; /* fixed header offset */
    margin: 0;
}
footer.footer-banner {
    margin-top: auto;
}
/* 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;
}
.home-page {
    display: flex;
    flex-direction: column;
}

.home-wrap {
    flex: 1;
    display: flex;
    align-items: center; /* vertical centering */
    justify-content: center;
}

.home-page::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: 90px;
    width: 520px;
    height: 520px;
    background: url("/images/3East.jpg") no-repeat center/contain;
    opacity: 0.06; /* keep it subtle */
    filter: grayscale(1);
    z-index: 0;
    pointer-events: none;
}

.portal-panel {
    background: linear-gradient(180deg, #5da9ff 0%, #2f78c4 100%); /* similar to your palette */
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(0,0,0,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

    .portal-panel:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 32px rgba(0,0,0,0.18);
    }
/* Fixed header wrapper */
.app-header {
    z-index: 1030; /* above content; Bootstrap navbar uses 1030 */
}

/* Logo bar */
.app-logo-bar {
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,.08);
    padding: .35rem 0;
}

.app-logo {
    height: 52px; /* adjust to taste */
    width: auto;
    display: block;
}

/* Navbar bar styling */
.app-navbar {
    background: #0d6efd; /* Bootstrap primary blue */
    padding-top: .4rem;
    padding-bottom: .4rem;
}

/* IMPORTANT: push page content below fixed header (logo + navbar) */
body {
    padding-top: 110px; /* adjust if logo height changes */
}

/* 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;
}
.login-page::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: 90px;
    width: 520px;
    height: 520px;
    background: url("/images/3East.jpg") no-repeat center/contain;
    opacity: 0.06; /* keep it subtle */
    filter: grayscale(1);
    z-index: 0;
    pointer-events: none;
}
/* 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.footer-banner {
    margin-top: auto; /* ✅ push footer to bottom */
    height: 140px; /* visual footer height */
    position: relative;
    overflow: hidden;
}

.footer-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.footer-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.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;
    .rma-table

{
    border-collapse: separate;
    border-spacing: 0;
}

.rma-table thead th {
    background: #f8f9fb;
    font-weight: 600;
    border-bottom: 1px solid #e5e7eb;
}

.rma-table tbody tr {
    border-bottom: 1px solid #edf0f4;
    transition: background 120ms ease;
}

    .rma-table tbody tr:hover {
        background: #f6f9ff;
        cursor: pointer;
    }

/* Status badges */

.badge-pending {
    background: #ffc107;
    color: #000;
}

.badge-approved {
    background: #198754;
    color: #fff;
}

.badge-rejected {
    background: #dc3545;
    color: #fff;
}

.library-card {
    display: block;
    height: 100%;
    padding: 18px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: #212529;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

    .library-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 26px rgba(0,0,0,0.12);
        text-decoration: none;
    }

.library-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.library-title {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.library-desc {
    font-size: 0.9rem;
    color: #6c757d;
}


/* Scrollable privacy content */

.privacy-scroll {
    height: calc(100vh - 110px); /* nav + footer combined */
    overflow-y: auto;
}

:root {
    --nav-height: 60px;
    --footer-height: 50px;
}

.privacy-scroll::-webkit-scrollbar {
    width: 8px;
}

.privacy-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 4px;
}

.privacy-scroll h2 {
    margin-top: 2.5rem;
}

.privacy-scroll p,
.privacy-scroll li {
    line-height: 1.6;
}
.login-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

    .login-divider span {
        background: #fff;
        padding: 0 12px;
        font-size: 0.9rem;
        color: #666;
    }

    .login-divider::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        height: 1px;
        background: #ddd;
        z-index: -1;
    }

.btn-block {
    width: 100%;
}

.sso-button {
    font-weight: 500;
}

