@font-face {

    font-family: 'Kalpurush';

    src: url('/assets/fonts/Kalpurush.ttf') format('truetype');

}



@font-face {

    font-family: 'SolaimanLipi';

    src: url('/assets/fonts/SolaimanLipi.ttf') format('truetype');

}

body {

    margin: 0;

    padding: 0;

    font-family: 'SolaimanLipi', 'Roboto', 'Kalpurush', sans-serif;

    background-color: #f8f9fa; 

    color: #333; 

}



a {

    text-decoration: none;

    color: inherit;

    transition: color 0.3s;

}



a:hover {

    color: #007bff;

}



.wrapper {

    display: flex;

    height: 100vh; 

    background-color: #ffffff;

}





.sidebar {

    width: 250px;

    height: 100vh;

    position: fixed;

    background-color: #343a40;

    color: #ffffff;

    flex-shrink: 0;

    display: flex;

    flex-direction: column;

    overflow-y: auto;

    max-height: 100vh;

    scrollbar-width: thin;

    scrollbar-color: #6c757d #343a40; 

}





.sidebar::-webkit-scrollbar {

    width: 8px; 

}



.sidebar::-webkit-scrollbar-track {

    background: #343a40;

}





.sidebar-header {

    text-align: center;

    padding: 1rem;

    background-color: #212529;

    color: #ffffff;

}



.profile-wrapper {

    display: inline-block;

    text-decoration: none;

    color: inherit;

    cursor: pointer;

}



.profile-pic {

    width: 80px;

    height: 80px;

    object-fit: cover;

    border-radius: 50%;

    border: 2px solid #ffffff;

    transition: transform 0.3s ease;

    display: block;

    margin: 0 auto;

}



/* Hide text by default - no height, no space */

.user-text {

    height: 0;

    overflow: hidden;

    opacity: 0;

    transition: height 0.3s ease, opacity 0.3s ease;

}



/* Show text on hover - give enough height */

.profile-wrapper:hover .user-text {

    height: 3.5rem; /* Adjust height as needed */

    opacity: 1;

}



/* Optional: slightly enlarge profile pic on hover */

.profile-wrapper:hover .profile-pic {

    transform: scale(1.05);

}



.role {

    padding-top: 5px;

    color: #2ecc71;

    font-weight: bold;

    font-size: 1rem;

    margin-bottom: 0.2rem;

}



.union {

    color: yellow;

    font-size: 0.85rem;

    opacity: 0.8;

}









.sidebar ul {

    list-style: none;

    padding: 0;

    margin: 0;

}



.sidebar ul li a {

    display: flex;

    align-items: center;

    padding: 10px 20px;

    color: #ffffff;

    font-size: 1rem;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    transition: background-color 0.3s;

}



.sidebar ul li a:hover, .sidebar ul li ul .submenu li:hover {

    background-color: #2f3542;

}



.sidebar ul li a i {

    margin-right: 10px;

}



.sidebar ul li .submenu {

    display: none;

    flex-direction: column;

    background-color: #495057; /* Slightly lighter submenu */

    padding-left: 1rem;

}



.sidebar ul li .submenu li a {

    padding: 8px 20px;

    font-size: 0.9rem;

}



.submenu-toggle {

    cursor: pointer;

}



.sidebar ul li .submenu-toggle i.float-end {

    margin-left: auto;

}



/* Default styling for the sub-submenu */

.sidebar ul li .sub-submenu {

    display: none; /* Hide sub-submenu by default */

    flex-direction: column;

    background-color: #6c757d; /* Light grey color for sub-submenu */

    padding-left: 1rem;

}



.sidebar ul li .sub-submenu li a {

    padding: 8px 20px;

    font-size: 0.9rem;

    color: #ffffff; /* Text color for sub-submenu */

}



.sidebar ul li .sub-submenu li a:hover {

    background-color: #495057; /* Darker background on hover for sub-submenu items */

}



/* Hover effect for sub-submenu */

.sidebar ul li .submenu li:hover .sub-submenu {

    display: flex; /* Show sub-submenu on submenu item hover */

}



.sub-submenu-toggle {

    cursor: pointer;

}



