/* Impersonation banner: the Metronic header is position:fixed (top:0, z-index:100),
   so an in-flow banner is hidden behind it. Pin the banner above the header and push
   the fixed header + in-flow content down by the banner height while impersonating. */
:root {
  --impersonation-banner-height: 48px;
}

.impersonation-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001; /* above the fixed header (z-index: 100) */
  min-height: var(--impersonation-banner-height);
}

#kt_app_root.has-impersonation-banner .app-header {
  top: var(--impersonation-banner-height);
}

/* The sidebar is also position:fixed (top:0), so pin it below the banner too. */
#kt_app_root.has-impersonation-banner .app-sidebar {
  top: var(--impersonation-banner-height);
}

#kt_app_root.has-impersonation-banner #kt_app_page {
  padding-top: var(--impersonation-banner-height);
}

/* general
.pl-5 {
  padding-left: 5px;
}

.create-form-area {
  background-color: #f6f6f6;
  border: 2px dashed lightgray;
  border-radius: 4px;
  padding: 15px;
}

input[type="datetime-local"] {
  background-color: var(--socialMediaSelectCardBgColor);
  border: 1px solid var(--socialMediaSelectCardBorderColor);
  border-radius: 5px;
  padding: 8px;
  font-size: 14px;
}

input[type="datetime-local"]:focus {
  outline: none;
}

td {
  vertical-align: middle;
}

/*general*/
.centeringButton {
  padding: 10px;
  width: 300px;
  text-align: center;
  margin: 0 auto;
}

.m-5 {
  margin: 5px;
}

.m-10 {
  margin: 10px;
}

.ml-3 {
  margin-left: 3px ;
}

.mr-3 {
  margin-right: 3px ;
}

.ml-4 {
  margin-left: 4px ;
}

.ml-5 {
  margin-left: 5px ;
}

.mr-4 {
  margin-right: 7px ;
}

.ml-5 {
  margin-left: 10px ;
}

.mr-5 {
  margin-right: 10px ;
}

.cursor-pointer {
  cursor: pointer;
}


/* system */
.app-content {
  padding-top: 0px !important;
}

.app-container {
  padding-left: 0px !important;
}

/* socialmedia-connection */
.connectionTableHeader {
  font-weight: 600 !important;
  font-size: 14px !important;
}

.connectionTableRowBorder {
  border-bottom: 1px solid var(--tableRowBorderColor) !important;
}

/* socialmedia-createpost */
:root {
  --tableRowBorderColor: rgba(0, 0, 0, 0.1);
  --metronicGeneralColor: #fcfcfc;
  --socialMediaTabBgColor: #e0e0e0;
  --socialMediaSelectCardBorderColor: #e0e0e0;
  --socialMediaSelectCardBgColor: #ffffff;
  --socialMediaAllIconBgColor: #ffffff;
  --socialMediaAllIconTextColor: #000000;
  --socialMediaDeleteIconBgColor: #2c2c2c;
}

[data-bs-theme="dark"] {
  --tableRowBorderColor: rgba(255, 255, 255, 0.1);
  --metronicGeneralColor: #0f1014;
  --socialMediaTabBgColor: var(--bs-gray-300);
  --socialMediaSelectCardBorderColor: #2d2d2d;
  --socialMediaSelectCardBgColor: #15171c;
  --socialMediaAllIconBgColor: #000000;
  --socialMediaAllIconTextColor: #ffffff;
  --socialMediaDeleteIconBgColor: #d3d3d3;
}

.socialMediaCreateWarningBox {
  font-size: 12px;
  max-width: 475px;
  background-color: var(--metronicGeneralColor);
}

.socialMediaCreateWarningText {
  font-size: 12px;
}

.socialMediaCreateWarningContentLengthBox {
  position: absolute;
  padding: 0 5px;
  background-color: red;
  top: -5px;
  left: 0;
  border-radius: 8px;
  color: white !important;
}

.socialMediaCreateWarningIcon {
  background-color: #36d89b;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 5px;
  font-size: 12px;
  color: black;
}

.socialMediaImageDiv {
  display: flex;
  /* flex-direction: column; */
  overflow: none;
  padding: 10px 0 10px 10px;
  background-color: var(--metronicGeneralColor);
  min-width: 500px;
}

.socialMediaAddButton {
  position: absolute;
  right: 0;
  top: 0;
  color: white;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
  font-weight: bold;
  display: none;
  background-color: rgba(0, 123, 255, 1);
}

.socialMediaDeleteButton {
  position: absolute;
  right: 0;
  top: 0;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
  font-weight: bold;
  display: none;
  background-color: var(--socialMediaDeleteIconBgColor);
  color: var(--socialMediaAllIconBgColor);
}

.socialMediaImage:hover .socialMediaAddButton,
.socialMediaImage:hover .socialMediaDeleteButton,
.socialMediaImageDisabled:hover .socialMediaAddButton,
.socialMediaImageDisabled:hover .socialMediaDeleteButton,
.socialMediaSelected:hover .socialMediaAddButton,
.socialMediaSelected:hover .socialMediaDeleteButton {
  display: flex;
}

.socialMediaImage {
  padding: 9px;
  border: 1px solid var(--socialMediaTabBgColor);
  transition-duration: 200ms;
  border-radius: 50%;
  cursor: pointer;
  margin: 0 12.5px;
}

/* .socialMediaImage:not(:first-child):not(:last-child) {
  margin:0 12.5px;
} */

.socialMediaImageEnabledBorderBottom {
  width: 50px;
  height: 2px;
  margin-top: 7px;
  background-color: #36d99b;
  border-radius: 8px;
}

