/* For registration page */
/* Custom toggle switch */
.custom-switch {
    width: 40px;
    height: 20px;
    background-color: #3a3842; /* dark switch background */
    border: none;
    outline: none;
    box-shadow: none;
    transition: background-color 0.3s ease;
    cursor: pointer;
    appearance: none;
    position: relative;
    border-radius: 50px;
}
.mo_t3 {
    margin-top: 70px !important;
}

/* The circle (thumb) inside the switch */
.custom-switch::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    top: 1px;
    left: 1px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

/* When checked, move the circle to the right */
.custom-switch:checked::before {
    transform: translateX(20px);
}

/* Change background when checked */
.custom-switch:checked {
    background-color: #4caf50;
}

.mo_t {
    margin-top: -30px;
    color: white;
}
.mo_t2 {
    margin-top: 50px !important;
}
.mo_l {
    margin-left: 15px;
}
@media only screen and (max-width: 700px) {
    .posiElement {
        right: 25px;
        top: 65px !important;
    }
}
@media only screen and (max-width: 470px) {
    .mo_t {
        margin-top: -20px;
        color: white;
    }
    .md_size {
        font-size: 20px;
    }
    .md-top {
        padding-top: 40px;
    }
    .md-top1 {
        padding-top: 20px;
    }
    .md_size1 {
        width: 200px;
        font-size: 25px;
        font-weight: 800;
    }
    .font-weight-bold {
        font-weight: 900;
    }

    .flex-center1 input {
        width: 300px !important;
        margin-bottom: 20px;
    }
    .content {
        margin-top: 100px;
    }

    .nav > li > a {
        position: relative;
        display: block;
        padding: 10px 40px !important;
    }
    .displayNone {
        display: none;
    }
    /* .mo_t4{
  margin-top: 30px;
   margin-right: -20px !important;
} */

    .content {
        margin-top: 0px;
    }

    .pass_word_Content h3 {
        text-align: start;
        font-weight: 300;
        font-size: 20px;
    }
    .pass_word_Content ul li,
    .pass_word_Content p {
        font-size: 12px;
        text-align: start;
    }
    .memoInfo img {
        width: 70px !important;
        height: 50px !important;
    }
    .memoInfo .memoInfoContent h4 {
        font-size: 14px !important;
        line-height: 15px;
        font-weight: 700 !important;
        margin-bottom: 25px;
    }
    .memoInfo .memoInfoContent p {
        margin-top: -15px !important;
        font-size: 8px !important;
    }
}
/* For registration page */

/* For forget password page */
.flex-center {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.flex-center1 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.flex-center1 input {
    width: 350px;
    margin-bottom: 20px;
}
.flex-center1 button {
    border-color: aliceblue;
    color: aliceblue;
    margin-bottom: 10px;
}

.flex-center1 button:hover {
    background-color: white;
    color: black;
}

/* For forget password page */

/* From adimLogin */
.z-ind {
    position: relative;
    z-index: 4 !important;
}
.black {
    position: relative;
    color: black !important;
    background-color: yellowgreen;
    margin-top: -50px;
}
.register-page {
    width: 100% !important;
    height: fit-content !important;
    background: rgb(211, 76, 59) !important;
}
.ms-n2 {
    margin-bottom: 15px !important;
}
/* From adimLogin */

/* For Users profile page */
.Invalid_T {
    padding: 2px 4px !important;
    color: aliceblue;
    font-size: 11px;
    background-color: crimson;
    border-radius: 10px;
    margin-right: 10px;
}
.py-4 {
    position: relative;
    margin: 20px 20px !important;
    z-index: 4;
}
.aprrovalHistory {
    display: flex;
    width: 100%;
    height: 150px;
    background-color: #ffffff;
    border-radius: 10px;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 30px;
}
.aprrovalHistory .viewRecords {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: end;
    text-align: end;
    flex-direction: column;
}
.aprrovalHistory .aproveContent {
    font-size: 30px;
    margin-bottom: 10px;
}
.aprrovalHistory .viewRecords #pendingApproval {
    font-size: 50px;
    margin-bottom: 10px;
}
.pass_word {
    display: flex;
    justify-content: space-around;
    align-items: end;
}
.pass_word_Content {
    display: flex;
    align-items: start;
    flex-direction: column;
}
.pass_word_Content h3 {
    font-weight: 500;
}
.pass_word_Content ul li {
    margin-left: -24px;
    text-align: start;
}

/* For Users profile page */

.mg_left {
    padding-left: 7px !important;
}
.mg_left2 {
    padding-left: 7px !important;
    padding-top: 7px !important;
}

