﻿.crs-header
{
    width: 100%;
    margin-top: 60px;
    opacity: 1;
}

.watermark {
    height: 80%;
    width: 100%;
    background-image: url('/Images/background.png');
    background-size: contain;
    background-repeat:no-repeat;
    background-position:center;
    
    position: fixed;
    left: 0;
    bottom: 0;
    margin-top: 30px;
    opacity: 0.1;
    z-index: -1;
}

    body{
        opacity: 1; /* Set the opacity of all direct children elements of the body to 100% */
    }

.form-group-temp {
    margin: 30px 15% 0 15%;
    display: flex;
    justify-content: space-between;
}

    .form-group-temp select {
        flex-basis: 70%; /* Adjust the value as needed */
    }

.image-reround {
    width: 70px;
    height: 75px;
}

a{
    color: #ffffff;
    font-size: 17px;
}

.my-nav {
    background-color: darkgray;
}

.nav-menu {
    list-style: none;
    display: flex;
}

.nav-item {
    position: relative;
    margin-right: 20px;
}

.nav-link {
    color: #FFFFFF;
    text-decoration: none;
    cursor: pointer;
}

.sub-menu {
    display: none;
    position: absolute;
}

.nav-item:hover .sub-menu {
    display: block;
}

.sub-menu li {
    display: block;
}

/* CA-inspired compact shell styling */
.ca-shell {
    padding: 0.5rem 0.25rem;
}

