/**=====================================================================
* Frontend CSS custom developed for the LTcms and further adjusted to
* UCOLD specs. Thanks to team at - by LWEGATECH
============================================================================**/
:root {
    --ltc-font: 'Poppins', 'Segoe UI', sans-serif;
    --ltc-font-2: "Open Sans", sans-serif;
    --ltc-font-3: "Anton", sans-serif;
    --ltc-base: #000000;
    --ltc-base-rgb: 17, 26, 76;
    --ltc-orange: #bf0c10;
    --ltc-orange-rgb: 191, 12, 16;
    --ltc-yellow: #f5d800;
    --ltc-yellow-rgb: 245, 216, 0;
    --ltc-white: #ffffff;
    --ltc-white-rgb: 255, 255, 255;
    --ltc-black: #000;
    --ltc-black-rgb: 51, 51, 51;
    --ltc-gray: #777777;
    --ltc-gray-rgb: 119, 119, 119;
    --ltc-primary: #5e70d0;
    --ltc-primary-rgb: 94, 112, 208;
    --ltc-font-size: 15px;
    --gradient-primary: linear-gradient(135deg, var(--ltc-base) 0%, var(--ltc-primary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--ltc-orange) 0%, #f5a76e 100%);
    --gradient-dark-to-medium: linear-gradient(135deg, var(--ltc-base) 0%, var(--ltc-primary) 100%);
    --gradient-top: linear-gradient(135deg, rgba(26,54,93,1) 0%, rgba(66,153,225,0.8) 100%);
    --gradient-logo: linear-gradient(135deg, #ffffff 0%, #ebf8ff 100%);
    --accent: #f6ad55;
    --accent-dark: #dd6b20;
    --light: #ebf8ff;
    --text: #2d3748;
    --text-light: #f7fafc;
  }

::selection {background:var(--ltc-orange);color:var(--ltc-white);text-shadow:none;}
::-webkit-selection {background:var(--ltc-orange);color:var(--ltc-white);text-shadow:none;}
::-moz-selection {background:var(--ltc-orange);color:var(--ltc-white);text-shadow:none;}
::-webkit-scrollbar {width: 8px; background:var(--ltc-base);}
::-webkit-scrollbar-thumb {	background: var(--ltc-primary); }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}
body.member-portal,
body.member-login-page {font-family: var(--ltc-font);background-color: #f5f7fb;color: #1f2633;}
h6, h6 a{color:#000075 !important;}
.portal-topbar {background: var(--ltc-orange);position: sticky;top: 0;z-index: 1040;color:var(--ltc-white)}
.portal-brand {display:flex;align-items:center;font-size: 1.1rem;color: var(--ltc-white);}
.portal-brand .logo{height:60px;width:100%;object-fit:contain;}
.portal-brand .logo-word{color: var(--ltc-yellow);}
.portal-body {min-height: calc(100vh - 70px);}
.portal-sidebar {width: 260px;background: #0f172a;color: var(--ltc-white);transition: transform 0.3s ease;}
.portal-sidebar .sidebar-inner {padding: 2rem 1.2rem;}
.portal-sidebar .nav-link {color: rgba(255, 255, 255, 0.7);padding: 0.85rem 1rem;border-radius: 0.75rem;margin-bottom: 0.35rem;display: flex;align-items: center;gap: 0.75rem;font-weight: 500;}
.portal-sidebar .nav-link i {font-size: 1.1rem;}
.portal-sidebar .nav-link:hover,
.portal-sidebar .nav-link.active {background: rgba(255, 255, 255, 0.12);color: var(--ltc-white);}
.portal-content {background: transparent;overflow: hidden;}
.member-avatar img {object-fit: cover;}
.avatar-placeholder {width: 48px;height: 48px;background: #e2e8f0;color: #1f2633;font-weight: 600;}
.avatar-placeholder.large {
    width: 120px;
    height: 120px;
    font-size: 2.5rem;
}

.quick-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    color: #1f2633;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-action-card:hover {transform: translateY(-3px);box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);background:rgba(var(--ltc-orange-rgb),0.2);color:var(--ltc-orange);}
.quick-action-card:hover i{color:var(--ltc-orange);}
.quick-action-card i {
    font-size: 1.6rem;
    color: #2563eb;
}

.portal-form .form-label {
    font-weight: 500;
    color: #1f2937;
}

.portal-form .form-control,
.portal-form .form-select {
    border-radius: 0.75rem;
}

.timeline {
    position: relative;
    padding-left: 1.5rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.timeline-marker {
    position: absolute;
    left: -2px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.timeline-content {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.member-login-logo {
    height: 56px;
}

.member-login-page {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(37, 99, 235, 0.8));
    padding: 2rem 0;
}

.member-login-form .form-control {
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
}

@media (max-width: 991.98px) {
    .portal-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        transform: translateX(-100%);
        z-index: 1050;
        box-shadow: 8px 0 24px rgba(15, 23, 42, 0.1);
    }

    .portal-sidebar.open {
        transform: translateX(0);
    }

    .portal-content {
        padding: 1.5rem 1rem;
    }
}

@media (min-width: 992px) {
    .portal-content {
        padding: 2.5rem;
    }
}