/* For dashbord */

.memoInfo {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
    width: 100%;
    /* height: 100px; */
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}
.memoInfo img {
    width: 150px;
    height: 150px;
}
.memoInfo .memoInfoContent {
    margin-left: 20px;
    width: fit-content;
}
.memoInfo .memoInfoContent h4 {
    font-size: 17px;
    font-weight: 700;
}
.memoInfo .memoInfoContent p {
    margin-top: -15px;
    font-size: 13px;
}
.memoInfo .memoInfoContent button {
    position: absolute;
    right: 30px;
}
.memoInfo .memoInfomini {
    width: 50px;
    height: 50px;
    background-size: cover;
}
.content .nav-tabs {
    width: 100%;
    display: flex;
    justify-content: space-between;
    /* background-color: blue; */
    border-radius: 2px;
}
/* .content .nav-tabs li{
    background-color: rgb(20,79,97);
    border-radius: 5px;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px 8px;
    color: white !important;
} */
.content .nav-tabs li a {
    color: white !important;
    margin-left: 5px;
}

/* .content .nav-tabs li:hover,
.content .nav-tabs li:active {
    background-color: green;
} */

#agency ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#agency ul li {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column-reverse;
    background-color: #f9f9f9;
    position: relative;
}

.notifacationstatus {
    position: absolute;
    bottom: 0px;
    right: 15px;
    font-size: 13px;
    color: #888;
    font-weight: 500;
}

.notificationInfo {
    display: flex;
    align-items: center;
    margin-top: 10px; /* creates space between date and content */
}

.notificationInfo i {
    font-size: 20px;
    margin-right: 10px;
    color: #5e5e5e;
}

.notificationInfo p {
    margin: 0;
    font-size: 15px;
    color: #333;
}
.tab-content #viewAllNote {
    text-align: end;
}

@media screen and (max-width: 576px) {
    .notificationInfo {
        flex-direction: column;
        align-items: flex-start;
    }

    .notifacationstatus {
        position: static;
        margin-bottom: 10px;
        text-align: right;
        width: 100%;
    }

    #agency ul li {
        padding: 12px;
    }

    .content .nav-tabs {
        width: 100%;
        border-radius: 2px;
    }
}

/* for most recent request status */

.RequestStatus {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.RequestStatus h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #555;
}

.travel-header {
    font-weight: bold;
    font-size: 16px;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    background: #f1f1f1;
}

.timeline {
    position: relative;
    padding-left: 20px;
    border: none !important;
    margin-left: 20px;
}

.timeline-entry {
    position: relative;
    padding-left: 15px;
    margin-bottom: 25px;
}

/* .timeline-entry::before {
    content: "✓";
    position: absolute;
    left: -15px;
    top: 0;
    width: 22px;
    height: 22px;
    background: green;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    line-height: 22px;
    z-index: 2;
    box-shadow: 0 0 0 3px white;
} */

.timeline-entry.pending::before {
    content: "";
    background: #ffc107;
}

.timeline-entry .role {
    font-weight: 600;
    margin-left: 13px;
}

.timeline-entry .status {
    font-size: 13px;
    color: #777;
    margin-left: 15px;
    margin-top: 2px;
}

.browse-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    border: 1px solid #007bff;
    background: #fff;
    color: #007bff;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.3s;
}

.browse-btn:hover {
    background: #007bff;
    color: #fff;
}

/* above was newly added for the timeline */
/* .apllicatioNote-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.apllicatioNote {
  background: red;
  color: white;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 13px;
} */
/* above was newly added for the timeline */

@media (max-width: 480px) {
    .card {
        padding: 15px;
    }
    .timeline-entry::before {
        left: -15px;
    }
    .reSizeWidth {
        width: 270px !important;
    }
}
/* Floating button */
.floating-toggle-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #007bff;
    color: white;
    padding: 12px;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    z-index: 1000;
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Card container */
.floating-card-container {
    position: fixed;
    top: 50%;
    right: 60px;
    transform: translateY(-50%);
    width: 300px;
    max-width: 90vw;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: none;
    z-index: 999;
}

.floating-card-container h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.travel-header {
    font-weight: bold;
    font-size: 16px;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    background: #f1f1f1;
}

.timeline {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid #999; /* gray line */
    margin-left: 20px;
}

.timeline-entry {
    position: relative;
    padding-left: 15px;
    margin-bottom: 25px;
}

