.custom-nav .active {
    background-color: #a1c6ae !important;
    color: black !important;
}
* {
    text-decoration: none !important;
}
.custom-nav .nav-link {
    font-size: 12px;
    text-align: left;
    color: black;
    border: #a1c6ae 1px solid;
    font-weight: bold;
}

.custom-nav-2 .nav-link.active {
    background: none !important;
    color: #176734 !important;
    border-bottom: 2px solid #176734;
    font-weight: 100;
    border-radius: 0;
}

.custom-nav-2 .nav-link {
    color: #b3b3cc !important;
}

.login-form-section {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 10%;
}

.auth-body {
    background-image: url("/images/background.png");
    background-size: cover;
    background-position: center;
    min-height: 100%;
}
.custom-nav-3 .nav-link {
    text-align: left;
    border: 1px #b3b3cc solid;
    border-radius: 0;

    color: #176734;
}

.custom-nav-3 .active {
    background-color: aliceblue !important;
    color: #176734 !important;
    font-weight: bold;
}

@media (min-width: 800px) {
    .auth-body {
        background-image: url("/images/background.png");
        /* background-repeat: no-repeat; */
        background-size: cover;
        height: 100vh;
    }
}
.error {
    color: red;
    background: #a1c6ae;
    align-self: left;
    padding: 2px;
}

.register-form-section {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 5px;
}

.custom-form-h {
    height: 120px !important;
}

.bg-light-green {
    background: #a1c6ae;
}
.offcanvas-width {
    width: 650px !important;
}
.offcanvas-width-md {
    width: 750px !important;
}

/* form-input icons */
.input-icons i {
    position: absolute;
}

.input-icons {
    margin-bottom: 10px;
}
.purple-header {
    color: purple;
    font-weight: bold;
}
.input-icons > input {
    padding-left: 40px;
}
.input-icons > select > option {
    background-color: black;
    color: white;
    font-size: 15px;
    padding: 15px !important;
}
.input-icons > select > option:hover {
    color: gold !important;
}

.icon {
    padding: 10px;
    min-width: 40px;
}
.offcanvas-size-md {
    --bs-offcanvas-width: min(95vw, 400px) !important;
}
.g-service-card:hover {
    background: #edf5f0;
}
.services-m-header {
    background-image: url("./images/location.png");
    background-position: center;
    background-repeat: no-repeat;
}

.services-close-btn {
    position: absolute;
    z-index: 9999;
    color: green;
    background: white;
    border-radius: 50px;
    float: right;
}

.admin-login-container {
    background: rgb(131, 58, 180);
    background: linear-gradient(
        90deg,
        rgba(131, 58, 180, 1) 0%,
        rgba(11, 10, 11, 0.9808298319327731) 19%,
        rgba(70, 29, 253, 0.969625350140056) 38%,
        rgba(43, 18, 157, 1) 56%,
        rgba(131, 58, 180, 1) 79%,
        rgba(0, 0, 0, 1) 100%
    );
    background-size: cover;
    height: 100vh;
}

.admin-login-form-section {
    max-width: 1200px;
    background-color: #d6e3e8;
    margin: 0 auto;
    margin-top: 10%;
    border-radius: 2%;
}

.red-text {
    color: #701a3d;
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 48px 0 0;
    background-color: #176734;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.1);
}

.sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 48px; /* Height of navbar */
    height: calc(100vh - 48px);
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.register-container {
    width: 65%;
    margin: auto;
}
.login-container {
    margin: auto;
    background-color: white;
    padding: 5%;
    border-radius: 10px;
    margin-bottom: 2rem;
}
.auth-logo {
    width: 30%;
}
.auth-btn {
    min-width: 5rem !important;
    width: 15rem;
}
/* .select2-selection {
    border-radius: 40px !important;
} */

.select2-container--bootstrap-5
    .select2-selection--multiple
    .select2-selection__rendered
    .select2-selection__choice {
    font-size: 0.7rem !important;
    background: #a1c6ae;
}

.form-floating:not(.form-control:disabled)::before {
    background-color: transparent !important;
}

.custom-active {
    /* border: #176734 solid; */
    border-bottom: #176734 solid;
}

.nav-item-custom > :hover {
    border-bottom: #176734 solid !important;
}
/* member directory canvas */
.directory-canvas-header {
    background-image: url("../images/grid.jpg");
    height: 120px;
}