.sidebar ul li .sub-submenu-toggle i.float-end {

    margin-left: auto;

}





.rotate {

    transform: rotate(180deg);

    transition: transform 0.3s ease;

}





.main-content {

    flex: 1;

    display: flex;

    flex-direction: column;

    background-color: #f8f9fa;

    margin-left: 250px;

    height: 100%;

    width: calc(100% - 250px);

    padding-bottom: 20px;

}



header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 10px 20px;

    background-color: #1a2a3b;

    color: #ffffff;

}



header .rtl-animation {

    overflow: hidden;           

    display: flex;

    align-items: center;

    width: 100%;                

}



header .rtl-animation p {

    margin: 0;

    font-weight: bold;

    font-size: 1.5rem;

    animation: slideIn 10s linear infinite;

}



header .sidebar-toggle {

    font-size: 1.5rem;

    cursor: pointer;

    background-color: #343a40;

    color: #fff;

    padding: 0.5rem 1rem;

    border-radius: 8px;

    border: none;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    transition: background-color 0.3s ease, transform 0.2s ease;

}



header .sidebar-toggle:hover {

    background-color: #495057;

    transform: scale(1.05);

}



header .sidebar-toggle:focus {

    outline: none;

    box-shadow: 0 0 0 3px rgba(72, 126, 176, 0.6);

}



header .sidebar-toggle:active {

    transform: scale(0.95);

    background-color: #212529;

}



@keyframes slideIn {

    0% {

        transform: translateX(100%);

    }

    100% {

        transform: translateX(-100%);

    }

}





.content-body {

    flex: 1;

    padding: 20px;

    background-color: #ffffff;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

    margin: 20px auto;

    width: 90%;

    max-width: 1200px;

    border-radius: 8px;

}



.main-container {

    display: flex;

    flex-direction: column;



    width: 100%;

    background-color: #f9f9f9;

}



.main-container nav.navbar {

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

}



.main-container .navbar-nav .nav-item .nav-link {

    color: #007bff;

    font-weight: 500;

    transition: color 0.3s;

}



.main-container .navbar-nav .nav-item .nav-link:hover {

    color: #0056b3;

    text-decoration: underline;

}



/* Logout Button */

#logoutButton {

    cursor: pointer;

}



/* Mobile Adjustments */

@media (max-width: 768px) {





    .sidebar {

        width: 250px; 

        height: 100vh;

        position: fixed;

        top: 0;

        left: -100%; 

        transition: left 0.3s ease; 

        z-index: 1000;

    }



    .sidebar.open {

        left: 0; 

    }



    .main-content {

    margin-left: 0px;

    }



    header .sidebar-toggle {

        display: inline-block; 

    }



    .content-body {

        width: 95%;

        margin: 10px auto;

        padding: 10px;

    }

}



.sidebar.active {

    transform: translateX(0);

}





@media (min-width: 769px) {



    header .sidebar-toggle {

        display: none; 

    }

}



.sidebar.active {

    transform: translateX(0);

}



/* Action Buttons */

.action-buttons {

    display: flex;

    justify-content: space-around;

    width: 100%;

    max-width: 400px;

    margin-top: 20px;

}



.action-buttons button {

    padding: 10px 20px;

    border: none;

    border-radius: 4px;

    font-size: 1em;

    cursor: pointer;

    color: #fff;

    transition: background-color 0.3s ease;

}



.register-btn {

    background-color: #28a745;

}



.login-btn {

    background-color: #17a2b8;

}



.reset-btn {

    background-color: #ffc107;

}



.register-btn:hover {

    background-color: #218838;

}



.login-btn:hover {

    background-color: #138496;

}



.reset-btn:hover {

    background-color: #e0a800;

}







label {

    margin: 6px;

    font-weight: bold;

    margin-bottom: 6px;

}

label span {

    color: red;

}





.error {

    color: red;            

    font-size: 12px;         

    margin-left: 10px;       

    display: block;          

}



input.error-input {

    border-color: red;       

    background-color: #ffe6e6; 

}



label.error {

    font-weight: bold;

    margin-top: 5px;

    display: inline-block;

}





