 
body {
    background-color: #1f1b2c;
}
    


/* css styles for the homepage on login  step */
    
        .home-page .modal-footer {
            justify-content: space-between;
        }

         .home-page .modal-body p {
            margin-top: 20px;
        }
            
        /* Optional: If you want to remove the shadow completely */
        .home-page .form-control:focus {
            box-shadow: none;
            border-color: #ced4da;
        }

        .home-page .btn:focus {
            box-shadow: none;
        }

        /* Remove space between dropdown menu and button */
        .home-page .dropdown-menu {
            margin-top: 0;
            padding: 0;
        }

        .home-page .dropdown-item {
            padding: 0.5rem 1rem;
        }

   
        #image-previews img {
            width: 100px;
            height: 100px;
            object-fit: cover;
            border-radius: 4px;
            border: 2px solid #dee2e6;
        }

        .home-page .preview-container {
            position: relative;
            display: inline-block;
        }

        .home-page .remove-image {
            position: absolute;
            top: -8px;
            right: -8px;
            background: red;
            color: white;
            border-radius: 50%;
            padding: 2px 6px;
            font-size: 12px;
            cursor: pointer;
            border: none;
        }

        .home-page .main-image-badge {
            position: absolute;
            top: 5px;
            left: 5px;
            background: #28a745;
            color: white;
            padding: 2px 6px;
            font-size: 10px;
            border-radius: 3px;
        }

        .home-page .profile-pic-small {
            width: 40px;
            height: 40px;
            position: relative;
            cursor: pointer;
        }

        .home-page .profile-pic-small img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border: 2px solid #fff;
        }

        .home-page .profile-pic-medium {
            width: 50px;
            height: 50px;
        }

        .home-page .profile-pic-medium img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .home-page .notification-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background: #dc3545;
            color: white;
            border-radius: 50%;
            padding: 2px 6px;
            font-size: 12px;
            border: 2px solid #fff;
        }

        .home-page .dropdown-header {
            padding: 1rem;
            background: #232324;
            border-bottom: 1px solid #dee2e6;
        }

        .home-page .dropdown-item {
            padding: 0.75rem 1rem;
        }

        .home-page .dropdown-item i {
            width: 20px;
        }

        .home-page .dropdown-item:hover {
            background-color: #444647;
        }

        /* Add subtle shadow to dropdown */
        .home-page .dropdown-menu {
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            border: 1px solid rgba(0,0,0,0.08);
            margin-top: 0.5rem;
            min-width: 250px;
        }

        /* Enhance dropdown animation */
        .home-page .dropdown-menu {
            display: block;
            opacity: 0;
            background: #1e1e30;
            color: #5c2424;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.2s ease;
        }

        .home-page .dropdown.show .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        /* Profile picture hover effect */
        .home-page .profile-pic-small {
            transition: transform 0.2s ease;
        }

        .home-page .profile-pic-small:hover {
            transform: scale(1.05);
        }

        /* Ensure dropdown is properly positioned */
        .home-page .nav-item.dropdown {
            position: relative;
        }
        /* Dropdown item styling */
    .home-page .dropdown-item {
        padding: 0.75rem 1rem;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
    }

    /* Icon base styling */
    .home-page .dropdown-item i {
        width: 20px;
        font-size: 1.1rem;
        transition: all 0.3s ease;
    }

    /* Hover effects for dropdown items */
    .home-page .dropdown-item:hover {
        background-color: #f8f9fa;
        padding-left: 1.25rem;
    }

    /* Icon hover effects */
    .home-page .dropdown-item:hover i {
        transform: scale(1.2);
    }

    /* Specific colors for icons */
    .home-page .dropdown-item i.bi-person-badge {
        color: #0d6efd;
    }

    .home-page .dropdown-item i.bi-car-front {
        color: #198754;
    }

    .home-page .dropdown-item i.bi-chat-dots {
        color: #6f42c1;
    }

    .home-page .dropdown-item i.bi-bookmark-star {
        color: #fd7e14;
    }

    .home-page .dropdown-item i.bi-sliders {
        color: #20c997;
    }

    .home-page .dropdown-item i.bi-power {
        color: #dc3545;
    }

    /* Enhanced hover effects for icons */
    .home-page .dropdown-item:hover i.bi-person-badge {
        color: #0a58ca;
    }

    .home-page .dropdown-item:hover i.bi-car-front {
        color: #146c43;
    }

    .home-page .dropdown-item:hover i.bi-chat-dots {
        color: #59359a;
    }

    .home-page .dropdown-item:hover i.bi-bookmark-star {
        color: #ca6510;
    }

    .home-page .dropdown-item:hover i.bi-sliders {
        color: #1aa179;
    }

    .home-page .dropdown-item:hover i.bi-power {
        color: #b02a37;
    }

    /* Badge styling */
    .badge {
        transition: all 0.3s ease;
    }

    .home-page .dropdown-item:hover .badge {
        transform: scale(1.1);
    }

    /* Profile notification badge */
    .notification-badge {
        position: absolute;
        top: -5px;
        right: -5px;
        background: #dc3545;
        color: white;
        border-radius: 50%;
        padding: 2px 6px;
        font-size: 12px;
        border: 2px solid #fff;
    }

    /* Dropdown item with badge */
    .home-page .dropdown-item {
        padding: 0.75rem 1rem;
        display: flex;
        align-items: center;
    }

    .home-page .dropdown-item .badge {
        margin-left: 30px;  /* Adds space between text and badge */
    }

    /* Hide profile badge when dropdown is open */
    .home-page .dropdown.show .notification-badge {
        display: none !important;
    }

    /* Enhanced animations and transitions */
    .home-page .form-step {
        display: none;
        animation-duration: 0.5s;
        animation-fill-mode: both;
        position: relative;
        overflow: hidden;
    }

    .home-page .form-step.active {
        display: block;
    }

    .home-page .form-step.slide-in {
        animation-name: slideInRight;
        animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    }

    .home-page .form-step.slide-out {
        animation-name: slideOutLeft;
        animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes slideInRight {
        from { 
            transform: translateX(100%) scale(0.95);
            opacity: 0;
        }
        50% {
            transform: translateX(50%) scale(0.97);
            opacity: 0.5;
        }
        to { 
            transform: translateX(0) scale(1);
            opacity: 1;
        }
    }

    @keyframes slideOutLeft {
        from { 
            transform: translateX(0) scale(1);
            opacity: 1;
        }
        50% {
            transform: translateX(-50%) scale(0.97);
            opacity: 0.5;
        }
        to { 
            transform: translateX(-100%) scale(0.95);
            opacity: 0;
        }
    }

    /* Enhanced step indicators */
    .step-indicators {
        position: relative;
    }

    .step {
        text-align: center;
        position: relative;
        z-index: 1;
    }

    .step-circle {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background-color: #fff;
        border: 2px solid #dee2e6;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 8px;
        position: relative;
        transition: all 0.3s ease;
    }

    /* Number styling */
    .step-number {
        display: block;
        transition: opacity 0.3s ease;
    }

    /* Checkmark styling */
    .step-check {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: none;
        color: #fff;
    }

    .step.active .step-circle {
        border-color: #007bff;
        background-color: #007bff;
        color: #fff;
    }

    /* Show checkmark and hide number only for completed steps */
    .step.completed .step-number {
        display: none;
    }

    .step.completed .step-check {
        display: block;
    }

    .step.completed .step-circle {
        border-color: #28a745;
        background-color: #28a745;
        color: #fff;
    }

    .step-label {
        font-size: 0.875rem;
        color: #6c757d;
    }

    .step.active .step-label {
        color: #007bff;
    }

    .step.completed .step-label {
        color: #28a745;
    }

    /* Progress line between steps */
    .step-indicators::before {
        content: '';
        position: absolute;
        top: 15px;
        left: 15%;
        right: 15%;
        height: 2px;
        background: #dee2e6;
        z-index: 0;
    }

    /* Button animations */
    .home-page .btn {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }

    .home-page .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .home-page .btn:active {
        transform: translateY(0);
    }

    /* Form validation animations */
    .home-page .form-control.is-invalid {
        animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
    }

    @keyframes shake {
        10%, 90% {
            transform: translateX(-1px);
        }
        20%, 80% {
            transform: translateX(2px);
        }
        30%, 50%, 70% {
            transform: translateX(-4px);
        }
        40%, 60% {
            transform: translateX(4px);
        }
    }

    /* Image preview animations */
    .home-page .preview-container {
        transition: all 0.3s ease;
    }

    .home-page .preview-container:hover {
        transform: scale(1.05);
        z-index: 1;
    }

    .home-page .remove-image {
        transition: all 0.2s ease;
    }

    .home-page .remove-image:hover {
        transform: scale(1.1);
        background: #dc3545;
    }

    /* Main image badge animation */
    .home-page .main-image-badge {
        animation: fadeInScale 0.3s ease;
    }

    @keyframes fadeInScale {
        from {
            opacity: 0;
            transform: scale(0.8);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    /* Profile picture styling */
    #navProfilePic {
        position: relative;
        display: inline-block;
    }

    #navProfilePic img.rounded-circle {
        width: 40px;
        height: 40px;
        object-fit: cover;
        border-radius: 50% !important;
        border: 2px solid #f8f9fa;
    }

    #navProfilePic .fa-user-circle {
        font-size: 40px; /* Match the image size */
        color: #6c757d;
    }

    /* Hover effect (optional) */
    #navProfilePic img:hover, 
    #navProfilePic .fa-user-circle:hover {
        opacity: 0.9;
        cursor: pointer;
    }

    /* Ensure proper alignment in navbar */
    .home-page .nav-item .profile-pic {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    /* Dropdown positioning */
    .home-page .nav-item.dropdown {
        position: relative;
    }

    .home-page .dropdown-menu {
        left: auto !important;
        margin-top: 0.5rem;
    }

    /* Ensure dropdown stays aligned right in all states */
    .home-page .dropdown-menu[data-bs-popper] {
        right: 0 !important;
        left: auto !important;
    }

    /* Remove dropdown arrow */
    .home-page .nav-item.dropdown .dropdown-toggle::after {
        display: none !important;
    }

    /* Progress animation */
    @keyframes progress {
        from { width: 100%; }
        to { width: 0%; }
    }

    .is-invalid {
        border-color: #dc3545;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right calc(0.375em + 0.1875rem) center;
        background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    }
    .is-invalid:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
    }

    /* Dropdown styling */
    .home-page .dropdown-menu {
        background: #1e1e30;
        border: 1px solid #2d2842;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        margin-top: 0.5rem;
        right: 0 !important;
        left: auto !important;
        min-width: 220px;
        padding: 0.5rem 0;
    }

    .home-page .dropdown-item {
        color: rgb(139, 132, 132);
        padding: 0.7rem 1rem;
    }

    .home-page .dropdown-item:hover {
        background-color: #444647;
        color: #332626;
    }

    .home-page .dropdown-divider {
        border-top: 1px solid #2d2842;
        margin: 0.5rem 0;
    }

    .home-page .dropdown-item i {
        color: rgb(139, 132, 132);
        width: 20px;
        text-align: center;
    }

    .home-page .dropdown-item:hover i {
        color: #413131;
    }

    .home-page .dropdown-item.text-danger {
        color: #5f3035 !important;
    }

    .home-page .dropdown-item.text-danger:hover {
        background-color: #444647;
    }

    .home-page .dropdown-item .badge {
        background-color: #0d6efd;
        color: #fff;
    }
