body{
    background-color: rgb(248, 250, 247);
}
.auth_body{
    background-color: #cfdeeed5;
}

.navbar-fixed{
    position: sticky;
    top: 0;
}
.form input{
    padding: 10px;
}

.form select{
    padding: 10px;
}

.error{
    color: red;
}

/* Flash message styles */
.flash-message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #757575;
    color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
    z-index: 99999;
}

/* Show the flash message */
.flash-message.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Close button styles */
.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
}

.login-container, .signup-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.login-box{
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.signup-box {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 550px;
}
.login-box h2, .signup-box h2{
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
    color: #333;
}
.login-box .forgot-password {
    text-align: right;
    margin-bottom: 15px;
}
.login-box .sign-up {
    text-align: center;
    margin-top: 20px;
}
.alert {
    text-align: center;
    padding: 10px;
}
.form-check{
    display: flex;
    align-items: center;
}
.form-check-input{
    margin-top: 0;
    margin-right: 6px;
}

.user-menu {
    position: fixed;
    top: 0;
    right: 0px;
    display: none;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-top: 0px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    width: 300px;
    z-index: 1010;
    transition: transform 0.2s ease, opacity 0.2s ease;
    max-height: 100vh;
    overflow-y: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #adb5bd #f8f9fa;
}

.user-menu::-webkit-scrollbar {
    width: 8px;
}

.user-menu::-webkit-scrollbar-thumb {
    background-color: #adb5bd;
    border-radius: 4px;
}

.user-menu::-webkit-scrollbar-thumb:hover {
    background-color: #495057;
}

.user-menu.active{
    display: block;
}

/* User Info Section */
.user-info {
    background: var(--bs-secondary);
    padding: 1.5rem;
    border-bottom: 3px solid #0d6efd; /* Blue accent */
}

.profile-img-small {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.user-info span {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
}

.close-menu {
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.5rem;
    line-height: 1;
}

.close-menu:hover {
    color: #ffffff;
    transform: scale(1.1);
}

/* Menu Items Styling */
.user-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-menu li {
    border-bottom: 1px solid #f1f4f7;
}

.user-menu li:last-child {
    border-bottom: none;
}

.user-menu a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.user-menu a:hover {
    background: #f8f9fa;
    padding-left: 2rem;
}

.user-menu a:hover .menu-svg {
    color: #0d6efd; /* Blue accent */
}

.menu-svg {
    width: 22px;
    height: 22px;
    color: #6c757d; /* Secondary color */
    transition: color 0.2s ease;
}

/* Section Dividers */
.user-menu ul:not(:first-child)::before {
    content: '';
    display: block;
    height: 3px;
    background: #0d6efd;
    margin: 0.5rem 0rem;
}

/* Logout */
.user-menu .logout {
    color: #dc3545;
}

.user-menu .logout:hover {
    color: #bb2d3b;
}

/* Active State Indicator */
.user-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #0d6efd;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.user-menu a:hover::after {
    opacity: 1;
}

.logo {
    height: 40px;
    width: 40px;
}

.username {
    font-size: 16px;
    font-weight: 500;
}

.dboard-end form{
    height: 80%;
    width: 30%;
}
@media (max-width: 768px) {
    .dboard-end form{
        height: 80%;
        width: 68%;
    }
}

.nav-g {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: top 0.3s;
}
.content{
    margin-top: 0px;
    padding: 0px;
    color: #000;
    overflow-x: hidden;
}
.form-content{
    padding: 2%;
    line-height: 30px;
}

.home{
    color: white;
}

.task-description{
    height: 4.7em;
    overflow: hidden;
}

.img-p-display{
    border-radius: 50%;
    width: 70%;
}
.personal-info{
    align-items: center;
} 
.personal-info button{
    margin-top: 100%;
}
.contact-info{
    line-height: 20px;
    padding-left: 2%;
}
.contact-info p{
    display: flex;
    align-items: center;
}
.dates{
    display: flex;
    align-items: center;
}
.profile-links a{
    color: #0d6efd;
    text-decoration: none;
}
.profile-links a:hover{
    color: #0d6efd;
    text-decoration: underline;
}
.options{
    display: flex;
    align-items: center;
    padding: 0.4%;
}
.options:hover{
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}
.back{
    cursor: pointer;
}
.proj-upvotes{
    font-size: 28px;
    cursor: pointer;
    padding-left: 3%;
    padding-right: 3%;
}
.proj-upvotes svg path{
    fill: #fff;
}
.proj-upvotes:hover{
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20%;
}
.proj-type{
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 12%;
    border: 0.5px solid #0d6efd;
    padding: 1.5%;
}
.proj-role{
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10%;
    padding: 2px; /* Each role would have a unique color e.g admin orange */
}
.proj{
    padding: 2%;
    padding-bottom: 0.8%;
    border-bottom: 1px solid #0d6efd;
}

.text-center{
    color: #000;
}

.no-tasks-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 70vh; /* Adjust based on your needs */
    text-align: center;
    background-color: #6c757d; /* Light background for contrast */
    padding: 20px;
}

