@import url(https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;1,200;1,300;1,400;1,500&display=swap);

:root {
    --primary-color: #3081c4;
    --sidebar-bg: #f8f9fa;
    --main-bg: #e9ecef;
}

body {
    background-color: var(--main-bg);
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
}

.card-body-lc {
    padding-bottom: 0px !important;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 300px;
    background-color: var(--sidebar-bg);
    border-right: 1px solid #dee2e6;
    padding: 1rem;
    transition: margin-left 0.3s;
    z-index: 1030;
    display: flex;
    flex-direction: column;
}

.sidebar::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    /* Adjust size as needed */
    height: 350px;
    /* Adjust size as needed */
    background-image: url('../images/circles_logo.png');
    background-repeat: no-repeat;
    background-position: center;
    /*background-size: contain;*/
    background-size: 300px 125px;
    opacity: 0.07;
    /* Adjust for desired watermark effect */
    z-index: -1;
    /* Place watermark behind content */
}

.user-details {
    text-align: center;
    margin-bottom: 2rem;
}

.user-details img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

.sidebar-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #6c757d;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
}

/* Style for personal info section */
.personal-info .nav-link {
    font-size: 0.9rem;
    color: #6c757d;
    padding: 0.5rem 1rem;
    pointer-events: none;
    /* Make it non-clickable */
}

.main-content {
    margin-left: 300px;
    transition: margin-left 0.3s;
}

.content {
    padding: 2rem;
}

/* --- STYLES FOR WATERMARK --- */
.your-contents {
    padding: 15px;
    background-color: #ffffff;
    border-radius: 10px;
    position: relative;
    /* Needed for watermark positioning */
    z-index: 1;
    /* Ensure content stays above watermark */
}

.user_title {
    font-size: 15px;
    font-family: inherit;
    margin-top: 20px;
    margin-bottom: auto;
    margin-right: 5px;
    text-align: right;
}

.card {
    border: none;
    border-radius: 0.5rem;
}

.data-table-info {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1020;
    display: none;
}

.overlay.active {
    display: block;
}

/* --- STYLES FOR ATTRACTIVE TABS --- */
.nav-tabs-custom {
    border-bottom: 3px solid #dee2e6;
}

.nav-tabs-custom .nav-item {
    margin-bottom: -3px;
}

.nav-tabs-custom .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #6c757d;
    font-weight: 600;
    padding: 1rem 1.5rem;
    transition: color .3s, border-color .3s;
}

.nav-tabs-custom .nav-link:hover {
    color: var(--primary-color);
}

.nav-tabs-custom .nav-link.active {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: transparent;
}

/* --- STYLES FOR TOPNAV & ANIMATED DROPDOWN --- */
.top-navbar {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.top-navbar .navbar-brand img {
    height: 35px;
    /* Adjust logo height */
}

.top-navbar .nav-link {
    color: white;
    padding-top: 1rem;
    /* padding-bottom: 1rem; */
    position: relative;
    background-color: transparent !important;
    /* Override hover background */
}

/* Underline animation for nav links */
.top-navbar .nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #ffffff;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.top-navbar .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Ensure dropdown menu is positioned correctly */
.navbar-nav .dropdown-menu {
    position: absolute;
}

/* Dropdown styles */
.dropdown-menu {
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    animation: fadeInDown 0.3s ease-out;
    /* Apply animation */
}

/* Dropdown item hover effect */
.dropdown-item:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Custom primary button to match theme */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #2a72b5;
    /* Darker shade on hover */
    border-color: #2a72b5;
}

/* Keyframes for dropdown animation */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Make dropdown menu appear on hover for desktop */
.dropdown:hover>.dropdown-menu {
    display: block;
}

.dropdown>.dropdown-toggle:active {
    pointer-events: none;
}

@media (max-width: 768px) {
    .sidebar {
        margin-left: -350px;
    }

    .sidebar.active {
        margin-left: 0;
    }

    .main-content {
        margin-left: 0;
    }

    /* Disable hover effects on mobile where click is used */
    .dropdown:hover>.dropdown-menu {
        display: none;
    }

    .dropdown-menu.show {
        animation: none;
        /* Disable animation on mobile click */
    }

    .top-navbar .nav-link::after {
        display: none;
    }
}

/* login */


.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3081c4;
}

.login-card {
    max-width: 450px;
    width: 100%;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.login-card .card-body {
    padding: 2.5rem;
}

.login-logo {
    max-width: 250px;
    margin-bottom: 1.5rem;
}

.form-control-lg {
    min-height: 3.2rem;
    font-size: 1rem;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.forgot-password a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password a:hover {
    color: var(--primary-color);
}


/* forgot password */
.forgot-password-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3081c4;
}

.forgot-password-card {
    max-width: 450px;
    width: 100%;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.forgot-password-card .card-body {
    padding: 2.5rem;
}

.forgot-password-logo {
    max-width: 250px;
    margin-bottom: 1.5rem;
}

.form-control-lg {
    min-height: 3.2rem;
    font-size: 1rem;
}


.back-to-login a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.back-to-login a:hover {
    color: var(--primary-color);
}

/* signup */

.signup-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    background: #3081c4;
}

.signup-card {
    max-width: 480px;
    width: 100%;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.signup-card .card-body {
    padding: 2.5rem;
}

.signup-logo {
    max-width: 250px;
    margin-bottom: 1.5rem;
}

.form-control-lg {
    min-height: 3.2rem;
    font-size: 1rem;
}


.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.login-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
}

.login-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

.btn_comm {
    font-size: 10px;
    padding: 4px 5px;
    width: 78px;
}
.btn-verify {
    background: #5DB85B;
    border-radius: 8px;
    font-family: Georgia;
    color: #ffffff;
    font-size: 16px;
    padding: 8px 20px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
  }

    .btn-verify:hover {
        background: linear-gradient(135deg, #4cae4c, #5DB85B);
        transform: translateY(-4px);
        box-shadow: 0 8px 15px rgba(93, 184, 91, 0.4);
    }


  .btn-reject {
    background: #d9534f;
    border-radius: 8px;
    font-family: Georgia;
    color: #ffffff;
    font-size: 16px;
    padding: 8px 20px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
  }

  .btn-reject:hover {
    background: linear-gradient(135deg, #c9302c, #d9534f);
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(217, 83, 79, 0.4);
  }

#preloader {
    transition: opacity 0.3s ease;
    opacity: 1;
}
body.preloader-active {
    overflow: hidden;
}

.nav-link-active {
    /* .nav-link:not(:hover) {
        color: #ffffff !important;
        border-bottom: 2px solid #ffffff !important;
        padding-bottom: 1rem !important;
    } */
    .nav-link:not(:hover):after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }
}