/* This is the circular image. */
.bio-photo {
    border-radius: 20%;
    display: block;
    width: 10rem;
    height: 10rem;
}
.directory-canvas-body {
    padding-top: 80px;
}
.directory-logo {
    border-radius: 20%;
    display: block;
    width: 5rem;
    height: 5rem;
}
/* This is the outer div. Top white box. */
.box {
    /* This needs to be inline-block display. */
    display: inline-block;

    /* Background color of the top box */
    background-color: #fefefe;
}
/* This is for the span where the image or text is placed. */
.offcanvas-header span {
    /* This needs to be block display. */
    display: block;

    /* Size of the circle  */
    width: 150px;
    height: 150px;

    /* This changes the square into a circle */
    border-radius: 100%;

    /* Necessary for the placement of the circle  */
    margin-top: 125px;
    margin-right: auto !important;
    margin-left: auto !important;

    /*  Relevant if using text.  */
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    line-height: 150px;
    z-index: 20;
}
.modal-backdrop {
    z-index: 0;
}
.quote-btn-div {
    display: none;
}
.canvas-services:hover > .quote-btn-div {
    display: block;
}

.active > .page-link {
    background-color: #176734 !important;
    border-color: #176734 !important;
}
.download-btn:hover {
    background-color: #176734 !important;
    color: white;
}
.hideDiv {
    display: none !important;
}
.showDiv {
    display: block !important;
}
li.nav-item.news {
    margin-right: 10px !important;
}
.nav-pills .news-tab.active {
    background-color: #590978 !important;
    color: white !important;
    padding: 5px 15px !important;
    border-radius: 2px !important;
}
.nav-pills .news-tab {
    background-color: lightgray !important;
    color: grey !important;
    padding: 5px 15px !important;
    border-radius: 2px !important;
}
.unselectedNewsDiv {
    background-color: white;
}
.selectedNewsDiv {
    background-color: #f1f1f2 !important;
    border: lightgreen 2px solid;
    border-radius: 0px 5px 5px 0px;
}
.member-message {
    border: 1px solid lightskyblue;
    border-radius: 2px;
    float: left;
}
.admin-message {
    border: 1px solid darkblue;
    border-radius: 2px;
    float: right;
}
.nav-pills .home-tabs {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}
.l-green-border {
    border: 1px solid #a1c6ae !important;
}

/* Navbar dropdowns  */
.nav-dropdown
{
    top: 2rem !important;
    right: 40% !important;
    margin-top: 1rem !important;
    padding-top: 0px;
    width: 25rem;
    max-width: 25rem;
    overflow: hidden !important;
}
.nav-dropdown-inner {
    max-height: 40rem;
    overflow: auto;
}
.notification-header {
    text-align: left;
    font-weight: bold;
    background-color: #701A3D;
    color: white;
    padding: 10px;
    padding-left: 2rem;
}
.dropdown-header {
    border-bottom: 1px solid lightgray;
}
.dropdown-logo {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50px;
}
.nav-drop-item {
    border: 1px solid #a1c6ae;
    margin: 10px;
    border-radius: 5px;
    padding: 10px 5px 10px 5px;
}
.profile-drop-item {
    margin: 1rem;
}
.profile-drop-item :hover {
    background-color: #a1c6ae;
    color: black;
    font-weight: bold;
}
.dropdown-message {
    overflow-wrap: break-word;
}

/* Profile segments */
.profile-segments {
    height: 19rem !important;
    border-radius: 5px !important;
    justify-content: center;
    padding: 0.5rem;
}

/* Scroll bars  */
/* width */
::-webkit-scrollbar {
width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
background: #888;
border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #555;
}
.m-dir-divs {
width: 15% !important;
max-width: 15% !important;
}
.ctrl-btn {
    min-width: 8rem;
    padding: 0.5rem 2rem;
    border-radius: 10rem !important;
}
.purple-header-rows {
    color: purple !important;
    text-transform: uppercase;
    padding: 0.2rem;
}
.purple-header {
    color: purple;
    font-weight: bold;
}
.member-rows {
    border-top: 0px;
    padding: 6px 2px 8px 10px;
    font-size:small;
}
.member-titles {
    color: lightslategray;
    text-transform: uppercase;
    font-size: 10px;
}
.canvas-summary {
    height: auto;
    max-height: 15rem !important;
    overflow-y: scroll;
    padding: 2rem;
}
.service-photo, .canvas-photo {
    height: 10rem;
    border-radius: 5px;
}
.page-header-image {
    height: 50px;
    width: 200px;
}
.bg-c:hover{
    background: #4c83698c !important;
    color: white;
}

