body {
  background-color: #f9fafb;
  font-family: "Poppins", sans-serif;
}

:root {
  --primary-color: #004aad;
  --secondary-color:#5eb23f;
}

.layout {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sidebar */
.sidebar {
  height: 100vh;
  width: 300px;
    overflow: auto;
  padding: 30px;
  padding-top: 15px;
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  transition: all 0.3s ease;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}
.full-logo {
  height: 100px;
  width: 100%;
  margin-top: 10px;
  object-fit: contain;
}

.toggler-btn {
  border: none;
  background-color: transparent;
  color: black;
  position: absolute;
  right: 15px;
  top: 40px;
  border-radius: 2px;
  cursor: pointer;
}

.create-post-btn {
  border: 1px solid var(--primary-color);
  height: 45px;
  width: 100%;
  background-color: var(--primary-color);
  color: white;
  font-family: "Poppins", sans-serif;
}
.create-post-btn:hover {
  opacity: 0.9;
}

.heading {
  font-size: 16px;
  text-transform: uppercase;
  color: rgb(67, 67, 67);
  font-weight: 600;
}

.sidebarlink {
  padding: 10px;
  border-radius: 2px;
  cursor: pointer;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.sidebarlink:hover,
.sidebarlink.active {
  background-color: #f0f0f0;
}

.link {
  text-decoration: none !important;
  color: black;
}

.mt-custom {
  margin-top: 35px !important;
}
/* COLLAPSED SIDEBAR */
.collapsed-sidebar {
  width: 70px !important;
  padding: 20px 10px;
}

.collapsed-sidebar .sidebarlink span,
.collapsed-sidebar .create-post-btn span,
.collapsed-sidebar .heading {
  display: none;
}

.collapsed-sidebar .create-post-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-bottom: 15px;
}

.collapsed-sidebar hr{
    color:white !important;
}
.collapsed-sidebar .version,
.collapsed-sidebar .full-logo {
  display: none;
}

.collapsed-sidebar .sidebarlink svg {
  margin: 0 auto;
  display: block;
}

.sidebar:not(.collapsed-sidebar) ~ .content {
  width: calc(100% - 300px);
}
.collapsed-sidebar ~ .content {
  width: calc(100% - 70px);
}

/* Content */
.content {
  height: 100vh;
  width: calc(100% - 300px);
  transition: all 0.3s ease;
}

.topbar {
  height: 100px;
  width: 100%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}

.username {
  font-weight: 600;
  font-size: 16px;
  margin: 0;
}
.role {
  position: relative;
  font-size: 14px;
  margin-top: 5px;
  padding-left: 18px;
}
.role::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: #28a745;
  border-radius: 50%;
}

.dropdown-menu {
  border-radius: 5px;
  min-width: 180px;
  padding: 5px 0;
}
.dropdown-item:hover {
  background-color: #f8f9fa;
}
.dropdown-item.text-danger:hover {
  background-color: #ffe6e6;
  color: var(--primary-color);
}

.profile-dropdown .dropdown-toggle::after {
  color: var(--primary-color);
}
.container-main{
    padding:30px;
    padding-top: 40px;
}

.card-stats {
  background: white;
  border-radius: 10px;
  padding: 22px 20px;
  transition: all 0.3s ease;
}
.card-stats:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}
.card-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-stats h6 {
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 6px;
}
.card-stats h3 {
  font-size: 24px;
  font-weight: 600;
  color: #212529;
}
.card-stats canvas {
  width: 100% !important;
  height: 50px !important;
  margin-top: 8px;
}
.chart-card {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
}
.chart-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}
.chart-card h6 {
  font-size: 15px;
  font-weight: 600;
  color: #212529;
}
.version{
  font-size: 14px;
}
.menutoggler{
  background-color: transparent;
  border: none;
  margin-bottom: 20px;
  margin-right: 15px;
  display: none;
}
.left_top{
  display: flex;
}

.cross-btn {
  border: none;
  background-color: transparent;
  color: black;
  position: absolute;
  right: 15px;
  top: 40px;
  border-radius: 2px;
  display: none;
  cursor: pointer;
}
.login-outerwrap{
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-wrap {
  min-height: 635px;
  width: 550px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 1);
box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
 padding: 5%;
 display: flex;
 align-items: center;
 justify-content: center;
 flex-direction: column;
}
.signup-wrap {
  min-height: 635px;
  width: 750px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 1);