.ca-shell .card {
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.ca-shell .card-header {
    background: linear-gradient(90deg, #0d6efd, #0a4ea3);
    color: #fff;
    border-bottom: 0;
    padding: 0.65rem 1rem;
}

.ca-shell .card-header h2,
.ca-shell .card-header h3,
.ca-shell .card-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.ca-shell .table thead th {
    background: #f5f7fb;
    position: sticky;
    top: 0;
    z-index: 1;
}

.ca-shell .table {
    font-size: 0.95rem;
}

.ca-shell .table td,
.ca-shell .table th {
    vertical-align: middle;
    padding: 0.55rem 0.65rem;
}

.ca-shell .table-responsive {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    max-height: 70vh;
}

.ca-table th {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.ca-table tr:nth-child(even) td {
    background: #fcfdff;
}

.ca-form .form-control {
    border-radius: 6px;
}

.ca-form label {
    font-weight: 600;
    font-size: 0.9rem;
}

.ca-shell .form-control,
.ca-shell .btn {
    border-radius: 6px;
}

.ca-shell .btn-primary {
    background: linear-gradient(90deg, #0d6efd, #0b5ed7);
    border: 0;
}

.ca-shell .btn-secondary {
    background: #6c757d;
    border: 0;
}

/* Candidate page shared styling */
.ca-shell {
    padding: 20px;
}

.ca-header {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #ffffff;
    padding: 20px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.ca-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.ca-search-form {
    max-width: 500px;
}

.stat-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 14px 18px;
    border-left: 4px solid #2a5298;
    height: 100%;
}

.stat-label {
    font-size: 0.8rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.stat-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e3c72;
}

.ca-shell .table td,
.ca-shell .table th {
    vertical-align: middle;
}

.ca-shell .table tbody tr:hover {
    background-color: #f0f4ff;
}

.ca-shell .btn-group .btn {
    border-radius: 0;
}

.ca-shell .btn-group .btn:first-child {
    border-radius: 4px 0 0 4px;
}

.ca-shell .btn-group .btn:last-child {
    border-radius: 0 4px 4px 0;
}

/* FeesDeclaration shared styling */
.fd-shell {
    padding: 20px;
}

.fd-hero {
    background: linear-gradient(135deg, #f8fafc, #eef2f7);
    color: #0f172a;
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 16px;
    border: 1px solid #e5e7eb;
}

.fd-hero h2 {
    margin: 0;
    font-weight: 700;
    letter-spacing: .3px;
}

.fd-hero small {
    color: #64748b;
}

.fd-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    padding: 16px;
}

.fd-table thead th {
    background: #f3f5f9;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.fd-table tbody tr:hover {
    background: #f8fafc;
}

.fd-btn {
    border-radius: 6px;
    padding: 6px 14px;
    font-weight: 600;
}

.fd-btn + .fd-btn {
    margin-left: .4rem;
}

/* Uniform buttons within FeesDeclaration pages */
.fd-shell .btn {
    border-radius: 6px;
    padding: 6px 14px;
    font-weight: 600;
}

.fd-shell .btn + .btn {
    margin-left: .4rem;
}

    .sub-menu li a {
        display: block;
        padding: 5px 25px 5px 25px;
        /*background-color: #808080;*/
        color: #FFFFFF;
        text-decoration: none;
    }

        .sub-menu li a:hover {
            /*background-color: #808080;*/
            color: #FFFFFF;
            padding: 5px 25px 5px 25px;
        }

.little-nav
{
    margin-right: 60px;
}
/*----------------------------------------*/

.red-line-hr{
    color: red;
    height: 10px;
}

.logo-netext {
    height: 100%;
    margin: -8px 1px -8px 50px;
    display: flex;
    justify-content: space-evenly;
}

.form-control .input-sm {
    border: none;
    border-bottom: 2px solid black;
    margin: 40px 15% 30px 15%;
}

.form-control .input-sm:focus {
    border: none;
    border-bottom: 2px solid black;
    margin: 40px 15% 30px 15%;
}

.nice-button {
    padding: 6px 40px 6px 40px;
    color: white;
    /*background-color: #808080;*/
    border-radius: 4px;
}

.red-line {
    background-color: red;
    height: 3px;
}

html {
    margin-top: -60px;
    font-size: 16px;
}
a.navbar-brand {
    margin-left: 25px;
    white-space: nowrap;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(0.7rem, 2.2vw, 1.25rem);
}

/* Provide sufficient contrast against white background */

/*.btn-primary {
    color: #fff;
    background-color: #808080;
    border-color: #808080;
}*/

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 30px; /* Vertically center the text there */
}

#map {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

@media (min-width: 768px) {
    .news-input {
        width: 50%;
    }
}

.card{
    margin: 0 auto;
    float: none;
    margin-bottom: 10px;
}

.card-header {
    /*background: #808080;*/
    border-bottom: 5px solid #e76700;
    text-align: center;
    text-decoration: #e5e5e5;
}

.card-footer {
    /*background: #808080;*/
    border-top: 5px solid #e76700;
    text-align: center;
    text-transform: full-width;
}

.navbar, .footer {
    height: 100%;
    background: darkgray;
}

.footer{
    height: 60px;
}

th {
    /*background-color: #808080;*/
    color: white;
    border-bottom: 5px solid #e76700;
}

.btn-primary {
    /*background-color: #808080;*/
}


/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    /*background-color: #808080;*/
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    /* Links inside the dropdown */
    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        /* Change color of dropdown links on hover */
        .dropdown-content a:hover {
            background-color: #ddd;
        }

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* =============================================
   Mobile collapsed navbar styling
   ============================================= */

/* The collapsed panel itself */
@media (max-width: 575.98px) {

    /* Give the collapsed menu a distinct background and contained shape */
    #mainNavbar {
        background: #0a2d4d;
        border-radius: 0 0 12px 12px;
        margin-top: 4px;
        padding: 10px 0;
        max-height: 80vh;
        overflow-y: auto;
    }

    /* Space out the top-level nav items */
    #mainNavbar .navbar-nav {
        padding: 0 12px;
    }

    #mainNavbar .navbar-nav > li.nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    #mainNavbar .navbar-nav > li.nav-item:last-child {
        border-bottom: none;
    }

    #mainNavbar .nav-link {
        padding: 10px 14px;
        font-size: 0.95rem;
        border-radius: 6px;
        transition: background 0.2s;
    }

    #mainNavbar .nav-link:hover,
    #mainNavbar .nav-link:focus {
        background: rgba(255, 255, 255, 0.08);
    }

    /* Make dropdowns inline (not absolute overlays) in mobile */
    #mainNavbar .dropdown {
        display: block;
    }

    #mainNavbar .dropdown .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    #mainNavbar .dropdown .dropdown-toggle::after {
        transition: transform 0.25s ease;
    }

    #mainNavbar .dropdown.show .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    #mainNavbar .dropdown-menu {
        position: static !important;
        float: none;
        background: rgba(0, 0, 0, 0.15);
        border: none;
        border-radius: 6px;
        margin: 0 0 4px 0;
        padding: 4px 0;
        box-shadow: none;
    }

    #mainNavbar .dropdown-menu .dropdown-item {
        color: rgba(255, 255, 255, 0.85);
        font-size: 0.9rem;
        padding: 8px 20px 8px 28px;
        border-radius: 4px;
        margin: 0 6px;
        transition: background 0.2s;
    }

    #mainNavbar .dropdown-menu .dropdown-item:hover,
    #mainNavbar .dropdown-menu .dropdown-item:focus {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
    }

    #mainNavbar .dropdown-divider {
        border-color: rgba(255, 255, 255, 0.1);
    }

    /* Login partial styling inside collapsed menu */
    #mainNavbar form,
    #mainNavbar .nav-link.text-light {
        color: rgba(255, 255, 255, 0.9) !important;
    }

    /* Smooth collapse animation */
    #mainNavbar.collapsing {
        transition: height 0.3s ease;
    }

    /* Hamburger icon animation */
    .navbar-toggler {
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 4px 8px;
        border-radius: 6px;
        transition: background 0.2s;
    }

    .navbar-toggler:hover,
    .navbar-toggler:focus {
        background: rgba(255, 255, 255, 0.1);
        outline: none;
        box-shadow: none;
    }
}