.socialMediaImageDisabledBorderBottom {
  width: 50px;
  height: 2px;
  margin-top: 7px;
  background-color: lightgray;
}

.socialMediaImageDisabled {
  padding: 9px;
  margin-right: 12.5px;
  border: 1px solid var(--socialMediaTabBgColor);
  height: 100%;
  border-radius: 50%;
  opacity: 0.3;
}

.socialMediaImage:hover {
  border: 1px solid var(--socialMediaTabBgColor);
  background-color: var(--socialMediaTabBgColor);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition-duration: 200ms;
  transition-property: background-color, box-shadow;
}

.socialMediaSelected {
  border: 1px solid var(--socialMediaTabBgColor);
  background-color: var(--socialMediaTabBgColor);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.socialMediaImage.selected:hover {
  border: 1px solid #b3b3b3;
  background-color: #b3b3b3;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.radioDiv {
  display: flex;
  align-items: center;
}

.radioDiv input[type="radio"] {
  margin-top: 9px;
  vertical-align: middle;
}

.radioDiv input[type="checkbox"] {
  margin-top: 9px;
  vertical-align: middle;
}

.radioLabel {
  margin-top: 10px !important;
}

/* .publishDiv {
	margin: 20px 0 0 0;
} */

.publishRadioDiv {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  height: 65px;
}

.scheduledDateDiv {
  margin-bottom: 15px;
  padding-top: 35px;
}

.postMediaContainer {
  margin-right: 7px;
}

.selectMediaDiv {
  margin-bottom: 20px;
}

.selectMediaContainer {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.selectMediaBox {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
}

.mediaBox {
  width: 100%;
  height: 100%;
  position: relative;
}

.previewImage,
.previewVideo {
  width: 100%;
  height: 100%;
}

.deleteButton {
  position: absolute;
  top: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 4px 8px;
  display: none;
  border-radius: 4px;
  cursor: pointer;
}

.selectMediaBox:hover .deleteButton {
  opacity: 1;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: 400;
}

.pinterestBoardDiv {
  width: 100%;
  max-height: 250px;
  overflow-y: auto;
  border: 1px solid var(--socialMediaSelectCardBorderColor);
  border-radius: 8px;
  transition: height 0.3s ease;
  background-color: var(--socialMediaSelectCardBgColor);
  position: relative;
  margin-bottom: 15px;
  max-width: 500px;
  min-height: 50px;
}

.pinterestListBoardDiv {
  padding: 5px 10px 12px 10px;
}

.pinterestCreateBoardDiv {
  position: sticky;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 35px;
  background-color: #4caf50;
  z-index: 1;
  display: flex;
}

.pinterestNewBoardButton {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  color: var(--socialMediaSelectCardBgColor);
  background-color: #4caf50;
  cursor: pointer;
}

.pinterestCreateBoardButton {
  width: 70%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  color: var(--socialMediaSelectCardBgColor);
  background-color: #4caf50;
  cursor: pointer;
}

.pinterestGoBackButton {
  width: 30%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  background-color: var(--socialMediaSelectCardBgColor);
  cursor: pointer;
}

.pinterestPreviewBoardDiv {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: -23px;
  left: 0;
  z-index: 0;
}

.pinterestPreviewBoardButton {
  font-size: 16px;
  margin-right: 1px;
  background-color: #ff3635;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  width: 15px;
  height: 18.5px;
  color: white;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 1;
  left: 0;
}

.selectSocialMediaDetailCloseButton {
  position: absolute;
  right: 0;
  border-left: 1px solid #e2e2e2;
  border-bottom: 1px solid #e2e2e2;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-bottom-left-radius: 8px;
  transition-duration: 500ms;
  font-size: 16px;
}

.selectSocialMediaDetailCloseButton:hover {
  color: var(--socialMediaAllIconTextColor);
  background-color: var(--socialMediaSelectCardBorderColor);
}

.pinterestPreviewBoardBox {
  text-align: center;
  background-color: var(--socialMediaSelectCardBgColor);
  border: 1px solid var(--socialMediaSelectCardBorderColor);
  border-radius: 8px;
  width: 75px;
  height: 20px;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding-left: 18px;
  padding-right: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selectSocialMediaDetailName {
  text-align: center;
  background-color: var(--socialMediaSelectCardBgColor);
  border: 1px solid var(--socialMediaSelectCardBorderColor);
  border-radius: 8px;
  width: 75px;
  height: 20px;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 0 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.linkedinPreviewBox {
  display: flex;
  justify-content: center;
  align-items: center;
}

.linkedinPreviewOrganizationDiv {
  position: absolute;
  bottom: 3px;
  right: 8px;
  border: 1px solid var(--socialMediaSelectCardBorderColor);
  background-color: #4989f5;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  color: white;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.linkedinPreviewBoardButton {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
}

.googleBusinessPreviewLocationDiv {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 3px;
  right: 8px;
  border: 1px solid var(--socialMediaSelectCardBorderColor);
  background-color: #4989f5;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  color: white;
  font-size: 12px;
}

.previewDiv {
  display: flex;
  justify-content: center;
  align-items: center;
}

.previewCard {
  margin-top: 10px;
  padding-bottom: 10px;
  border-radius: 8px;
  /* max-width: 400px; */
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.previewDate {
  width: 100%;
  text-align: right;
  font-weight: 500;
  color: gray;
}

.video-embed {
  width: 100%;
  max-height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.video-embed video {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  border-radius: 8px;
}

.previewTitle {
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 16px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: pre-wrap;
}

.previewContent {
  margin-top: 5px;
  font-weight: 500;
  font-size: 15px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: pre-wrap;
}

.previewNoTitle {
  margin-top: 10px;
  margin-bottom: 5px;
}

.previewNoContent {
  color: gray;
}

.selectMediaBox {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fileSelectBox {
  width: 60px;
  height: 60px;
  background-color: var(--socialMediaSelectCardBgColor);
  border: 2px dashed var(--socialMediaSelectCardBorderColor);
  color: lightgray;
  font-size: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.fileSelectBox:hover {
  transition: 500ms;
  border: 2px dashed var(--socialMediaTabBgColor);
  background-color: var(--socialMediaTabBgColor);
  color: #f6f6f6;
}

.selectMediaDiv.dragover {
  border: 2px dashed var(--socialMediaTabBgColor);
  border-radius: 8px;
  background-color: rgba(100, 100, 200, 0.06);
  padding: 8px;
  transition: background-color 0.2s;
}

.dragHint {
  font-size: 11px;
  color: lightgray;
  text-align: center;
  margin-top: 6px;
}

.mediaTypeBadge {
  position: absolute;
  top: 3px;
  left: 3px;
  font-size: 8px;
  font-weight: 700;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border-radius: 3px;
  padding: 1px 3px;
  pointer-events: none;
}

/* socialmedia-post */


/* ─── Instagram Mobile Preview ─── */

.ig-preview-wrapper {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.ig-schedule-badge {
  font-size: 12px;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 20px;
  padding: 4px 12px;
  align-self: flex-start;
}

.ig-post-card {
  width: 100%;
  background: #fff;
  border: 1px solid #dbdbdb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Header */
.ig-post-header {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  gap: 10px;
}

.ig-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ig-user-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ig-username {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.2;
}

.ig-post-time {
  font-size: 11px;
  color: #94a3b8;
}

.ig-more {
  font-size: 16px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 1px;
  cursor: default;
}

/* Media Area — natural aspect ratio, capped height */
.ig-media-area {
  position: relative;
  width: 100%;
  max-height: 520px;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ig-media-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
}

.ig-media-video-wrap {
  width: 100%;
  max-height: 520px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ig-media-video {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.ig-media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
}

/* Carousel */
.ig-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  z-index: 2;
}

.ig-carousel-prev { left: 8px; }
.ig-carousel-next { right: 8px; }

.ig-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}

.ig-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  transition: background 0.2s;
}

.ig-dot.active {
  background: #3897f0;
}

/* Action Bar */
.ig-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px 6px;
}

.ig-actions-left {
  display: flex;
  gap: 14px;
  align-items: center;
}

.ig-action-icon {
  width: 24px;
  height: 24px;
  color: #0f172a;
  cursor: default;
}

/* Caption */
.ig-caption-area {
  padding: 2px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ig-caption-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.ig-caption-text {
  font-size: 13px;
  color: #0f172a;
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.ig-caption-user {
  font-weight: 700;
  margin-right: 4px;
}

.ig-caption-empty {
  color: #94a3b8;
}
/* ─────────────────────────────── */


.preview-post-link-hover-bg {
  color: inherit !important;
  transition: background-color 0.2s ease-in-out;
  border-radius: 6px;
}

.preview-post-link-hover-bg :hover {
  background-color: #f6f6f6;
}


/* ═══════════════════════════════════════════════════════
   CROP & RESIZE MODAL
═══════════════════════════════════════════════════════ */

.crop-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crop-modal-box {
  background: #fff;
  border-radius: 14px;
  width: min(96vw, 860px);
  max-height: 95vh;
  overflow-y: auto;
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}

/* Header */
.crop-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.crop-modal-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.crop-close-btn {
  background: none;
  border: none;
  font-size: 18px;
  color: #94a3b8;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 6px;
  line-height: 1;
}
.crop-close-btn:hover { background: #f1f5f9; color: #0f172a; }

/* Presets area */
.crop-presets-area {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.crop-preset-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.crop-preset-group-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94a3b8;
}

.crop-preset-btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.crop-preset-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 7px 10px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  min-width: 60px;
}
.crop-preset-btn:hover { border-color: #94a3b8; background: #f1f5f9; }
.crop-preset-btn.active {
  border-color: #3b82f6;
  background: #eff6ff;
}

.preset-icon { font-size: 14px; }
.preset-label { font-size: 11px; font-weight: 600; color: #374151; }
.preset-ratio-label { font-size: 9px; color: #94a3b8; }

/* Viewport wrapper — centers and adds guideline border */
.crop-viewport-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0f172a;
  border-radius: 10px;
  padding: 12px;
}

.crop-viewport {
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  /* grid overlay for alignment */
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 33.33% 33.33%;
  flex-shrink: 0;
}

.crop-preview-img {
  position: absolute;
  user-select: none;
  -webkit-user-drag: none;
}

/* Zoom row */
.crop-zoom-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.crop-zoom-icon { font-size: 16px; }

.crop-zoom-slider {
  flex: 1;
  accent-color: #3b82f6;
  height: 4px;
  cursor: pointer;
}

.crop-zoom-value {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  min-width: 42px;
}

.crop-reset-btn {
  background: none;
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  font-size: 12px;
  padding: 4px 10px;
  cursor: pointer;
  color: #64748b;
}
.crop-reset-btn:hover { background: #f1f5f9; border-color: #94a3b8; }

/* Modal actions */
.crop-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
  border-top: 1px solid #f1f5f9;
}

.postDiv {
  padding: 0 0.75rem;
  padding-top: 100px;
}

.postCardDiv {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-top: 15px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
}

.postCardDetail {
  display: flex;
  width: 100%;
}

.postCardProcess {
  display: flex;
  flex-direction: column;
}

.postAllContentDiv {
  width: 70%;
  display: flex;
  padding: 0 10px;
}

.postMediaDiv {
  width: 150px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-right: 15px;
}

.postMediaImage,
.postMediaVideo {
  width: 120px;
  max-height: 80px;
  border-radius: 8px;
  object-fit: cover;
}

.postContentDiv {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* margin-bottom: 15px; */
}

.postContentTitle {
  font-size: 16px;
  font-weight: semibold;
}

.postContentDescription {
  font-size: 14px;
}

.postContentStats {
  font-size: 12px;
  color: #222;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.postSocialIconDiv {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 150px;
}

.postPostDate {
  font-size: 14px;
  color: #444;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  padding: 0 10px;
  white-space: nowrap;
}

.postInteractionDiv {
  font-size: 14px;
  color: #444;
  width: 160px;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.createPostNoMediaPlaceholder {
  height: 100%;
  width: 100%;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--socialMediaSelectCardBorderColor);
  border-radius: 8px;
  background-color: var(--socialMediaSelectCardBgColor);
  color: #999;
  font-size: 12px;
  text-align: center;
}

.publishedPostNoMediaPlaceholder {
  width: 120px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--socialMediaSelectCardBorderColor);
  border-radius: 8px;
  background-color: var(--socialMediaSelectCardBgColor);
  color: #999;
  font-size: 12px;
  text-align: center;
}

.postNoMediaPlaceholder {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--socialMediaSelectCardBorderColor);
  border-radius: 8px;
  background-color: var(--socialMediaSelectCardBgColor);
  color: #999;
  font-size: 12px;
  text-align: center;
}

.postIconButton {
  height: 30px;
  border: none;
  display: flex !important;
  cursor: pointer;
  border-radius: 4px;
  align-items: center !important;
  justify-content: center !important;
  background-color: var(--socialMediaTabBgColor) !important;
}

.createPostTabComponent {
  position: fixed;
  top: 100;
  /* width: 100%; */
  height: 70px;
}

.tabComponent {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: #fcfcfc;
}

/* socialmedia-publishedpost-table */
.socialMediaPublishedPostTable {
  table-layout: fixed;
  width: 100%;
  min-width: 750px;
}

.socialMediaPublishedPostTable thead {
  background-color: var(--metronicGeneralColor) !important;
}

.socialMediaPublishedPostTable tr {
  border-bottom: 1px solid var(--tableRowBorderColor) !important;
}

.socialMediaPublishedPostTable th {
  font-weight: bold !important;
}

.socialMediaPublishedPostTable th:nth-child(1),
.socialMediaPublishedPostTable td:nth-child(1) {
  width: 15%;
}

.socialMediaPublishedPostTable th:nth-child(2),
.socialMediaPublishedPostTable td:nth-child(2) {
  width: 15%;
}

.socialMediaPublishedPostTable th:nth-child(3),
.socialMediaPublishedPostTable td:nth-child(3) {
  width: 45%;
}

.socialMediaPublishedPostTable th:nth-child(4),
.socialMediaPublishedPostTable td:nth-child(4) {
  width: 17.5%;
}

.socialMediaPublishedPostTable th:nth-child(5),
.socialMediaPublishedPostTable td:nth-child(5) {
  width: 7.5%;
}

.socialMediaPublishedPostTable thead {
  position: sticky;
  top: 0;
  z-index: 10;
}

.socialMediaPublishedPostTable td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.socialMediaPublishedPostTableContainer {
  padding-bottom: 5px;
  overflow-y: auto !important;
}

.socialMediaActionButton {
  height: 27px !important;
  display: flex !important;
  font-size: 13px !important;
  align-items: center !important;
  justify-content: center !important;
}

.socialMediaLightButton {
  background-color: var(--socialMediaTabBgColor) !important;
}

/* socialmedia-scheduledpost-table */
.socialMediaScheduledPostTable {
  width: 100%;
  min-width: 750px;
}

.socialMediaScheduledPostTable thead {
  background-color: var(--metronicGeneralColor) !important;
}

.socialMediaScheduledPostTable tr {
  border-bottom: 1px solid var(--tableRowBorderColor) !important;
}

.socialMediaScheduledPostTable th {
  font-weight: bold !important;
}

.socialMediaScheduledPostTable th:nth-child(1),
.socialMediaScheduledPostTable td:nth-child(1) {
  width: 15%;
}

.socialMediaScheduledPostTable th:nth-child(2),
.socialMediaScheduledPostTable td:nth-child(2) {
  width: 15%;
}

.socialMediaScheduledPostTable th:nth-child(3),
.socialMediaScheduledPostTable td:nth-child(3) {
  width: 35%;
}

.socialMediaScheduledPostTable th:nth-child(4),
.socialMediaScheduledPostTable td:nth-child(4) {
  width: 15%;
}

.socialMediaScheduledPostTable th:nth-child(5),
.socialMediaScheduledPostTable td:nth-child(5) {
  width: 12.5%;
}

.socialMediaScheduledPostTable th:nth-child(6),
.socialMediaScheduledPostTable td:nth-child(6) {
  width: 7.5%;
}

.socialMediaScheduledPostTable thead {
  position: sticky;
  top: 0;
  z-index: 10;
}

.socialMediaScheduledPostTable td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.socialMediaScheduledPostTableContainer {
  overflow-y: auto !important;
}

/* socialmedia-post-header */
.headerComponent {
  position: fixed;
  background-color: #fcfcfc;
  z-index: 3;
  margin-top: 85px;
  padding: 0 1rem;
  display: flex;
  height: 20px;
}

.headerDiv {
  font-size: 14px;
  font-weight: 600;
  padding: 0 10px;
  white-space: nowrap;
  min-width: 120px;
}

.headerContentDiv {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

/* socialmedia-pagination */

.socialMediaPaginationDiv {
  bottom: 0;
  text-align: center;
  padding: 10px;
  background-color: var(--metronicGeneralColor) !important;
}

/* socialmedia-calendar  */
.todayButton:hover {
  color: var(--socialMediaAllIconTextColor) !important;
  background-color: var(--socialMediaTabBgColor) !important;
}

.calenderPostPreviewIcon {
  margin: 3px;
}

.cal-month-view .cal-header {
  text-align: center;
  font-weight: bolder;
  background-color: var(--metronicGeneralColor);
}

.cal-month-view .cal-header:hover {
  text-align: center;
  font-weight: bolder;
  background-color: var(--metronicGeneralColor) !important;
}

.cal-month-view .cal-header .cal-cell {
  padding: 5px 0;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  display: block;
  white-space: nowrap;
}

.cal-month-view .cal-header .cal-cell:hover {
  background-color: var(--metronicGeneralColor) !important;
}

.cal-month-view .cal-days {
  border: 1px solid;
  border-bottom: 0;
  color: var(--socialMediaAllIconTextColor);
}

.cal-month-view .cal-cell-top {
  min-height: 78px;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.cal-month-view .cal-cell-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.cal-month-view .cal-cell {
  float: left;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

.cal-month-view .cal-cell .cal-event {
  pointer-events: all !important;
}

.cal-month-view .cal-day-cell {
  min-height: 100px;
}

.cal-month-view .cal-day-cell:not(:last-child) {
  border-right: 1px solid;
}

[dir="rtl"] .cal-month-view .cal-day-cell:not(:last-child) {
  border-right: initial;
  border-left: 1px solid;
}

.cal-month-view .cal-days .cal-cell-row {
  border-bottom: 1px solid;
}

.cal-month-view .cal-day-badge {
  margin-top: 18px;
  margin-left: 10px;
  display: inline-block;
  min-width: 10px;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  border-radius: 10px;
}

.cal-month-view .cal-day-number {
  font-size: 1.2em;
  font-weight: 400;
  opacity: 0.5;
  margin-top: 15px;
  margin-right: 15px;
  float: right;
  margin-bottom: 10px;
}

.cal-month-view .cal-events {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  margin: 3px;
  line-height: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.cal-month-view .cal-event {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin: 2px;
}

.cal-month-view .cal-day-cell.cal-in-month.cal-has-events {
  cursor: pointer;
}

.cal-month-view .cal-day-cell.cal-out-month .cal-day-number {
  opacity: 0.1;
  cursor: default;
}

.cal-month-view .cal-day-cell.cal-today .cal-day-number {
  font-size: 1.9em;
}

.cal-month-view .cal-open-day-events {
  padding: 15px;
}

.cal-month-view .cal-open-day-events .cal-event {
  position: relative;
  top: 2px;
}

.cal-month-view .cal-out-month .cal-day-badge,
.cal-month-view .cal-out-month .cal-event {
  opacity: 0.3;
}

.cal-month-view .cal-draggable {
  cursor: move;
}

.cal-month-view .cal-drag-active * {
  pointer-events: none;
}

.cal-month-view .cal-event-title {
  cursor: pointer;
}

.cal-month-view .cal-event-title:hover {
  text-decoration: underline;
}

.cal-month-view {
  background-color: var(--socialMediaAllIconBgColor);
}

.cal-month-view .cal-cell-row:hover {
  background-color: var(--socialMediaAllIconBgColor);
}

.cal-month-view .cal-cell-row .cal-cell:hover,
.cal-month-view .cal-cell.cal-has-events.cal-open {
  background-color: var(--socialMediaTabBgColor);
}

.cal-month-view .cal-days {
  border-color: var(--socialMediaSelectCardBorderColor);
}

.cal-month-view .cal-day-cell:not(:last-child) {
  border-right-color: var(--socialMediaSelectCardBorderColor);
}

[dir="rtl"] .cal-month-view .cal-day-cell:not(:last-child) {
  border-right-color: initial;
  border-left-color: var(--socialMediaSelectCardBorderColor);
}

.cal-month-view .cal-days .cal-cell-row {
  border-bottom-color: var(--socialMediaSelectCardBorderColor);
}

.cal-month-view .cal-day-badge {
  background-color: #b94a48;
  color: #fff;
}

.cal-month-view .cal-event {
  background-color: #1e90ff;
  border-color: #d1e8ff;
  color: #fff;
}

.cal-month-view .cal-day-cell.cal-weekend .cal-day-number {
  color: #8b0000;
}

.cal-month-view .cal-day-cell.cal-today {
  background-color: var(--socialMediaSelectCardBgColor);
}

.cal-month-view .cal-day-cell.cal-drag-over {
  background-color: var(--socialMediaAllIconBgColor);
}

.cal-month-view .cal-open-day-events {
  color: var(--socialMediaAllIconTextColor);
  background-color: var(--socialMediaSelectCardBgColor);
  border: 1px solid var(--socialMediaSelectCardBorderColor);
  /* -webkit-box-shadow: inset 0 0 15px 0 rgba(0, 0, 0, 0.5);
	box-shadow: inset 0 0 15px 0 rgba(0, 0, 0, 0.5); */
}

.cal-week-view * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.cal-week-view .cal-day-headers {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-left: 70px;
  border: 1px solid;
}

[dir="rtl"] .cal-week-view .cal-day-headers {
  padding-left: initial;
  padding-right: 70px;
}

.cal-week-view .cal-day-headers .cal-header {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  text-align: center;
  padding: 5px;
}

.cal-week-view .cal-day-headers .cal-header:not(:last-child) {
  border-right: 1px solid;
}

[dir="rtl"] .cal-week-view .cal-day-headers .cal-header:not(:last-child) {
  border-right: initial;
  border-left: 1px solid;
}

.cal-week-view .cal-day-headers .cal-header:first-child {
  border-left: 1px solid;
}

[dir="rtl"] .cal-week-view .cal-day-headers .cal-header:first-child {
  border-left: initial;
  border-right: 1px solid;
}

.cal-week-view .cal-day-headers span {
  font-weight: 400;
  opacity: 0.5;
}

.cal-week-view .cal-day-column {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  border-left: solid 1px;
}

[dir="rtl"] .cal-week-view .cal-day-column {
  border-left: initial;
  border-right: solid 1px;
}

.cal-week-view .cal-event {
  font-size: 12px;
  border: 1px solid;
  direction: ltr;
}

.cal-week-view .cal-time-label-column {
  width: 70px;
  height: 100%;
}

.cal-week-view .cal-current-time-marker {
  position: absolute;
  width: 100%;
  height: 2px;
  z-index: 2;
}

.cal-week-view .cal-all-day-events {
  border: solid 1px;
  border-top: 0;
  border-bottom-width: 3px;
  padding-top: 3px;
  position: relative;
}

.cal-week-view .cal-all-day-events .cal-day-columns {
  height: 100%;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: absolute;
  top: 0;
  z-index: 0;
}

.cal-week-view .cal-all-day-events .cal-events-row {
  position: relative;
  height: 31px;
  margin-left: 70px;
}

[dir="rtl"] .cal-week-view .cal-all-day-events .cal-events-row {
  margin-left: initial;
  margin-right: 70px;
}

.cal-week-view .cal-all-day-events .cal-event-container {
  display: inline-block;
  position: absolute;
}

.cal-week-view .cal-all-day-events .cal-event-container.resize-active {
  z-index: 1;
  pointer-events: none;
}

.cal-week-view .cal-all-day-events .cal-event {
  padding: 0 5px;
  margin-left: 2px;
  margin-right: 2px;
  height: 28px;
  line-height: 28px;
}

.cal-week-view .cal-all-day-events .cal-starts-within-week .cal-event {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

[dir="rtl"] .cal-week-view .cal-all-day-events .cal-starts-within-week .cal-event {
  border-top-left-radius: initial;
  border-bottom-left-radius: initial;
  border-top-right-radius: 5px !important;
  border-bottom-right-radius: 5px !important;
}

.cal-week-view .cal-all-day-events .cal-ends-within-week .cal-event {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

[dir="rtl"] .cal-week-view .cal-all-day-events .cal-ends-within-week .cal-event {
  border-top-right-radius: initial;
  border-bottom-right-radius: initial;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.cal-week-view .cal-all-day-events .cal-time-label-column {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 14px;
}

.cal-week-view .cal-all-day-events .cal-resize-handle {
  width: 6px;
  height: 100%;
  cursor: col-resize;
  position: absolute;
  top: 0;
}

.cal-week-view .cal-all-day-events .cal-resize-handle.cal-resize-handle-after-end {
  right: 0;
}

[dir="rtl"] .cal-week-view .cal-all-day-events .cal-resize-handle.cal-resize-handle-after-end {
  right: initial;
  left: 0;
}

.cal-week-view .cal-event,
.cal-week-view .cal-header {
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cal-week-view .cal-drag-active {
  pointer-events: none;
  z-index: 1;
}

.cal-week-view .cal-drag-active * {
  pointer-events: none;
}

.cal-week-view .cal-time-events {
  position: relative;
  border: solid 1px;
  border-top: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.cal-week-view .cal-time-events .cal-day-columns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.cal-week-view .cal-time-events .cal-day-column {
  position: relative;
}

.cal-week-view .cal-time-events .cal-events-container {
  position: relative;
}

.cal-week-view .cal-time-events .cal-event-container {
  position: absolute;
  z-index: 1;
}

.cal-week-view .cal-time-events .cal-event {
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  margin: 1px;
  padding: 0 5px;
  line-height: 25px;
}

.cal-week-view .cal-time-events .cal-resize-handle {
  width: 100%;
  height: 4px;
  cursor: row-resize;
  position: absolute;
}

.cal-week-view .cal-time-events .cal-resize-handle.cal-resize-handle-after-end {
  bottom: 0;
}

.cal-week-view .cal-hour-segment {
  position: relative;
}

/* .cal-week-view .cal-hour-segment::after {
	content: "�";
} */

.cal-week-view .cal-event-container:not(.cal-draggable) {
  cursor: pointer;
}

.cal-week-view .cal-draggable {
  cursor: move;
}

.cal-week-view mwl-calendar-week-view-hour-segment,
.cal-week-view .cal-hour-segment {
  display: block;
}

.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment,
.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment {
  border-bottom: thin dashed;
}

.cal-week-view .cal-time {
  font-weight: bold;
  padding-top: 5px;
  width: 70px;
  text-align: center;
}

.cal-week-view .cal-hour-segment.cal-after-hour-start .cal-time {
  display: none;
}

.cal-week-view .cal-starts-within-day .cal-event {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.cal-week-view .cal-ends-within-day .cal-event {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.cal-week-view {
  background-color: var(--socialMediaAllIconBgColor);
  border-top: solid 1px var(--socialMediaSelectCardBorderColor);
}

.cal-week-view .cal-day-headers {
  border-color: var(--socialMediaSelectCardBorderColor);
  border-top: 0;
}

.cal-week-view .cal-day-headers .cal-header:not(:last-child) {
  border-right-color: var(--socialMediaSelectCardBorderColor);
}

[dir="rtl"] .cal-week-view .cal-day-headers .cal-header:not(:last-child) {
  border-right-color: initial;
  border-left: solid 1px var(--socialMediaSelectCardBorderColor) !important;
}

.cal-week-view .cal-day-headers .cal-header:first-child {
  border-left-color: var(--socialMediaSelectCardBorderColor);
}

[dir="rtl"] .cal-week-view .cal-day-headers .cal-header:first-child {
  border-left-color: initial;
  border-right-color: var(--socialMediaSelectCardBorderColor);
}

.cal-week-view .cal-day-headers .cal-header:hover,
.cal-week-view .cal-day-headers .cal-drag-over {
  background-color: var(--socialMediaAllIconBgColor);
}

.cal-week-view .cal-day-column {
  border-left-color: var(--socialMediaSelectCardBorderColor);
}

[dir="rtl"] .cal-week-view .cal-day-column {
  border-left-color: initial;
  border-right-color: var(--socialMediaSelectCardBorderColor);
}

.cal-week-view .cal-event {
  background-color: #d1e8ff;
  border-color: #1e90ff;
  color: #1e90ff;
}

.cal-week-view .cal-all-day-events {
  border-color: var(--socialMediaSelectCardBorderColor);
}

.cal-week-view .cal-header.cal-today {
  background-color: #e8fde7;
}

.cal-week-view .cal-header.cal-weekend span {
  color: #8b0000;
}

.cal-week-view .cal-time-events {
  border-color: var(--socialMediaSelectCardBorderColor);
}

.cal-week-view .cal-time-events .cal-day-columns:not(.cal-resize-active) .cal-hour-segment:hover {
  background-color: var(--socialMediaAllIconBgColor);
}

.cal-week-view .cal-hour-odd {
  background-color: var(--socialMediaAllIconBgColor);
}

.cal-week-view .cal-drag-over .cal-hour-segment {
  background-color: var(--socialMediaAllIconBgColor);
}

.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment,
.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment {
  border-bottom-color: var(--socialMediaSelectCardBorderColor);
}

.cal-week-view .cal-current-time-marker {
  background-color: #ea4334;
}

.cal-day-view mwl-calendar-week-view-header {
  display: none;
}

.cal-day-view .cal-events-container {
  margin-left: 70px;
}

[dir="rtl"] .cal-day-view .cal-events-container {
  margin-left: initial;
  margin-right: 70px;
}

.cal-day-view .cal-day-column {
  border-left: 0;
}

.cal-day-view .cal-current-time-marker {
  margin-left: 70px;
  width: calc(100% - 70px);
}

[dir="rtl"] .cal-day-view .cal-current-time-marker {
  margin-left: initial;
  margin-right: 70px;
}

.cal-tooltip {
  position: absolute;
  z-index: 1070;
  display: block;
  font-style: normal;
  font-weight: normal;
  letter-spacing: normal;
  line-break: auto;
  line-height: 1.5;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  white-space: normal;
  word-break: normal;
  word-spacing: normal;
  font-size: 11px;
  word-wrap: break-word;
  opacity: 0.9;
}

.cal-tooltip.cal-tooltip-top {
  padding: 5px 0;
  margin-top: -3px;
}

.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow {
  bottom: 0;
  left: 50%;
  margin-left: -5px;
  border-width: 5px 5px 0;
}

.cal-tooltip.cal-tooltip-right {
  padding: 0 5px;
  margin-left: 3px;
}

.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow {
  top: 50%;
  left: 0;
  margin-top: -5px;
  border-width: 5px 5px 5px 0;
}

.cal-tooltip.cal-tooltip-bottom {
  padding: 5px 0;
  margin-top: 3px;
}

.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow {
  top: 0;
  left: 50%;
  margin-left: -5px;
  border-width: 0 5px 5px;
}

.cal-tooltip.cal-tooltip-left {
  padding: 0 5px;
  margin-left: -3px;
}

.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow {
  top: 50%;
  right: 0;
  margin-top: -5px;
  border-width: 5px 0 5px 5px;
}

.cal-tooltip-inner {
  max-width: 200px;
  padding: 3px 8px;
  text-align: center;
  border-radius: 0.25rem;
}

.cal-tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}

.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow {
  border-top-color: #000;
}

.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow {
  border-right-color: #000;
}

.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow {
  border-bottom-color: #000;
}

.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow {
  border-left-color: #000;
}

.cal-tooltip-inner {
  background-color: var(--socialMediaAllIconBgColor);
  background-color: #000;
}

.mr-3 {
  margin-right: 3px !important;
}

.mt-3 {
  margin-top: 3px !important;
}

.mb-10 {
  margin-bottom: 10px !important;
}

.dayContainer {
  display: none;
}

/* form */
.formGeneralBox {
  background-color: var(--metronicGeneralColor) !important;
  border: 1px solid var(--socialMediaSelectCardBorderColor) !important;
}

#kt_app_main {
  transform: scale(0.9);
  transform-origin: top left;
  width: 111%;
  height: 100%;
}

.unpublished-tooltip-container {
  position: relative;
  display: inline-block;
}

.unpublished-cursor-pointer {
  cursor: pointer;
}

.unpublished-cursor-tooltip {
  position: absolute;
  background-color: white;
  color: black;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  white-space: normal;
  max-width: 300px;
  word-wrap: break-word;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  border: 1px solid #ccc;
  z-index: 1000;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.text-danger {
  color: red;
}

[data-bs-theme=dark] {
  --dash-card-bg-head: #15171c;
  --dash-bg-head: #1d1f26fe;
  --dash-text-card: #acabab;
  --dash-card-bg-head-main1: #15171c;
  --dash-card-bg-head-main2: #15171c;
  --dash-card-bg-head-main3: #15171c;
  --dash-card-bg-head-main4: #15171c;
  --dash-lead-text: #acabab;
  --dash-lead-card2: #1d1f26fe;
  --dash-lead-card1: #1d1f26fe;
  --dash-lead-card3: #1d1f26fe;
  --lead-card-bg-head: #acabab;
  --social-media-icons: grayscale(70%);
  --dash-bg-footer-text: #acabab;
}

[data-bs-theme=light] {
  --dash-bg-head: #f8f9fa;
  --dash-card-bg-head: #d1d5db;
  --dash-text-card: white;
  --dash-card-bg-head-main1: #d61e4a;
  --dash-card-bg-head-main2: linear-gradient(135deg, #f27526, #f27526);
  --dash-card-bg-head-main3: linear-gradient(135deg, #e05438, #e05438);
  --dash-card-bg-head-main4: #a38d59;
  --dash-lead-text: black;
  --dash-lead-card2: rgb(76, 216, 164);
  --dash-lead-card1: rgb(27, 132, 255);
  --dash-lead-card3: hsl(345, 86%, 60%);
  --lead-card-bg-head: white;
  --social-media-icons: grayscale(0%);
  --dash-bg-footer-text: #333;
}

/* PrimegDropdownCustom Css */
.no-arrow {
  appearance: none;
  background-image: none !important;
  -moz-appearance: none;
  -webkit-appearance: none;
  padding-right: 2rem;
}

.p-dropdown .p-dropdown-clear-icon {
  position: absolute !important;
  top: 50% !important;
  margin-top: -0.5rem !important;
  right: 2rem !important;
}

:root {
  --dropdown-light-bg: #ffffff;
  --dropdown-dark-bg: rgb(21, 23, 28);
  --border-light: rgb(21, 23, 28);
  --border-dark: #ffffff;
}

[data-bs-theme='light'] .p-dropdown-panel.p-component {
  background-color: var(--dropdown-light-bg) !important;
}

[data-bs-theme='dark'] .p-dropdown-panel.p-component {
  background-color: var(--dropdown-dark-bg) !important;
}

.p-dropdown-items {
  max-width: 200px !important;
}

.p-dropdown-item {
  overflow: visible !important;
}

.p-dropdown-filter-container {
  position: relative;
}

.p-dropdown-filter-container {
  position: relative;
}

.p-dropdown-filter {
  width: 430px;
  height: 40px;
  margin: 8px;
  padding-right: 30px;
}

.p-overlay-content {
  padding: 0.5px;
  background-color: #fff;
}

.p-dropdown-header {
  font-weight: bold;
  padding: 8px;
}

.p-overlay.p-component.ng-star-inserted {
  z-index: 1002 !important;
  min-width: 492px !important;
  transform-origin: center top !important;
  top: 34px !important;
  left: -13px !important;
  margin-top: calc(var(--p-anchor-gutter)) !important;
}

[data-bs-theme='light'] .p-overlay.p-component.ng-star-inserted {
  border: var(--border-light) 1px solid !important;
}

[data-bs-theme='dark'] .p-overlay.p-component.ng-star-inserted {
  border: var(--border-dark) 1px solid !important;
}

/* app-sidebar */
@media (min-width: 992px) {
  :root {
    --bs-app-sidebar-width: 120px !important;
    --bs-app-sidebar-width-actual: 60px !important;
    --bs-app-sidebar-gap-start: 0px !important;
    --bs-app-sidebar-gap-end: 0px !important;
    --bs-app-sidebar-gap-top: 0px !important;
    --bs-app-sidebar-gap-bottom: 0px !important;
  }
}

@media (min-width: 992px) {
  .app-sidebar-menu .menu>.menu-item>.menu-link>.menu-title {
    font-weight: 500 !important;
    font-size: 0.85rem !important;
    text-align: center !important;
  }
}

@media (min-width: 992px) {
  .app-sidebar-menu .menu>.menu-item>.menu-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0;
  }
}
[data-bs-theme='light'] .app-sidebar .menu .menu-item .menu-link.active {
  background-color: #3f3f3f !important;
  color: white !important;
}

[data-bs-theme='dark'] .app-sidebar .menu .menu-item .menu-link.active {
  background-color: #3f3f3f !important;
  color: white !important;
}
[data-bs-theme='dark'] .app-sidebar .menu .menu-item .menu-link.active-custom,
[data-bs-theme='light'] .app-sidebar .menu .menu-item .menu-link.active-custom {
  background-color: #3f3f3f !important;
  color: white !important;
  border-radius: 0 !important;
}