﻿#headerTopRow {
    display: flex;
    justify-content: space-between;
    font-size: 25px;
    align-items: center;
    height: 60px;
}

#headerTopRow p {
    margin: 0;
}

#headerDate {

}

#headerWelcomeText {

}

#headerBottomRow {
    display: flex;
    gap: 5px;
    padding-top: 20px;
    height: 70px;
    position: absolute;
    z-index: 100;
    left: 50%;
    transform: translate(-50%, 0);
    top: 134px;
}

.headerBtn {
    height: 50px;
    border: 0;
    width: 300px;
    font-size: 23px;
}

.headerBtnActive {
    background-color: #c0dc3b;
    height: 62px;
}


#logoutIcon {
    width: 30px;
    margin: 5px;
}

a {
    color: black;
    text-decoration: none;
}

#logoutLink {
    display: flex;

}

#sdMainContainer {
    width: 100%;
    display: flex;
    gap: 10px;
    margin-top: 70px;
}

.sdPanel {
    background-color: #f6f6f6;
    padding: 40px;
    display: flex;
    justify-content: center;
}

#sdMainContainerColumn1 {
    width: 60%;
}

#sdMainContainerColumn2 {
    width: 40%;
    flex-direction: column;
    justify-content: flex-start;
}

#sdStatsPanel {
    background-color: white;
    margin: 0px;
    border: 1px solid black;
    padding: 20px;
}

#sdStatsPanelTotalContainer {
    margin-bottom: 20px;
}

#sdCampaignGoalPercentsContainer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.progressPanelTitle {
    font-size: 20px;
}

.progressPanelDesc {
    margin: 0;
    font-size: 14px;
}

#sdStatsContainer {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sdStatRow {
    display: flex;
    justify-content: space-between;
}

.sdStatRowArrow {
    font-size: 20px;
}

.sdStatRowCircle {
    width: 40px;
    height: 40px;
    background-color: #c0dc3b;
    border-radius: 100px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
}

.sdStatRowLabel {
    width: 30%;
}

#sdMainContainerColumn1 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#mainButtonsPanel {
    display: flex;
    gap: 20px;
}

.sdMainButton {
    display: flex;
    background-color: white;
    padding: 15px;
    align-items: center;
    gap: 20px;
    border: 1px solid #777777;
    min-width: 280px;
}

.sdMainBtnLabel {

}

.sdMainBtnIcon {
    background-color: #c0dc3b;
    height: 80px;
    width: 80px;
    border-radius: 100%;
}

.sdMainBtnIconText {
    color: white;
    font-size: 70px;
    line-height: 70px;
}

.sdAlertButton {
    display: flex;
    background-color: white;
    padding: 15px;
    align-items: center;
    gap: 20px;
    border: 2px solid #f21627;
    min-width: 280px;
}

.sdAlertBtnLabel {
}

.sdAlertBtnIcon {
    background-color: #f21627;
    height: 35px;
    width: 35px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sdAlertBtnIconText {
    color: white;
    font-size: 20px;
    line-height: 20px;
}

#alertsPanel {
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

#sdAlertsContainer {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.sdSectionTitle {
    font-weight: bold;
    font-size: 18px;
}

#quickActionsPanel {
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

#sdQuickActionsContainer {
    display: flex;
    justify-content: center;
    gap: 20px;
}


.sdQuickActionButton {
    border: 2px solid #c0dc3b;
    background-color: white;
    padding: 20px;
    min-width: 280px;
}

#editCampaignModalContent {
    width: 1350px;
    margin:  100px auto;
    max-width: 1350px;
}

.createCampaignModalColumn {
    background-color: #eeeeee;
}

#createCampaignModalColumn1 {
    min-width: 300px;
    max-width: 300px;
    position: fixed;
    height: 90%;
    overflow: scroll;
}


#editCampaignModalBody {

}

#editCampaignModalHeader {
    margin: auto;
    border-bottom: 0;
}

#createCampaignModalColumn1Title {
    font-weight: bold;
    width: 100%;
    text-align: center;
    font-size: 20px;
    margin-top: 10px;
}