/* FeesDeclaration pages: match CandidateList header + button styling */
.fd-hero,
.harvest-hero,
.manage-hero,
.finance-header {
    background: linear-gradient(135deg, #1e3c72, #2a5298) !important;
    color: #ffffff !important;
    padding: 20px !important;
    border-radius: 10px 10px 0 0 !important;
    border-bottom: 0 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.fd-hero small,
.harvest-hero small,
.manage-hero small,
.finance-header .muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.fd-card,
.harvest-card,
.manage-card,
.finance-shell {
    background: #ffffff !important;
    border-radius: 0 0 10px 10px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
}

.fd-shell,
.harvest-shell,
.manage-shell,
.finance-shell {
    padding: 20px;
}

.fd-shell .btn,
.harvest-shell .btn,
.manage-shell .btn,
.finance-shell .btn {
    height: 36px;
    font-size: .9rem;
    border-radius: 6px;
}

.fd-shell .btn-primary,
.harvest-shell .btn-primary,
.manage-shell .btn-primary,
.finance-shell .btn-primary {
    background: linear-gradient(90deg, #0d6efd, #0b5ed7);
    border: 0;
}

.fd-card {
    border: 1px solid #e5e9f2;
    padding: 16px;
}

.fd-filter {
    background: #f8fafc;
    border: 1px solid #e5e9f2;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
}

/* =============================================
   Chatbot widget
   ============================================= */
.chatbot-toggle {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #07385C;
    color: #fff;
    border: none;
    box-shadow: 0 4px 16px rgba(7, 56, 92, 0.5);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1050;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.chatbot-toggle:hover {
    background: #0a4d7c;
    transform: scale(1.08);
    box-shadow: 0 6px 22px rgba(7, 56, 92, 0.6);
}

.chatbot-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(7, 56, 92, 0.35);
}

.chatbot-container {
    position: fixed;
    bottom: 96px;
    right: 28px;
    width: 380px;
    height: 560px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 1049;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dde4ed;
}

.chatbot-header {
    background: #07385C;
    color: #fff;
    padding: 11px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.chatbot-header-title {
    font-weight: 600;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chatbot-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 3px;
    transition: color 0.15s;
}

.chatbot-close:hover {
    color: #fff;
}

.chatbot-container iframe {
    flex: 1;
    width: 100%;
    border: none;
    display: block;
}

@media (max-width: 480px) {
    .chatbot-container {
        width: calc(100vw - 20px);
        right: 10px;
        bottom: 86px;
        height: 70vh;
    }

    .chatbot-toggle {
        bottom: 16px;
        right: 16px;
    }
}