/* --- Premium Profile Edit UI Enhancements --- */

/* Base Typography overrides for Profile page */
.profile-edit-wrapper {
    font-family: 'Inter', sans-serif;
    color: #333;
}

/* Premium Card and Containers */
.premium-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    box-shadow: none;
    transition: all 0.3s ease;
    overflow: hidden;
}
.premium-card-header {
    background: linear-gradient(135deg, #176734 0%, #208745 100%);
    color: #ffffff;
    padding: 1.5rem 2rem;
    border-bottom: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}
.premium-card-body {
    padding: 2rem;
}
.premium-card-footer {
    background: #fdfdfd;
    border-top: 1px solid rgba(0,0,0,0.04);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: flex-end;
}

/* Custom Nav Tabs */
.profile-tabs-container {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    box-shadow: none;
    padding: 1.5rem 1rem;
    height: 100%;
}
.profile-tabs-container .nav-link {
    color: #6c757d !important;
    border: none !important;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 1rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.profile-tabs-container .nav-link:hover {
    background-color: rgba(23, 103, 52, 0.05) !important;
    color: #176734 !important;
    transform: translateX(5px);
}
.profile-tabs-container .nav-link.active {
    background: linear-gradient(135deg, #176734 0%, #208745 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(23, 103, 52, 0.2);
    font-weight: 600;
    transform: translateX(0);
}
.profile-tabs-container .nav-link i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* Modern Form Controls */
.premium-form-floating > .form-control {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: none;
}
.premium-form-floating > .form-select {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: none;
}
.premium-form-floating > .form-control:focus,
.premium-form-floating > .form-select:focus {
    border-color: #176734;
    box-shadow: 0 0 0 4px rgba(23, 103, 52, 0.1);
    background-color: #ffffff;
}
.premium-form-floating > label {
    padding: 1rem 1.2rem;
    color: #888;
    font-weight: 400;
}
.premium-form-floating > .form-control:focus ~ label,
.premium-form-floating > .form-control:not(:placeholder-shown) ~ label,
.premium-form-floating > .form-select ~ label {
    color: #176734;
    font-weight: 500;
    transform: scale(0.85) translateY(-0.75rem) translateX(0.15rem);
}

/* Tile Checkboxes (Sectors & Countries) */
.tile-checkbox {
    display: none;
}
.tile-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    background: #fafafa;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    height: 100%;
    word-break: break-word;
    user-select: none;
}
.tile-label:hover {
    border-color: #a1c6ae;
    background: #f4f9f6;
    color: #176734;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.03);
}
.tile-checkbox:checked + .tile-label {
    background: #176734;
    border-color: #176734;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(23, 103, 52, 0.3);
}

/* Upload Zone */
.upload-zone {
    border: 2px dashed #c0d6c9;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    background: #fafafc;
    transition: all 0.3s ease;
    position: relative;
}
.upload-zone:hover {
    border-color: #176734;
    background: #f4f9f6;
}
.upload-zone .bio-photo {
    border-radius: 50%;
    width: 140px;
    height: 140px;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    margin: 0 auto;
    display: block;
    transition: transform 0.3s ease;
}
.upload-zone:hover .bio-photo {
    transform: scale(1.05);
}

/* Premium Buttons */
.btn-premium {
    background: linear-gradient(135deg, #176734 0%, #208745 100%);
    border: none;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 16px rgba(23, 103, 52, 0.25);
    transition: all 0.3s ease;
}
.btn-premium:hover {
    background: linear-gradient(135deg, #13532a 0%, #176734 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(23, 103, 52, 0.35);
    color: white;
}
.btn-premium-outline {
    background: transparent;
    border: 2px solid #176734;
    color: #176734;
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-premium-outline:hover {
    background: #176734;
    color: white;
}

/* Sub-section headings */
.section-title {
    font-size: 1.1rem;
    color: #176734;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(23,103,52,0.2) 0%, rgba(23,103,52,0) 100%);
}

/* Textarea enhancements */
textarea.form-control {
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}
textarea.form-control:focus {
    border-color: #176734;
    box-shadow: 0 0 0 4px rgba(23, 103, 52, 0.1);
}