h4 {

    font-size: 1.0rem;

    color: #333; 

    background-color: #f0f0f0;  

    padding: 10px; 

    width: 100%;

    text-align: center;

}



@media (max-width: 768px) {

    h4 {

        font-size: 0.9rem;  /* Adjust font size on smaller screens */

        background-color: #3498db;  /* Change background color for smaller screens */

        color: #ffffff;  /* Change font color for better contrast */

    }

}



/* Additional responsiveness for very small screens */

@media (max-width: 480px) {

    h4 {

        font-size: 0.8rem;  /* Adjust font size even more on very small screens */

        background-color: #2ecc71;  /* Different background color */

        color: #ffffff;  /* Ensure readability on different backgrounds */

    }

}







@keyframes moveFromRightToLeft {

    0% {

        transform: translateX(100%); 

        opacity: 0; 

    }

    50% {

        transform: translateX(0); 

        opacity: 1; 

    }

    100% {

        transform: translateX(-100%); 

        opacity: 0; 

    }

}



.rtl-animation {

    font-family: Arial, sans-serif;

    white-space: nowrap; 

    top: 50%; /* Optional: adjust position */

    left: 0;

    width: 100%; /* Optional: adjust width if needed */

}



.rtl-animation p {

    color: #ffffff;

    animation: moveFromRightToLeft 5s ease-out infinite;

    direction: rtl; 

}



  .toast-container {

    position: fixed;

    top: 20px;

    right: 20px;

    z-index: 1050;

}

.toast-body {

    font-size: 16px;

}





#messageContainer {

    display: block !important;

}



.breadcrumb {

    display: flex !important;

    flex-wrap: wrap !important;

    list-style: none !important;

    padding: 10px 15px !important;

    margin: 0 !important;

    background-color: #f8f9fa !important;

    border-radius: 4px !important;

    font-size: 14px !important;

}



/* Breadcrumb Items */

.breadcrumb-item {

    display: flex !important;

    align-items: center !important;

    color: #007bff !important; /* Link color */

    text-decoration: none !important;

    transition: color 0.3s ease !important;

}



/* Separator between items */

.breadcrumb-item + .breadcrumb-item::before {

    content: "/" !important;

    margin: 0 8px !important;

    color: #6c757d !important; /* Separator color (gray) */

}



/* Hover effect for links */

.breadcrumb-item a {

    color: inherit !important;

    text-decoration: none !important;

}



.breadcrumb-item a:hover {

    text-decoration: underline !important;

}



/* Active breadcrumb item */

.breadcrumb-item.active {

    color: #495057 !important; /* Dark gray for active */

    font-weight: bold !important;

    pointer-events: none !important;

}



/* Responsive Enhancements */

@media (max-width: 768px) {

    .breadcrumb {

        font-size: 12px !important; 

        padding: 8px 10px !important;

    }



    .breadcrumb-item + .breadcrumb-item::before {

        margin: 0 4px !important;

    }

}



        .top-button {

    position: fixed;

    bottom: 30px;

    right: 30px;

    background-color: #007bff;

    color: white;

    border: none;

    border-radius: 50%;

    padding: 16px;

    font-size: 24px;

    cursor: pointer;

    display: none; 

    z-index: 1000;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 

    transition: all 0.3s ease-in-out; 

}



.top-button:hover {

    background-color: #0056b3;

    transform: translateY(-5px); /* Slight lift effect on hover */

    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */

}



.top-button:focus {

    outline: none; /* Remove outline when button is clicked/focused */

    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5); /* Focus effect */

}



        

        

footer {

    display: flex;

    background-color: #2980b9;

    color: #ffffff;

    padding: 20px;

    font-size: 0.9rem;

}



footer .footer-content {

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    max-width: 1200px;

    margin: 0 auto;

}



footer .footer-content .social-links {

    display: flex;

    gap: 10px;

}



footer .footer-content .social-links a {

    color: #ffffff;

    text-decoration: none;

    font-size: 1.2rem;

    transition: color 0.3s ease-in-out;

}



footer .footer-content .social-links a:hover {

    color: #007bff;

}



footer .footer-content .copy-right {

    font-size: 0.9rem;

    color: #ddd;

}