.createCampaingInput {
    width: 90%;
    margin: auto;
}

#editCampaignModalContentRoot {
    max-width: 2000px;
}


.multiselect-native-select .btn-group {
    width: 100%;
    height: 4rem;
}

.multiselect-label {
    opacity: .65;
    transform: scale(.85) translateY(-.5rem) translateX(.15rem);
}

#campaignTypeMultiselectButton {
    text-align: right !important;
    padding-top: 1.625rem;
    padding-bottom: .625rem;
}

.centeredTitle {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
}

.modalBigButton {
    border: 1px solid black;
    height: 240px;
    width: 190px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    text-align: center;
    align-items: center;
    gap: 20px;
}

.modalBigButton div {
    background-color: #c0dc3b;
    width: 100px;
    height: 100px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modalBigButton span {
    width: 100px;
}

.modalBigButton svg {
    width: 50px;
    height: 50px;
}

.createCampaingAddModeSelectButtons {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.editCampaignAddNewModalRoot {
    max-width: 800px;
}

.createCampaingNewInputs {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.createCampaingNewInputs input {
    width: 330px;
}

.createCampaingNewSaveButtons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 10px 0;
}

.createCampaingNewSaveButtons button {
    background-color: #95c11f;
    color: white;
    border: 0;
    padding: 10px 20px;
    border-radius: 40px;
    width: 200px;
}

#promotersContainer {

}

.itemsContainer {
    background-color: #fafafa;
    width: 98%;
    margin: auto;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.promoterEntry {
    margin: 0;
    padding: 2px 10px;
    background-color: #ff9999;
    font-weight: bold;
    color: white;
    display: inline-block;
    user-select: none;
    font-size: 14px;
    border-radius: 20px;
}

.locationEntry {
    margin: 0;
    padding: 5px 10px;
    background-color: #ff9999;
    font-weight: bold;
    color: white;
    display: inline-block;
    user-select: none;
    border-radius: 100px;
}

.managerEntry {
    margin: 0;
    padding: 5px 10px;
    background-color: #ff9999;
    font-weight: bold;
    color: white;
    display: inline-block;
    user-select: none;
    border-radius: 100px;
}


.dateCell {
    border: 1px solid #bcbcbc;
    background-color: white;
    min-height: 200px;
    width: 235px;
    padding: 5px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    border-radius: 4px;
}

.dateCell p {
    margin: 0;
}

#createCampaignModalColumn2 {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    padding: 10px;
    align-content: flex-start;
    justify-content: flex-start;
    overflow: scroll;
    overflow-x: hidden;
    width: 1010px;
    position: absolute;
    margin-right: 310px;
}

.locationInCalendar {
    width: 100%;
    text-align: center;
    position: relative;
    border: 1px solid #ebebeb;
    border-top: 1px dashed black;
    background-color: #fafafa;
    border-radius: 6px;
    padding: 3px;
}

.locationInCalendar span {
    display: block;
    width: 100%;
    border-radius: 15px;
    margin-top: 5px;
    color: white;
    font-weight: bold;
    padding: 3px;
}

.locationInCalendarPromotersContainer {
    min-height: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 5px;
}

.removeLocationFromDateCellBtn {
    position: absolute;
    left: 7px;
    top: 12px;
    padding: 0px 5px;
    padding-bottom: 3px;
    line-height: 17px;
    font-size: 17px;
    border: 0;
    background-color: #00000055;
    color: white;
    border-radius: 100px;
    font-weight: bold;
}

.allCampaignLinkedEntriesModalAddedContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.addedCampaignLinkedEntry {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 100px;
    padding: 5px;
    padding-inline-start: 10px;
    color: white;
}

.addedPromoterTable {
    border-radius: 100px;
    color: white;
    padding: 3px 15px;
}

.addedCampaignLinkedEntry button {
    border: 0;
    background-color: #cc0000;
    color: white;
    font-weight: bold;
    font-size: 13px;
    line-height: 13px;
    margin: 4px;
    padding: 0;
    width: 20px;
    height: 20px;
    border-radius: 100px;
}

.addedPromoterColor1 {
    background-color: #cc3b88;
}

.addedPromoterColor2 {
    background-color: #bc297d;
}

.addedPromoterColor3 {
    background-color: #a92c8f;
}

.addedPromoterColor4 {
    background-color: #ae41a3;
}

.addedPromoterColor5 {
    background-color: #b15ed3;
}

.addedPromoterColor6 {
    background-color: #6f5cdc;
}

.addedPromoterColor7 {
    background-color: #5781f3;
}

.addedPromoterColor8 {
    background-color: #3fbff7;
}

.addedPromoterColor9 {
    background-color: #02e5e9;
}

.addedPromoterColor10 {
    background-color: #02e5e9;
}

.addedLocationColor1 {
    background-color: #ffb902;
}

.addedLocationColor2 {
    background-color: #ff9002;
}

.addedLocationColor3 {
    background-color: #ff7a07;
}

.addedLocationColor4 {
    background-color: #ff3302;
}

.addedManagerColor1 {
    background-color: #3bcc88;
}

.addedManagerColor2 {
    background-color: #34bdc9;
}

.addedManagerColor3 {
    background-color: #2ca98f;
}

.addedManagerColor4 {
    background-color: #41aea3;
}


#allPromotersModalBottomButtonsContainer {

}

