/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

.pwMask {
    font-family: text-security-disc;
    -webkit-text-security: disc;
}

.hide {
    display: none !important;
}

.logout {
    background-color: #f44336;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.logout:hover {
    background-color: #d32f2f;
}

#invitationsSection {
    min-height: 320px;
    ;
}

/* input has readonly */
input[readonly] {
    background-color: #f5f5f5;
    color: #999;
}

input[readonly]:focus {
    background-color: #f5f5f5;
    color: #999;
    border: 1px solid #ddd;
}

.help-block {
    display: block;
    margin-top: 5px;
    margin-bottom: 10px;
    color: #737373;
    font-style: italic;
    font-size: 0.9rem;
}

img {
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-user-select: none;
    user-select: none;
}

body {
    min-height: 100vh;
    background-color: #f5f5f5 !important;
}

/* Layout */
.container {
    display: flex;
    min-height: 100vh;
}

.left-panel {
    flex: 1;
    background-color: #2d2a77;
    color: white;
    /* padding: 30px; */
    display: flex;
    flex-direction: column;
    position: relative;
    width: 50%;
    justify-content: center;
    align-items: center;
}

.right-panel {
    flex: 1;
    background-color: white;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


/* Header Logos */
.header-logos {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    min-width: 350px;
    max-width: 60%;
    width: 100%;
}

.pfd-logo {
    width: 180px;
    height: auto;
}

.ec-logo {
    width: 120px;
    height: auto;
}

#survey-page .header-logos {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 auto;
    max-width: 1000px;
    padding: 20px;
}

#survey-page .pfd-logo {
    width: 231px;
    height: auto;
}

#survey-page .ec-logo {
    width: 120px;
    height: auto;
}

#survey-page .mainHeader {
    background-color: #fff;
}

/* Map Background */
.world-map {
    /* position: absolute; */
    bottom: 5%;
    left: 50%;
    /* transform: translateX(-50%); */
    width: 90%;
    height: auto;
    opacity: 0.7;
    margin-top: 40px;
}

/* Main Title */
.main-title {
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    z-index: 2;
    position: relative;
    margin-bottom: 40px;
    padding: 0 20%;
}


/* Auth Tabs */
.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-radius: 14px;
    overflow: hidden;
    padding: 5px;
    background-color: #2e2a77;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 1rem;
    cursor: pointer;
    border: 1px solid #2d2a77;
    border-radius: 8px;
}

.auth-tab.active {
    background-color: #ffffff;
    color: #e67e23;
}

.auth-tab:not(.active) {
    background-color: #2e2a77;
    color: #ffffff;
}

/* Footer */
.footer {
    margin-top: 50px;
    text-align: center;
    padding: 1rem;
    color: #777;
    display: flex;
    gap: 10px;
    align-items: top;
    justify-content: center;
}

.language-selector {
    background-color: #e3e3e3;
    color: white;
    padding: 5px 10px;
}

.language-selector-label {
    font-size: 0.9rem;
    color: #333;
}

.language-selector-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    /* margin-top: 10px; */
    position: absolute;
    top: -15px;
    right: 15px;
}

.language-selector select {
    border: none;
    background: transparent;
    font-size: 0.9rem;
    color: #333;
}

/* Progress Bar */
.progress-container {
    background-color: #eee;
    padding: 10px;
    /* margin-bottom: 10px; */
    text-align: center;
}

.progress-label {
    /* margin-bottom: 0.5rem; */
    color: #777;
    font-weight: bold;
}

.progress-bar {
    height: 10px;
    background-color: #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background-color: #e67e22;
    width: 50%;
    /* Adjust based on progress */
}

/* Dashboard Styles */
.welcome-header {
    font-size: 1.4rem;
    /* margin-bottom: 0.7rem; */
    color: #e67e22;
}

.dashboard-header {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #2d2a77;
}

.dashboard-card.disabled {
    position: relative;
    border: 1px solid #ddd;
    background-color: white;
}