footer .footer-content .copy-right a {

    color: #ddd;

    text-decoration: none;

    transition: color 0.3s ease-in-out;

}



footer .footer-content .copy-right a:hover {

    color: #ffffff;

}



/* Responsive Styles */

@media (max-width: 768px) {

    footer .footer-content {

        flex-direction: column;

        text-align: center;

    }



    footer .footer-content .social-links {

        margin-bottom: 10px;

    }

}



.datepicker {

    background-color: #f8f9fa !important; /* Light gray background */

    border: 1px solid #ced4da !important; /* Border color */

    border-radius: 0.25rem !important; /* Rounded corners */

    font-family: 'Roboto', sans-serif; /* Change font */

}



.datepicker .datepicker-days .day:hover {

    background-color: #007bff !important; /* Hover color */

    color: #fff !important; /* Text color on hover */

    border-radius: 0.25rem !important;

}



.datepicker .today {

    background-color: #ffc107 !important; /* Highlight today's date */

    color: #212529 !important; /* Text color for today */

}



.datepicker .active {

    background-color: #28a745 !important; /* Active date color */

    color: #fff !important; /* Active date text color */

    border-radius: 0.25rem !important;

}







.sidebar .active {

    background-color: #007bff; 

    color: #fff;

    font-weight: bold;

}



.sidebar .active i {

    color: #fff; 

}



.sidebar  .active + .submenu {

    display: block;

}









.bangla {

    font-family: 'SolaimanLipi', 'Kalpurush', sans-serif;

    font-size: 16px;

}



.error-bangla {

    color: red;

    font-size: 14px;

    margin-top: 5px;

}



/* Success Modal Styles */

.custom-modal {

    display: none;

    position: fixed;

    z-index: 1000;

    left: 0;

    top: 0;

    width: 100%;

    height: 100%;

    background-color: rgba(0, 0, 0, 0.5);

    display: flex;

    align-items: center;

    justify-content: center;

}



.custom-modal-content {

    background: #fff;

    padding: 20px;

    width: 400px;

    border-radius: 10px;

    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);

    text-align: center;

}



.custom-modal-header {

    font-size: 20px;

    font-weight: bold;

    color: #28a745;

    margin-bottom: 10px;

}



.custom-modal-header i {

    font-size: 30px;

    color: #28a745;

    margin-right: 5px;

}



.custom-modal-body p {

    font-size: 16px;

    margin: 10px 0;

    color: #333;

}



#applicant_id {

    font-weight: bold;

    color: #007bff;

}



.custom-modal-footer {

    margin-top: 15px;

    display: flex;

    justify-content: space-around;

}



.btn-action {

    background: #007bff;

    color: #fff;

    border: none;

    padding: 10px 15px;

    border-radius: 5px;

    cursor: pointer;

    transition: 0.3s;

}



.btn-action:hover {

    background: #0056b3;

}



.btn-close-modal {

    background: #dc3545;

    color: #fff;

    border: none;

    padding: 10px 15px;

    border-radius: 5px;

    cursor: pointer;

    transition: 0.3s;

}



.btn-close-modal:hover {

    background: #c82333;

}





/* Add a red border to invalid input fields */

input.has-error, select.has-error, textarea.has-error {

    border: 1px solid red;

}



/* Optional: You can also add a red background or other visual feedback */