.allCampaignLinkedEntriesModalContentRoot {
    width: 1200px;
    min-width: 1200px;
}

.allPromotersModalTopButtonsContainer {
    display: flex;
    gap: 10px;
}

.allPromotersModalTopButtonsContainer button {
    background-color: #95c11f;
    border: 0;
    padding: 10px;
    border-radius: 100px;
    color: white;
    display: flex;
    gap: 10px;
    display: flex;
    align-items: center;
}

.allCampaignLinkedEntriesButtonsContainer {
    display: flex;
    gap: 10px;
}

.allCampaignLinkedEntriesButtonsContainer button {
    background-color: #95c11f;
    border: 0;
    padding: 10px;
    border-radius: 100px;
    color: white;
    display: flex;
    gap: 10px;
    display: flex;
    align-items: center;
}

.allCampaignLinkedEntryAddedRow {
    background-color: #faffe2 !important;
}

.promotersCell {
    position: relative;
}

.promotersAssignBtn {
    position: absolute;
    top: 5px;
    inset-inline-end: 5px;
}

.promoterNameEntry {
    width: 100px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: inline-flex;
    margin-bottom: 10px;
}

#campaignDashboardRootContainer {
    display: flex;
    gap: 10px;
}

.createCampaignModalColumn {
    background-color: #eeeeee;
    padding: 10px;
}

.multiselect-label {
    opacity: .65;
    transform: scale(.85) translateY(-.5rem) translateX(.15rem);
}

.promoterRowActionsContainer button {
    margin-left: 10px;
}

.promoterRowActionsContainer button:nth-child(3n+0) {
    background-color: #008a89 !important;
    border: 0;
}

.promoterRowActionsContainer button:nth-child(3n+1) {
    background-color: #008b5e !important;
    border: 0;
}

.promoterRowActionsContainer button:nth-child(3n+2) {
    background-color: #2f4858 !important;
    border: 0;
}

#batchAddRes {
    display: flex;
    gap: 20px;
}

#batchAddRes span {
    background-color: #d0eb8299;
    padding: 5px 15px;
    border-radius: 25px;
}

/* Tooltip shown when hovering promoter entries in campaign dashboard */
#promoterTooltip {
    position: absolute;
    display: none;
    z-index: 2000;
    padding: 6px 8px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    font-size: 13px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 200ms ease, transform 200ms ease;
}

#promoterTooltip.visible {
    opacity: 1;
    transform: translateY(0);
}

.modalOpener {
    padding: 0;
    height: 30px;
}

.baseDataSummaryLabel {
    font-size: 12px;
    font-weight: bold;
    padding-inline-end: 10px;
    margin-bottom: 1rem;
    margin: 0;
}

.baseDataSummaryValue {
    font-size: 14px;
    font-weight: normal;
}

#baseDataSummaryContainer {
    padding: 10px;
    background-color: #fafafa;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