/* .timeline-entry::before {
    content: "";
    position: absolute;
    left: -15px;
    top: 0;
    width: 22px;
    height: 22px;
    background: #ffc107;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    line-height: 22px;
    z-index: 2;
    box-shadow: 0 0 0 3px white;
} */

.timeline-entry.pending::before {
    /* content: "⏳"; */
    background: #ffc107;
}

.timeline-entry.rejected::before {
    /* content: "✗"; */
    background: #f44336;
}

.timeline-entry.approved::before {
    /* content: "✓"; */
    background: #4caf50;
}

.timeline-entry .role {
    font-weight: 600;
}

.timeline-entry .status {
    font-size: 13px;
    color: #777;
    margin-top: 2px;
}

.browse-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    border: 1px solid #007bff;
    background: #fff;
    color: #007bff;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.3s;
    text-align: center;
}

.browse-btn:hover {
    background: #007bff;
    color: #fff;
}

@media (max-width: 500px) {
    .logimagetext img {
        width: 60px !important;
        height: 60px !important;
    }
    .centerItem {
        text-align: center !important;
    }
    #md-m1 {
        margin-right: -80px;
    }
    #md-m2 {
        margin-left: -60px;
    }

    .floating-toggle-btn {
        font-size: 16px;
        padding: 10px;
    }
    .floating-card-container {
        width: 90%;
        right: 10px;
    }
}
.logo {
    width: 100%;
    display: flex !important;
    justify-content: center;
    flex-direction: row;
}
.weAfriLogo {
    display: flex;
    width: 40px;
    margin-right: 10px;
    height: 40px;
    /* box-shadow: 0 5px 15px rgba(0,0,0,0.2); */
    z-index: 1000; /* ensure it shows above other layers */
}
.forsearch {
    display: flex;
    justify-content: center;
    align-items: center;
}
.apllicatioNote-header {
    position: relative;
    width: 100%;
    height: 100%;
}
.apllicatioNote-header .apllicatioNote {
    position: absolute;
    right: 6px;
    font-size: 12px;
    color: white;
    top: 45px;
    background-color: red;
    padding: 3px 6px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
/* Approval Dashboard */

.request-card {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    margin: 1rem 0;
}
.profile-pic {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 1rem;
}
.status-badge {
    background-color: #d1ecf1;
    color: #0c5460;
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    display: block;
}
.request-card .status-InfoImage {
    margin-top: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.action-buttons button {
    width: 100px;
}
/* Range bar styling */
.progress-cell {
    width: 100%;
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.progress-label {
    margin-bottom: 2px;
}

.progress-track {
    background-color: #e0e0e0;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
}

.blue {
    background-color: #3f51b5;
}
.green {
    background-color: #4caf50;
}
.orange {
    background-color: #ff9800;
}
.red {
    background-color: #f44336;
}

/* .content .userImage-Name{
    width: 50px !important;
    height: 50px !important;
  }
  .content .userImage-Name img{
    border-radius: 50%;
    width: 50px !important;
    height: 50px !important;
  } */
.logimagetext {
    width: 100%;
    display: flex !important;
    align-items: center !important;
}
.logimagetext {
    width: fit-content;
}
.btnMove:hover {
    background-color: #144f61;
    color: #fff;
    border-color: #fff;
    border-color: #144f61;
}
.btnMove {
    padding: 10px 60px;
    margin-top: 5px;
    border-color: white;
    background-color: transparent;
    color: white;
    margin-bottom: 10px;
}
#backgroundOverlay {
    background-image: url("../WeAfri/assets/img/WhatsApp\ Image\ 2025-06-27\ at\ 15.00.56_f3b8c777.jpg") !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}
.profilebackground {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
}
.profilebackground img {
    width: 100% !important;
    /* border-radius: 50% !important; */
    height: 100% !important;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.posiElement {
    position: absolute !important;
    right: 25px;
    top: 35px;
}
.gray {
    color: #144f61 !important;
}
.blackColor {
    color: black !important;
}
.info {
    margin-top: 30px !important;
}
.ligtgray {
    color: #c4e3e6 !important;
}
.onhovergray {
    transition: 500ms;
}
.onhovergray:hover {
    color: #144f61 !important;
}
.custom-switch:checked {
    background-color: #5e8100 !important;
}
.fa-key {
    transform: rotate(90deg);
    font-size: 40px;
    font-weight: 200 !important;
    -webkit-text-stroke: 0px white;
    width: 10px;
    transform: scaleY(-1) scaleX(0.5);
    margin-top: -30px !important;
    color: #fff;
}
.fontncreased {
    -webkit-text-stroke: 1px;
}