input.has-error:focus, select.has-error:focus, textarea.has-error:focus {

    background-color: #ffe6e6;

}







        /* ✅ Approved: Smooth Scale Pulse */

        @keyframes pulse {

            0% { transform: scale(1); opacity: 0.8; }

            50% { transform: scale(1.2); opacity: 1; }

            100% { transform: scale(1); opacity: 0.8; }

        }

        .animate-pulse {

            animation: pulse 1.5s infinite ease-in-out;

        }



        /* ⏳ Pending: Rotating Hourglass with Color Transition */

        @keyframes spin {

            0% { transform: rotate(0deg); color: #ffc107; }

            50% { transform: rotate(180deg); color: #ff9800; }

            100% { transform: rotate(360deg); color: #ffc107; }

        }

        .animate-spin {

            animation: spin 2s linear infinite;

        }



        /* ❌ Rejected: Smooth Shake with Red Glow */

        @keyframes shake {

            0%, 100% { transform: translateX(0); box-shadow: 0 0 5px rgba(255, 0, 0, 0.6); }

            25% { transform: translateX(-5px); box-shadow: 0 0 10px rgba(255, 0, 0, 0.8); }

            50% { transform: translateX(5px); box-shadow: 0 0 15px rgba(255, 0, 0, 1); }

            75% { transform: translateX(-5px); box-shadow: 0 0 10px rgba(255, 0, 0, 0.8); }

        }

        .animate-shake {

            animation: shake 0.5s ease-in-out infinite;

        }

        /* Hover Effect for Extra Glow */

        .animated-badge:hover {

            filter: brightness(1.2);

            transition: all 0.3s ease-in-out;

        }


        

  .custom-footer {
    background-color: #1d72b8; /* বর্তমান হেডার/ফুটার নীলের সাথে মিল রেখে */
    font-family: 'SolaimanLipi', sans-serif;
    font-size: 15px;
    transition: background-color 0.3s ease;
  }

  .custom-footer .footer-icons a {
    font-size: 18px;
    transition: color 0.2s;
  }

  .custom-footer .footer-icons a:hover {
    color: #ffc107;
  }

  @media (prefers-color-scheme: dark) {
    .custom-footer {
      background-color: #0b3a60;
    }
  }
/* ------------------ Modern H1 & H2 with subtle background ------------------ */
h1, h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
    padding: 0.2rem 0.4rem;
    border-radius: 0.3rem;
    background-color: rgba(255, 255, 255, 0.15) !important; /* subtle light background */
}

/* H1 */
h1 {
    font-size: 2.5rem;
    color: #ff4d4f;
}
h1::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    margin-top: 6px;
    border-radius: 2px;
    background: linear-gradient(90deg, #ff4d4f, #ff7a59);
    transition: width 0.3s ease;
}
h1:hover::after { width: 120px; }

/* H2 */
h2 {
    font-size: 2rem;
    color: #007bff;
}
h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    margin-top: 6px;
    border-radius: 2px;
    background: linear-gradient(90deg, #007bff, #00c6ff);
    transition: width 0.3s ease;
}
h2:hover::after { width: 100px; }

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 { font-size: 2rem; h1::after { width: 60px; } h1:hover::after { width: 100px; } }
    h2 { font-size: 1.75rem; h2::after { width: 50px; } h2:hover::after { width: 80px; } }
}

/* Optional gradient text effect */
h1, h2 {
    background: linear-gradient(90deg, #007bff, #00c6ff) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}
/* ------------------ Default styles for H3–H6 ------------------ */
h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.8rem;
    position: relative;
    display: inline-block;
    padding: 0.15rem 0.3rem;
    border-radius: 0.25rem;
    background-color: rgba(255, 255, 255, 0.08) !important; /* subtle background */
    color: #495057; /* default text color */
    transition: all 0.2s ease;
}

/* Hover effect */
h3:hover, h4:hover, h5:hover, h6:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    transform: scale(1.02);
}
@media (max-width: 768px) {
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.15rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.9rem; }
}
h1, h2 {
    background: linear-gradient(90deg, #007bff, #00c6ff) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.union-card .card-title {
    font-size: 1.25rem; 
    font-weight: 700;
    color: #007bff;
    transition: all 0.3s ease;
}

.union-card .card-title:hover {
    color: #00c6ff;
    transform: scale(1.02);
}

.union-card h6 {
    font-size: 0.95rem;
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.union-card:hover h6 {
    color: #495057; 
}

.union-card:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* User Profile Styling */
.user-profile {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Kalpurush', sans-serif;
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #007bff;
}

.user-info {
    text-align: left;
}

.user-name {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #1a1a1a;
}

.user-links {
    font-size: 13px;
    margin-top: 2px;
}

.user-links a {
    color: #007bff;
    text-decoration: none;
}

.user-links a:hover {
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .user-profile {
        flex-direction: column;
        gap: 3px;
    }

    .user-avatar {
        width: 35px;
        height: 35px;
    }

    .user-name {
        font-size: 12px;
    }

    .user-links {
        font-size: 11px;
    }
}