.dashboard-card.disabled .card-content,
.dashboard-card.disabled .card-icon {
    opacity: 0.4;
    pointer-events: none;
}

.dashboard-card .progress-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: #f39c12;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    z-index: 2;
}


.dashboard-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: box-shadow 0.3s;
    cursor: pointer;
}

.dashboard-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-content {
    flex: 1;
    text-decoration: none;
}

.card-title {
    color: #2d2a77 !important;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.card-text {
    color: #777;
}

.card-icon {
    width: 40px;
    height: 40px;
    color: #e67e22;
}

/* Form Elements */
.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
    width: 100%;
}

.sectionHeader {
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d7d7d7;
}

.sectionHeader .subtitle {
    margin-bottom: 0 !important;
}


.form-section-title {
    font-size: 24px;
    margin-top: 0;
    color: #2e2a77;
}

.radio-group {
    display: flex;
    gap: 2rem;
}

.radio-group.flexCol {
    flex-direction: column !important;
    gap: 0px !important;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.number-input-container {
    display: flex;
    align-items: center;
}

.number-input {
    /* width: 80px; */
    /* text-align: center; */
}

.number-controls {
    display: flex;
    flex-direction: column;
    margin-left: 0.5rem;
}

.number-control-btn {
    background: #ddd;
    border: none;
    padding: 2px 5px;
    cursor: pointer;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    /* margin-top: 2rem; */
    position: fixed;
    bottom: 0;
    max-width: 1000px;
    width: 100%;
    /* margin-bottom: 94px; */
    background-color: rgb(234 234 234 / 80%);
    padding: 20px;
    border-top: 1px solid #edeaea;
    /* border-top ad shadow, i want this shadow from white to transparent */
    box-shadow: 0px -20px 20px 0px rgba(255, 255, 255, 0.5);
    z-index: 1000;
}

.btn-secondary {
    background-color: #ddd;
    color: #333;
}

.btn-secondary:hover {
    background-color: #ccc;
}

/* .btn-third */
.btn-third {
    background-color: #3562b7 !important;
    color: white !important;
}

.btn-third:hover {
    background-color: #1a1a4d;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #e67e22;
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.terms-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.terms-text a {
    color: #e67e22;
    text-decoration: none;
}

.btn {
    border: none;
    padding: 12px 20px;
    border-radius: 24px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s !important;
    width: 100%;
    /* margin-top: 10px; */
}

.btn-primary {
    background-color: #e67e22;
    color: white;
    border-color: unset !important;
    min-width: 200px;
}

.btn-primary:hover {
    background-color: #d35400;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

input.pwMask {
    -webkit-text-security: disc;
}

.forgot-password {
    text-align: left;
    margin-bottom: 1.5rem;
}

.forgot-password a {
    color: #e67e22;
    text-decoration: none;
}


.step {
    display: none;
}

.step.active {
    /* display: block; */
}

p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.3;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333
}

.code-container {
    display: flex;
    margin-bottom: 20px;
}


.breadcrumb-custom {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: white;
}

.breadcrumb-custom li {
    position: relative;
}

.breadcrumb-custom li+li::before {
    content: ">";
    margin: 0 6px;
    color: #ccc;
}

.breadcrumb-custom a {
    color: #a8c6ff;
    text-decoration: none;
}

.breadcrumb-custom a:hover {
    text-decoration: underline;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.checkbox-group,
.radio-group {
    margin-top: 5px;
}

.checkbox-option,
.radio-option {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.checkbox-option input,
.radio-option input {
    margin-right: 10px;
}

.checkbox-option label,
.radio-option label {
    font-weight: normal;
    margin-bottom: 0;
}

.thematic-area-group {
    margin-bottom: 20px;
}

.thematic-area-cat {
    /* font-weight: bold; */
    cursor: pointer;
    color: #2d2a77;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thematic-area-cat-holder {
    /* font-weight: bold; */
    cursor: pointer;
    color: #2d2a77;
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    align-items: center;
}

.thematic-area-cat label {
    margin: 0;
    font-weight: inherit;
    color: inherit;
}

.thematic-area-cat:hover {
    color: #e67e22;
}

.thematic-area-cat::before {
    /* content: "•";
    margin: 0 1px; */
}

.thematic-area-sub-items {
    margin-left: 25px;
}

.RegionTitle {
    font-weight: bold;
    margin-bottom: 10px;
    cursor: pointer;
}

.RegionTitle:hover {
    color: #007bff;
}

.RegionTitle::before {
    content: "- ";

    margin-right: 3px;
}



.RegionTitle.active~.country-container {
    display: block;
}

.country-container {
    margin-left: 20px;
    display: none;
}

.partner-section .partnerTitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid #f3f4f6;
    width: 100%;
    cursor: pointer;
    flex-wrap: wrap;
}

.partner-section .fa-users {
    color: #2d2a77;
}

.fa-circle {
    font-size: 10px;
}

.readonly {
    pointer-events: none;
}

.partner-locked .form-group input,
.partner-locked .form-group select,
.partner-locked .form-group textarea,
.partner-locked .form-group .bootstrap-tagsinput {
    pointer-events: none;
}

/* Lock interaction */
.partner-locked input:not(.noLock),
.partner-locked select:not(.noLock),
.partner-locked textarea:not(.noLock),
.partner-locked .bootstrap-tagsinput:not(.noLock),
.pointer-events-none {
    pointer-events: none;
    opacity: 0.6;
    background-color: #cdcdcd;
    border-color: #939393;
    accent-color: #9e9e9e;
    filter: grayscale(100%);
    filter: grayscale(100%) brightness(0.85);
    cursor: not-allowed;
}

/* Keep unlocked elements active */
.partner-locked .noLock {
    pointer-events: auto !important;
    opacity: 1 !important;
    background-color: initial;
    border-color: initial;
    accent-color: initial;
    filter: none !important;
    cursor: auto;
}


.PartnerName {
    color: #2d2a77;
    font-size: 16px;
}

.SubmitDuplicateBtn {
    background: #3b82f6;
    color: white;
}

.add-partner-btn {
    background: #3b82f6;
    color: white;
}

.inviteall-btn {
    background: #e67e23;
    color: white;
}

.blueBtn {
    background: #3b82f6;
    color: white;
}

.mybtn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.locked-icon {
    color: #e62323;
    border: 1px solid #ccc;
    border-radius: 50%;
    padding: 6px;
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partners {
    margin-left: 15px;
}

.SubmitDuplicateBtn:hover {
    background-color: #2563eb;
}

.add-partner-btn:hover {
    background-color: #2563eb;
}

.next-btn {
    background: white;
    color: #6b7280;
    border: 1px solid #d1d5db;
    position: absolute;
    top: 15px;
    right: 10px;
}

.next-btn:hover {
    background-color: #2563eb;
}

.cancel-duplicate-btn {
    background: white;
    color: #6b7280;
    border: 1px solid #d1d5db;
    position: absolute;
    top: 15px;
    right: 10px;
}

.cancel-duplicate-btn:hover {
    color: #c0392b;
}

.details-partner-btn {
    background: white;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.details-partner-btn:hover {
    color: #2980b9;
}

.details-country-btn {
    background: white;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.details-country-btn:hover {
    color: #2980b9;
}

.remove-country-btn {
    background: white;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.remove-country-btn:hover {
    color: #c0392b;
}

.remove-partner-btn {
    background: white;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.remove-partner-btn:hover {
    color: #c0392b;
}

.duplicate-partner-btn {
    background: white;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.duplicate-partner-btn:hover {
    color: #2980b9;
}



.country-list {
    margin-bottom: 20px;
}

.region-container {
    margin-bottom: 20px;
}

.country-container {
    margin-left: 25px;
    margin-bottom: 15px;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.required-field::after {
    content: "*";
    color: #e74c3c;
    margin-left: 4px;
}

.partner-form {
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 5px;
    margin-top: 7px;
    border: 1px dashed #bedaf1;
}

.country-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background-color: #e3f2fd; */
    padding: 7px 10px;
    /* border-radius: 5px; */
    margin-bottom: 15px;
    cursor: pointer;
    flex-wrap: wrap;

    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.country-header .countryTitle {
    margin: 0;
    color: #2d2a77;
}

.partner-count {
    display: inline-block;
    background-color: #2d2a77;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    font-size: 14px;
    margin-left: 10px;
}

.container {
    width: 100% !important;
    max-width: 100% !important;
    background-color: #FFF !important;
}

.left-panel-content {
    flex: 1;
    background-color: #2d2a77;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.right-panel-content {
    flex: 1;
    background-color: white;
    padding: 30px;
    display: flex;
    flex-direction: column;
    max-width: 60%;
    min-width: 500px;
    justify-content: center;
    position: relative;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.map-canvas-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

small {
    font-size: 0.9rem !important;
    color: #666 !important;
}

.subtitle {
    font-size: 16px;
    margin-bottom: 1rem;
    color: #666;
    font-family: 'Arial', sans-serif;
}

.form-section {
    padding: 30px;
    padding-bottom: 90px;
}

.wizard-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
    position: relative;
}

.step-line {
    position: absolute;
    top: 50%;
    left: 66px;
    height: 2px;
    background-color: #e57e23;
    z-index: 1;
    width: 200px;
}

.step {
    width: 120px;
    /* height: 40px; */
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* font-weight: bold; */
    background-color: #ebeaf1;
    color: white;
    margin: 0 40px;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step.active {
    background-color: #ebeaf1;
}

.step:hover .step-circle {
    background-color: #2e2a77;
    color: #FFF;
}

.status-container {
    display: flex;
    justify-content: center;
    /* margin-top: 5px; */
    /* margin-bottom: 15px; */
}

.status {
    width: 120px;
    text-align: center;
    margin: 0 40px;
    font-size: 14px;
    /* font-weight: bold; */
}

.complete {
    color: green;
}

.incomplete {
    color: red;
}

.section-status {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-100%);
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}

/* Initialize the counter */
body {
    counter-reset: label-counter;

}

/* Increment the counter on ALL labels */
.form-section .form-group>label {
    counter-increment: label-counter;
}

/* Only show the number on labels not hidden */
.form-section .form-group>label:not(.hide)::before {
    content: counter(label-counter) ". ";
    font-weight: bold;
}


.partner-section {
    counter-reset: partner-counter;
}

.partner-section .form-group>label {
    counter-increment: partner-counter;
}

.partner-section .form-group>label:not(.hide)::before {
    content: counter(partner-counter) ". ";
}

.incomplete-field {
    border: 2px solid red !important;
    border-radius: 4px;
}

.bootstrap-select.incomplete-field>.dropdown-toggle {
    border: 2px solid red !important;
    border-radius: 4px;
}


/* popup survey code */
/* Survey Code Button and Popup Styling */
.select-member-group .input-group {
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.select-member-group .bootstrap-select-wrapper {
    flex: 1 1 auto;
    width: 100%;
}

.select-member-group .bootstrap-select {
    width: 100% !important;
}

.input-group-append {
    margin-left: 10px;
    display: flex;
    align-items: flex-start;
    position: relative;
}

#survey-code-btn {
    height: 38px;
    white-space: nowrap;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#survey-code-btn:hover {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

/* Custom Popup Styling */
.survey-code-popup {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
    margin-top: 10px;
    border: 1px solid #e9ecef;
    animation: fadeIn 0.3s;
}

.survey-code-popup:before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 16px;
    height: 16px;
    background-color: #fff;
    transform: rotate(45deg);
    border-left: 1px solid #e9ecef;
    border-top: 1px solid #e9ecef;
}

.survey-code-popup.show {
    display: block;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    background-color: #f8f9fa;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.popup-header h5 {
    margin: 0;
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.close-popup {
    font-size: 24px;
    font-weight: 700;
    color: #6c757d;
    cursor: pointer;
    line-height: 1;
}

.close-popup:hover {
    color: #343a40;
}

.popup-body {
    padding: 15px 20px;
}

.popup-body p {
    margin-bottom: 15px;
    color: #6c757d;
    font-size: 14px;
}

.popup-body .form-group {
    margin-bottom: 10px;
}

.popup-body label {
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
    font-size: 14px;
}

#survey-code-input {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 8px 12px;
    width: 100%;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#survey-code-input:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

.error-message {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.popup-footer {
    padding: 0 20px 15px;
    text-align: right;
}

.popup-footer .btn {
    font-weight: 500;
    padding: 6px 14px;
    font-size: 14px;
}

/* Success indicator */
.code-applied-success {
    color: #28a745;
    font-weight: 500;
    margin-top: 5px;
    display: none;
}

.code-applied-success.visible {
    display: block;
    animation: fadeIn 0.5s;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Spinner for loading state */
.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: text-bottom;
    border: 0.2em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border .75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .select-member-group .input-group {
        flex-direction: column;
    }

    .select-member-group .input-group-append {
        margin-left: 0;
        /* margin-top: 10px; */
        width: 100%;
    }

    #survey-code-btn {
        width: 100%;
    }

    .survey-code-popup {
        width: 100%;
        left: 0;
        right: 0;
    }
}

@media (max-width: 1200px) {
    /*  .language-selector-label {
        display: none;
    } */
}

.form-navigation .button-container {
    display: flex;
    gap: 10px;
}

.countryButtons {
    display: flex;
    gap: 10px;
}

.email-verification-error,
.password-error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
}

.orgEmailSignup {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    margin-top: 20px;
}

#signupFieldsDiv:not(.active) {
    opacity: 0.3;
    pointer-events: none;
}

#signupFieldsDiv:not(.active) input,
#signupFieldsDiv:not(.active) button {
    cursor: not-allowed;
}

#signupFieldsDiv.active {
    opacity: 1;
    pointer-events: auto;
}

#code-result {
    display: none;
    color: #2d2a77 !important;
    margin-top: 15px;
}

.form-navigation {
    outline: none !important;
    user-select: none;
}

.msgBox {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
}

.msgBox.danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.msgBox.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}


.black-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
}

.duplicate-partner-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
}

/* Saving Loading */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    border: 8px solid rgba(255, 255, 255, 0.2);
    border-top: 8px solid #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

.loading-text {
    color: #fff;
    margin-top: 10px;
    font-size: 16px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

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

.loading-overlay p {
    color: #fff;
    font-size: 16px;
    margin-top: 10px;
    text-align: center;
}

/* End Saving Loading */
.pointer-events-none-parent {
    cursor: not-allowed !important;
}

.pointer-events-none-parent input {
    cursor: not-allowed !important;
}

/* Section 2 */
.country-partner-section {
    margin-bottom: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    font-size: 18px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #007bff;
}

.flash {
    background-color: #ffff00 !important;
    /* Change this color as needed */
}

.no-select {
    user-select: none;
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE10+/Edge */
}


.important-note {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-left: 4px solid #ffc107;
    color: #856404;
    padding: 16px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.important-note::before {
    content: "ℹ️";
    font-size: 16px;
    margin-right: 8px;
    vertical-align: middle;
}

.important-note .asterisk {
    color: #e74c3c;
    font-weight: bold;
    font-size: 16px;
}

/* this important link look in blue colors */
.important-note1 {
    background-color: #e7f3ff;
    border: 1px solid #90caf9;
    border-left: 4px solid #90caf9;
    color: #0d47a1;
    padding: 16px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.important-note1::before {
    content: "ℹ️";
    font-size: 16px;
    margin-right: 8px;
    vertical-align: middle;
}

.important-note1 .asterisk {
    color: #e74c3c;
    font-weight: bold;
    font-size: 16px;
}

/* EXCEL BOX */
.excel-upload-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 24px;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.excel-upload-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.excel-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 24px;
}

.excel-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.excel-icon-wrapper:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.3);
}

.excel-icon {
    width: 48px;
    height: 48px;
    fill: white;
}

.excel-text-content {
    flex: 1;
    color: white;
}

.excel-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.excel-badge {
    background: rgba(255, 255, 255, 0.25);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.excel-description {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 16px;
    color: #FFF;
}

.excel-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.excel-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.excel-download-btn {
    background: white;
    color: #667eea;
}

.excel-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
}

.excel-upload-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.excel-upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
}

.download-icon,
.upload-icon {
    width: 16px;
    height: 16px;
}

.download-icon {
    fill: #667eea;
}

.upload-icon {
    fill: white;
}

/* Hidden file input */
.excel-file-input {
    display: none;
}

/* File upload status */
.upload-status1 {
    margin-top: 12px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    align-items: center;
    gap: 8px;
    max-height: 250px;
    overflow-y: auto;
}

.upload-status {
    margin-top: 12px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    display: none;
    align-items: center;
    gap: 8px;
    max-height: 250px;
    overflow-y: auto;
}

.upload-status.success {
    background: rgba(76, 175, 80, 0.3);
    border: 1px solid rgba(76, 175, 80, 0.5);
    display: flex;
}

.upload-status.error {
    background: rgba(244, 67, 54, 0.3);
    border: 1px solid rgba(244, 67, 54, 0.5);
    display: flex;
}

.status-icon {
    width: 16px;
    height: 16px;
    fill: white;
}

@media (max-width: 640px) {
    .excel-content {
        flex-direction: column;
        text-align: center;
    }

    .excel-title {
        justify-content: center;
        flex-wrap: wrap;
    }

    .excel-buttons {
        justify-content: center;
    }
}


/* Invitation drop down */
.invite-container {
    position: relative;
    display: inline-block;
}

.invite-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 16px;
    background-color: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #333;
}

.invite-button:hover {
    background-color: #f8f8f8;
    border-color: #b0b0b0;
}

.invite-button.active {
    background-color: #f0f0f0;
    border-color: #999;
}

.arrow-icon {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid #666;
    transition: transform 0.2s ease;
}

.invite-button.active .arrow-icon {
    transform: rotate(180deg);
}

.invite-text {
    font-weight: 500;
}

.invite-code {
    color: #666;
    font-weight: 400;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    min-width: 200px;
    background-color: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
    overflow: hidden;
}

.dropdown-menu.show {
    display: block;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f8f8f8;
}

.dropdown-item:active {
    background-color: #e8e8e8;
}


/* FindOrgResults */
.orgFindResults {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 9999;

    background: #fff;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);

    max-height: 280px;
    overflow: auto;

    padding: 6px;
}

.form-group {
    position: relative;
}

/* important for absolute dropdown */

.orgFindResults.hide {
    display: none;
}

.orgFindResults .orgFindItem {
    display: flex;
    gap: 10px;
    align-items: center;

    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
}

.orgFindResults .orgFindItem:hover,
.orgFindResults .orgFindItem.active {
    background: rgba(0, 0, 0, .06);
}

.orgFindResults .orgFindItem .orgName {
    font-weight: 600;
    line-height: 1.2;
}

.orgFindResults .orgFindItem .orgMeta {
    font-size: 12px;
    opacity: .7;
}

.orgFindResults .orgFindStatus {
    padding: 10px 12px;
    font-size: 13px;
    opacity: .75;
}

.orgFindResults .orgFindStatus.loading::after {
    content: " …";
}

.orgSelected {
    border-color: #667eea !important;
    border-width: 2px !important;
}

.bootstrap-select .dropdown-menu.inner {
    overflow: auto !important;
}

.research-description-link-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid #dce3ec;
    padding: 10px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.research-description-link-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.deleteResearch{
    background: rgb(225 218 217 / 50%);
    color: #e74c3c;
    cursor: pointer;
    font-size: 14px;
    padding: 3px 10px;
    border: 1px solid #cecece;
    border-radius: 7px;
}

.deleteResearch:hover {
    background: rgb(225 218 217);
    border-color: #e74c3c;
}