.no-tasks-icon {
    width: 150px; /* Adjust the size of the SVG */
    height: auto;
    margin-bottom: 20px;
    fill: #ff6f61; /* Example color, change based on your theme */
}

.no-tasks-message {
    font-size: 1.5em;
    color: #fff; /* Dark text color for readability */
    margin: 0;
}

/* Fixed height for carousel */
.carousel-img {
    height: 700px; /* Adjust height as needed */
    object-fit: cover;
}

/* Fixed height for card images */
.fixed-card-img {
    height: 250px; /* Adjust for uniformity */
    object-fit: cover;
}

/* Makes all steps have equal height */
.h-100 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Adds subtle shadow */
.shadow-sm {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.equal-height {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.card {
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.quick-btn {
    width: 100%;
    padding: 12px;
    font-weight: bold;
    border-radius: 8px;
}

.list-group-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .equal-height {
        margin-bottom: 15px;
    }
}

.animate__animated {
    animation-duration: 0.5s;
}


/* Navbar Styling */
.navbar {
    background: linear-gradient(135deg, #4e575f, #6c757d);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    z-index: 1000;
}

.navbar-brand img {
    height: 40px;
    width: 40px;
}

.nav-link {
    color: #fff !important;
    padding: 10px 15px !important;
    display: flex;
    align-items: center;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.nav-link.active {
    font-weight: bold;
    border-bottom: 3px solid #0d6efd;
}

.nav-link svg {
    fill: #fff;
    opacity: 0.8;
    margin-right: 8px;
}

.nav-link:hover svg {
    opacity: 1;
}

/* Search Bar */
.search {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 280px;
}

.input-group {
    flex-wrap: nowrap;
}

.search:focus {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.search::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Profile Image */
.profile-img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.1);
}

/* User Menu */
.user-menu {
    background: #6c757d;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
}

.user-menu ul li a {
    color: #fff;
    transition: background 0.3s ease;
}

.menu-svg{
    fill: #fff;
    stroke: none;
}

.logout{
    fill: red;
}

.user-menu ul li a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .on-sm-grow{
        flex-grow: 1;
    }
    .navbar-nav {
        margin-top: 10px;
    }

    .nav-link {
        padding: 8px 10px !important;
    }

    .search {
        width: 100%;
    }
}

.task-card {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.task-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.scrollable-content {
    max-height: 120px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
}

.badge {
    padding: 0.5em 0.75em;
    font-weight: 500;
}

.priority-critical { background-color: #dc3545; }
.priority-high-priority { background-color: #fd7e14; }
.priority-medium-priority { background-color: #ffc107; color: #000; }
.priority-low-priority { background-color: #0dcaf0; }
.priority-optional { background-color: #6c757d; }

.deadline-danger { background-color: #dc3545; }
.deadline-warning { background-color: #ffc107; color: #000; }
.deadline-safe { background-color: #198754; }
.deadline-secondary {
    background-color: #6c757d; /* Bootstrap's secondary color */
    color: white; /* Ensure text is readable */
}
.deadline-secondary:hover {
    background-color: #5a6268; /* Slightly darker shade for hover */
}

.floating-action-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* FAB Container */
.fab-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

/* Main FAB Button */
.fab-main {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #0d6efd; /* Bootstrap primary color */
    border: none;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.fab-main:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Speed Dial Options */
.fab-options {
    position: absolute;
    bottom: 70px; /* Adjust based on button size */
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.fab-container.active .fab-options {
    opacity: 1;
    visibility: visible;
}

/* Individual FAB Options */
.fab-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.fab-option:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Tooltip for FAB Options */
.fab-option[title]:hover::after {
    content: attr(title);
    position: absolute;
    right: 50px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .scrollable-content { max-height: 100px; }
    .floating-action-button {
        bottom: 1rem;
        right: 1rem;
    }
}

/* Highlight active sort option */
.dropdown-item.active-sort {
    background-color: rgba(13, 110, 253, 0.1);
    font-weight: 500;
}

/* Checkmark icon for active item */
.dropdown-item .bi-check-lg {
    display: inline-block !important;
    color: #0d6efd;
}

/* Typeahead styling */
.twitter-typeahead {
    width: 100%;
}

.tt-menu {
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    max-height: 300px;
    overflow-y: auto;
}

.tt-suggestion {
    padding: 8px 15px;
    cursor: pointer;
}

.tt-suggestion:hover {
    background-color: #f8f9fa;
}

.tt-cursor {
    background-color: #e9ecef;
}

.empty-message {
    padding: 8px 15px;
    color: #777;
}

.navbar-nav .bi {
    font-size: 1.1rem;
    min-width: 24px; /* Ensures consistent spacing */
}

/* Better notification badge positioning */
#notification-badge {
    font-size: 0.65rem;
    padding: 0.25em 0.4em;
    min-width: 1.25em;
    display: none;
    align-items: center;
    justify-content: center;
}

/* For the bell icon to align properly */
.nav-link i.bi-bell {
    font-size: 1.25rem;
}