box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
 padding: 4%;
 display: flex;
 align-items: center;
 justify-content: center;
 flex-direction: column;
}
.loginpage-logo {
  height: 130px;
  width: 100%;
  object-fit: contain;
  object-position: center;
}
.loginbg{
  background-image: linear-gradient(to right, #004aad 20%,#5eb23f);
}
.mini-desc{
  font-size: 16px;
  color: rgb(78, 78, 78);
  margin-top: 10px;
  margin-bottom: 30px;
  text-align: center;
  font-family: "Poppins", sans-serif;
}
.form-wrapper{
  width: 100%;
}
.form-custom{
  height: 55px !important;
  border-left: none;
  width: 100%;
  border-radius: 5px !important;
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
  font-family: "Poppins", sans-serif;
}
.form-custom:focus{
   box-shadow: none !important;
   border: 1px solid gainsboro;
   border-left: none;
}
.inp-grp span{
  background-color:transparent;
  border-right: none;
  color: rgb(116, 116, 116);
}
.forgotpass{
  float: right;
  color:var(--primary-color);
  cursor: pointer;
}
.btn-auth{
  width: 100%;
  background-color: var(--primary-color);
  height: 55px;
  border: 1px solid var(--primary-color);
  color: white;
  transition: 0.3s ease;
}
.btn-auth:hover{
  background-color: var(--primary-color);
  opacity: 0.8;
  color: white;
}
.btn-auth:focus{
  background-color: var(--primary-color);
  opacity: 0.8;
  color: white;
}
.login-signupswitch{
  color: black;
  text-align: center;
  margin-top: 30px;
}
.login-signupswitch a{
  color: var(--primary-color);
}
.addprofile-btn{
  background: #fff;
      border-radius: 10px;
      min-height:100px;
      border: 1px solid var(--primary-color);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      padding: 10px 15px;
box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
}
.addprofile-svg{
  color: var(--primary-color);
     margin-top:8px;
}
.addprofile-btn h5{
   font-size: 16px;
   color: black;
   margin-top: 17px;
}
   .profile-card {
      background: #fff;
      border-radius: 10px;
      min-height:100px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 15px;
     box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
      /* box-shadow: 6px 6px 0px rgba(0, 0, 0, 1);
      border: 1px solid #000; */
    }

    .profile-section {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .profile-picwrap {
      position: relative;
    }

    .profile-pic {
      width: 65px;
      height: 65px;
      border-radius: 50%;
      position: relative;
    }

    .insta-icon {
      width: 28px;
      height: 28px;
      position: absolute;
      bottom: 0;
      right: -5px;
      padding: 2px;
    }
    .profile-info{
      padding-left: 5px;
    }

    .profile-info h4 {
      font-size: 16px;
      margin-top: 8px;
      margin-bottom: 0px;
      font-weight: 600;
      color: #000;
      max-width: 210px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      cursor: pointer;
      position: relative;
    }
    .profile-info p {
      font-size: 14px;
      margin-top: 8px;
      margin-bottom: 0px;
      color: gray;
    }

    .dropdown-toggle::after {
      display: none !important;
    }

    .menu-btn {
      font-size: 20px;
      color: #000;
      background: none;
      border: none;
    }

    .dropdown-menu {
      font-size: 14px;
      border-radius: 10px;
      box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 8px;
    }

  .social-linkwrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: #000;
  padding: 10px 15px;
  border-radius: 10px;
  transition: all 0.2s ease-in-out;
}

.social-link:hover {
  background-color: #f7f7f7;
  transform: translateX(4px);
}

.social-link img {
  width: 28px;
  height: 28px;
  color: #000;
  object-fit: contain;
}

.social-link h6 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.social-link p {
  margin: 0 !important;
  margin-top: 5px !important;
  font-size: 13px;
  color: #666;
}
.btn-custom{
  background-color: transparent;
  padding: 0px;
  border: none;
}
.btn-custom:hover{
 color: var(--primary-color);
}


    .psm-wrapper {
      background: #fff;
      border-radius: 16px;
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
      overflow: hidden;
    }

    .psm-tabs {
      border-bottom: none;
    }

    .psm-tabs .nav-link {
      color: #6c757d;
      font-weight: 500;
      border: none;
      border-radius: 0;
      padding: 1rem 1.5rem;
      transition: all 0.2s ease;
    }

    .psm-tabs .nav-link.active {
      color: var(--primary-color);
      border-bottom: 2px solid var(--primary-color);
      background-color: transparent;
    }

    /* .psm-table thead {
      background: #f3f4f6;
      color: #374151;
      font-weight: 600;
    }

    .psm-table{
      background-color: red;
    }

    .psm-table tbody tr:hover {
      background: #fafafa;
      transition: background 0.2s ease;
    } */

    .psm-tablebody tr{
      height: 75px;
    }

    .psm-status-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #e9ecef;
      padding: 4px 12px;
      border-radius: 25px;
      font-size: 0.875rem;
      color: #495057;
    }

    .psm-status-dot-draft { background: #6c757d; width: 10px; height: 10px; border-radius: 50%; }
    .psm-status-dot-publish { background: #198754; width: 10px; height: 10px; border-radius: 50%; }
    .psm-status-dot-scheduled { background: #fd7e14; width: 10px; height: 10px; border-radius: 50%; }
    .psm-status-dot-trash { background: #dc3545; width: 10px; height: 10px; border-radius: 50%; }

    .psm-media-thumb {
      width: 50px;
      height: 50px;
      border-radius: 8px;
      object-fit: contain;
    }

    .psm-account-icon {
      width: 22px;
      height: 22px;
      object-fit: contain;
    }

    .psm-actions .dropdown-toggle {
      color: #212529;
    }

    .psm-actions .dropdown-toggle:hover {
      color: var(--primary-color);
    }


.media-tabs .nav-link {
  color: #555;
  font-weight: 500;
  padding: 8px 16px;
  padding: 1rem 1.5rem;
  border: none;
}

.media-tabs .nav-link.active {
  border-bottom: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.upload-box {
  border: 2px dashed #ccc;
  border-radius: 10px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fafafa;
  transition: all 0.3s;
  cursor: pointer;
}

.upload-box:hover,
.upload-box.dragover {
  border-color: var(--primary-color);
  background-color: #fff;
}

.upload-inner svg {
  opacity: 0.6;
}

.media-card {
  position: relative;
  border-radius: 10px;
  background: #f8f9fa;
  padding: 8px;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
}

.media-card:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ✅ Selection highlight */
.media-card.selected {
  outline: 3px solid #e91e63;
  background: #fff;
}

/* ✅ Checkmark on selected item */
.media-card .checkmark {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e91e63;
  border-radius: 50%;
  color: #fff;
  width: 22px;
  height: 22px;
  display: none;
  justify-content: center;
  align-items: center;
  font-size: 12px;
}

.media-card.selected .checkmark {
  display: flex;
}

/* ✅ Bottom Selection Bar */
.selection-bar {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(234, 234, 234, 0.15);
  border-radius: 5px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 12px 20px;
  width: auto;
  min-width: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
}

.selection-bar.active {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.selection-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.selection-info {
  font-size: 15px;
  color: #222;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.close-btn {
  background: transparent;
  border: none;
  padding: 0px;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* Media card selection styles */
.media-card.selectable {
  position: relative;
  cursor: pointer;
  transition: all 0.25s ease;
}

.media-card.selectable:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.media-card.selected {
  outline: 2px solid var(--primary-color);
  background-color: #fff;
}

.media-card.selected::after {
  content: "✔";
  position: absolute;
  top: 8px;
  right: 8px;
  background:var(--primary-color);
  color: white;
  font-size: 13px;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.btn-trash{
   padding: 0px;
   border: none;
   color: var(--primary-color);
   background:transparent;
}

/**/

/* ========== POST EDITOR WRAPPER ========== */
.pe-wrapper {
  width: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.038) 0px 1px 1px 0px, rgba(0, 0, 0, 0.03) 0px 1px 1px 0px;
  padding: 25px 23px 18px;
  position: relative;
  transition: all .3s ease;
}

.pe-wrapper:focus-within {
  border-color: #004bad1c;
  box-shadow: 0 10px 20px #004bad13;
}

/* ========== TEXTAREA ========== */
.pe-textarea {
  width: 100%;
  border: none;
  outline: none;
  resize: none;
  background: transparent;
  font-size: 1.1rem;
  color: #1f2937;
  min-height: 130px;
  line-height: 1.6;
}

.pe-textarea::placeholder {
  color: #9ca3af;
}

/* ========== TOOLBAR ========== */
.pe-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  margin-top: 10px;
  border-top: 1px solid #e5e7eb;
}

.pe-toolbar-left {
  display: flex;
  gap: 8px;
  position: relative;
}

.pe-btn-icon {
  background: #f9fafb;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 5px;
  border-radius: 8px;
  transition: all .2s ease;
}
.pe-btn-icon:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(37,99,235,0.3);
}

/* ========== POST BUTTON ========== */
.pe-btn-post {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all .2s ease;
}
.pe-btn-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

/* ========== EMOJI BOX ========== */
.pe-emoji-box {
  position: absolute;
  top: 50px;
  left: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  width: 290px;
  display: none;
  flex-wrap: wrap;
  gap: 4px;
  padding: 10px;
  max-height: 250px;
  overflow-y: auto;
  z-index: 100;
  animation: pe-popup .2s ease forwards;
}

.pe-emoji-box::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 22px;
  border-width: 8px;
  border-style: solid;
  border-color: transparent transparent #fff transparent;
  filter: drop-shadow(0 -1px 1px rgba(0,0,0,0.08));
}

.pe-emoji-item {
  font-size: 22px;
  padding: 6px;
  cursor: pointer;
  border-radius: 8px;
  transition: all .15s ease;
}
.pe-emoji-item:hover {
  background: #f3f4f6;
  transform: scale(1.1);
}

@keyframes pe-popup {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.pe-emoji-box::-webkit-scrollbar {
  width: 6px;
}
.pe-emoji-box::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 6px;
}

/* ========== STATUS BADGE ========== */
.pe-wrapper::after {
  content: "📝 Draft Mode";
  position: absolute;
  bottom: 14px;
  right: 22px;
  font-size: 0.8rem;
  color: #9ca3af;
}
.pe-actiontoolbar{
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 15px;
}
.btn-actionlayout{
  padding: 10px 20px;
  border-radius: 5px;
}
/* .btn-picktime:hover{
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
} */

.btn-picktime{
  border: 1px solid black;
  background-color: transparent;
}
.btn-picktime:hover{
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}
.btn-postnow{
  border: 1px solid var(--primary-color);
  background-color: var(--primary-color);
  color: white;
}
.btn-draftsave{
    border: 1px solid var(--primary-color);
    background-color: transparent;
  color: var(--primary-color);
}


.modal-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.form-control {
  height: 45px;
  font-size: 15px;
}
.form-label {
  color: #333;
}
#saveScheduleBtn {
  background: var(--primary-color);
  border: none;
  width: 100%;
  height: 50px;
  transition: 0.2s ease;
}
#saveScheduleBtn:hover {
  background: var(--primary-color);
}

/*UPS*/

/* ---------- MAIN CONTAINER ---------- */
.ups-container {
  width: 100%;
  background: #fff;
  border-radius: 10px;
  /* box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08); */
  overflow: hidden;
}

/* ---------- HEADER ---------- */
.ups-header {
  background: url('../Images/Screenshot\ 2025-10-18\ 001801.png');
  background-position: center;
  background-size: cover;
  color: #000000;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgb(226, 226, 226);
}

.ups-user-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ups-avatar {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  object-fit: cover;
}

.ups-user-text h2 {
  margin: 0;
  margin-top: 10px !important;
  margin-bottom: 10px !important;
  font-size: 1.6rem;
  font-weight: 600;
}
.ups-user-text p {
  margin: 5px 0 0;
  opacity: 0.85;
}

/* ---------- BODY ---------- */
.ups-body {
  padding: 40px;
}

/* ---------- FORM ---------- */
.ups-section {
  margin-bottom: 40px;
}

.ups-section-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: #1f2937;
}

.ups-label {
  font-weight: 500;
  color: #374151;
  margin-top: 20px;
}

.ups-input {
  border: 1px solid #d1d5db;
  border-radius: 5px;
  width: 100%;
  padding: 12px 12px;
  font-size: 1rem;
  outline: none;
  margin-top: 10px;
  transition: all 0.2s ease;
}

.ups-input:focus {
  border-color: #e0e9ff;
  box-shadow: 0 0 0 3px #e0e9ff
}

/* ---------- ACTIONS ---------- */
.ups-actions {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #e5e7eb;
  padding-top: 24px;
  gap: 10px;
}

.ups-btn {
  padding: 10px 22px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.ups-btn-cancel {
  background: #f3f4f6;
  color: #374151;
}
.ups-btn-cancel:hover {
  background: #e5e7eb;
}

.ups-btn-save {
  background: #004aad;
  color: #fff;
}
.ups-btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px #d9e7f8;
}

/* ---------- LAYOUT ---------- */
.ups-main {
  display: flex;
}
.ups-content {
  flex: 1;
  padding: 40px;
}
.pp-toast {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 50px;
  font-size: 15px;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.3s ease, top 0.3s ease;
}

.pp-toast.pp-show {
  opacity: 1;
  pointer-events: auto;
}

/* ===============================
   Toast Types
=============================== */
.pp-toast.pp-success { background-color: #016c25; }
.pp-toast.pp-error { background-color: #c0392b; }

/* ===============================
   Icon Styling
=============================== */
.pp-toast svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  flex-shrink: 0;
}

/* ===============================
   Progress Bar
=============================== */
.pp-toast-progress {
  position: absolute;
  bottom: 0;
  left: 1;
  height: 3px;
  width: 80%;
  background-color: rgba(255, 255, 255, 0.8);
  transform-origin: left;
  animation: pp-progress 5s linear forwards;
}

@keyframes pp-progress {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

.platform_icon{
  height:40px;
  width:40px;
  border-radius: 50%;
  object-fit:contain;
}

.facebook_card{
  background-color: white;
  padding:15px;
  box-shadow: rgba(0, 0, 0, 0.038) 0px 1px 1px 0px, rgba(0, 0, 0, 0.03) 0px 1px 1px 0px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  position: relative;
}
.fb-cardheader{
  display:flex;
  align-items: center;
}
.fb-image{
  border-radius: 50%;
  height:50px;
  width:50px;
  object-fit: contain;
}
.fb-title{
  font-size:16px;
  font-weight:600;
}
.fs-14{
  font-size: 14px;
}

.fb-body{
  min-height:30px;
}

.fb-footer-wrap{
   display: flex;
   align-items: center;
   justify-content: space-between;
}
.fb-footerimg{
  height:25px;
  object-fit: contain;
}
.fb-footer-wrapfooter{
   display: flex;
   align-items: center;
   justify-content: space-around;
}
.post-preview-wrap{
  /* max-height: 90vh;
  overflow: auto; */
}
.insta-card{
  background-color: white;
  padding:15px;
  box-shadow: rgba(0, 0, 0, 0.038) 0px 1px 1px 0px, rgba(0, 0, 0, 0.03) 0px 1px 1px 0px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
    position: relative;
}
.insta-flex{
  display:flex;
  align-items:center;
  justify-content: space-between;
}
.insta-body{
    min-height:30px;
}
.platform-identifier {
      width: 28px;
      height: 28px;
      position: absolute;
      top: -8px;
      right: -5px;
      padding: 2px;
      z-index: 100;
    }

.linkedaccount-wrap{
   display: flex;
   gap:10px;
}
/* .account-wrapper{
  border:2px solid gainsboro;
   height:60px;
  width:60px;
  position: relative;
  border-radius: 50%;
}
.account-picture{
   height:56px;
   width:56px;
     border-radius: 50%;
    object-fit: contain;
} */

.account-wrapper {
  position: relative;
  display: inline-block;
}

.account-checkbox {
  display: none;
}

.account-label {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  width: 60px;
  border: 2px solid #c7c7c7;
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.3s ease;
  position: relative;
}
.account-wrapper svg{
  color:#007bff;
  fill:#007bff;
}
.account-picture {
  height: 56px;
  width: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.account-checkbox:checked + .account-label {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0,123,255,0.5);
}


.mini-identifier{
    position: absolute;
      bottom: -5px;
      right: -3px;
}

.text-display {
  font-size: 16px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.btn-pluto {
  background: var(--primary-color);
  border: none;
  width: 100%;
  height: 45px;
  transition: 0.2s ease;
  color:white;
  border-radius: 5px;
}
.btn-pluto:hover {
  background: var(--primary-color);
}
.Image_Library{
  display: flex;
  align-items:center;
  gap:10px;
}
.Image_Library img{
   object-fit:contain;
   height:100px;
   width:100px;
   object-position:left;
}
.Image_Library img.selected {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  transform: scale(1.05);
}
.media_item{
  position:absolute;
  padding:05px;
  border-radius:50%;
  right:20px;
  top:20px;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  background-color: white;
}

.preview-video-upload{
  height:150px;
  width:150px;
}


/* mini media preview card */
#media-preview { display:flex; flex-wrap:wrap; gap:12px; }

/* Card */
.media-preview__card {
  position: relative;
  width: 133px;
  height: 180px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6e6e6;
  box-shadow: 0 6px 18px rgba(15,20,30,0.04);
  transition: transform .14s ease, box-shadow .14s ease;
}
.media-preview__card:hover { box-shadow: 0 10px 26px rgba(15,20,30,0.08); }

/* thumbnail common */
.media-preview__thumb,
.media-preview__video {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* video specific: keep controls off, autoplay muted loop */
.media-preview__video { background: #000; }

/* overlays */
.media-preview__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,0.66);
  color: #fff;
  border-radius: 6px;
  padding: 6px;
  display:flex;
  align-items:center;
  gap:6px;
  pointer-events: none;
}

/* tiny svg size */
.media-preview__badge svg { width:14px; height:14px; display:block; }

/* dropdown button */
.media-preview__menu-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255,255,255,0.92);
  border: 0;
  border-radius: 6px;
  padding: 6px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* custom dropdown menu */
.media-preview__menu {
  position: absolute;
  right: 8px;
  top: 40px;
  min-width: 120px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  overflow: hidden;
  transform-origin: top right;
  opacity: 0;
  visibility: hidden;
  transform: scale(.95);
  transition: transform .12s ease, opacity .12s ease, visibility .12s;
  z-index: 999;
}
.media-preview__menu.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* menu item */
.media-preview__menu button {
  width:100%;
  padding:10px 12px;
  border:0;
  background:transparent;
  text-align:left;
  cursor:pointer;
  font-size:13px;
}
.media-preview__menu button:hover { background:#f6f7fb; }


/* AI Bloging */


    .ai-header {
      text-align: center;
      margin-bottom: 50px;
    }

    .ai-header h3 {
      font-weight: 700;
      letter-spacing: 1px;
    }

    .ai-header p {
      color: #555;
      font-size: 15px;
    }

    .ai-search-bar {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 15px;
      margin-top: 25px;
    }

    .ai-search-input {
      border-radius: 50px;
      border: 2px solid var(--primary-color);
      padding: 14px 25px;
      width: 60%;
      font-size: 16px;
      transition: all 0.3s ease;
    }

    .ai-search-input:focus {
      border-color: var(--secondary-color);
      box-shadow: 0 0 12px rgba(0, 74, 173, 0.3);
    }

    .ai-generate-btn {
      background: var(--primary-color);
      color: white;
      border: none;
      border-radius: 50px;
      padding: 14px 30px;
      font-weight: 500;
      transition: 0.3s ease;
    }

    .ai-generate-btn:hover {
      background: var(--secondary-color);
    }

    .ai-title-item {
      border: 1px solid #e1e1e1;
      border-radius: 5px;
      padding: 15px 15px;
      background: #fafafa;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: 0.3s ease;
    }

    .ai-title-item:hover {
      transform: translateY(-2px);
      background: #f0f6ff;
      border-color: var(--primary-color);
    }

    .ai-title-item.selected {
         background: #f0f6ff;
      border-color: var(--primary-color);;
    }

    .ai-title-item i {
      font-size: 20px;
      color: var(--secondary-color);
    }

    .ai-articles-section {
      margin-top: 30px;
      animation: fadeIn 0.8s ease;
    }

    .ai-article-card {
      background: #fff;
      border-radius: 5px;
      padding: 25px;
      box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
      transition: all 0.3s ease;
      position: relative;
    }

    .ai-article-card i {
      font-size: 42px;
      color: var(--primary-color);
      margin-bottom: 10px;
    }

    .ai-article-card h6 {
      color: black;
      font-size: 17px;
      line-height: 26px;
      font-weight: 400;
      text-transform: none;
    }

    .ai-btn-group {
      display: flex;
      gap: 10px;
      margin-top: 15px;
    }

    .ai-publish-all-btn {
      background: var(--primary-color);
      color: white;
      border-radius: 50px;
      padding: 14px 45px;
      font-size: 17px;
      font-weight: 500;
      transition: all 0.3s ease;
    }

    .ai-publish-all-btn:hover {
      background: var(--secondary-color);
    }

        .ai-container {
     background: #fff;
      border-radius: 16px;
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
      overflow: hidden;
      padding: 40px 50px;
    }

    .btn-general{
      background:transparent;
      padding:0px;
      border: none;
    }

    .btn-Aiuploadsection{
      padding: 8px;
      border-radius: 2px;
      background: var(--primary-color);
      background-color: transparent;
      color: var(--primary-color);
      border:1px solid var(--primary-color);
    }