body {
  margin: 0;
  background: #0b0b10;
  color: #fff;
  font-family: Arial, sans-serif;
}

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 230px;
  height: 100vh;
  background: #12121a;
  border-right: 1px solid #272735;
  padding: 24px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
}

.sidebar a {
  display: block;
  color: #9ca3af;
  text-decoration: none;
  padding: 14px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.sidebar a.active,
.sidebar a:hover {
  background: #28144f;
  color: #fff;
}

.sidebar-account {
  background: #101017;
  border: 1px solid #272735;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 22px;
}

.sidebar-account strong {
  display: block;
  color: #fff;
  font-size: 14px;
}

.sidebar-account span {
  color: #22c55e;
  font-size: 12px;
}

.content {
  margin-left: 280px;
  padding: 40px;
}

.card,
.panel {
  background: #171720;
  border: 1px solid #272735;
  border-radius: 18px;
  padding: 25px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.card h2 {
  font-size: 36px;
  margin: 0;
}

.card span,
p {
  color: #9ca3af;
}

.panel {
  margin-top: 25px;
  min-height: 180px;
}

textarea,
input {
  width: 100%;
  box-sizing: border-box;
  background: #101017;
  border: 1px solid #272735;
  color: white;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
}

.btn {
  background: #7c3aed;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 14px 22px;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
}

.small-btn {
  padding: 10px 14px;
  font-size: 13px;
}

/* Upload individual */

.scheduler-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  margin-top: 30px;
}

.upload-box,
.single-upload,
.bulk-upload {
  width: 100%;
  box-sizing: border-box;
  display: block;
  padding: 42px;
  text-align: center;
  border: 2px dashed #3b3b4f;
  border-radius: 18px;
  background: #101017;
  color: #9ca3af;
  cursor: pointer;
}

.single-upload p {
  margin: 0;
}

.single-upload span,
.bulk-upload span {
  display: block;
  margin-top: 8px;
  color: #9ca3af;
}

.preview {
  min-height: 500px;
}

.phone-preview {
  width: 260px;
  height: 460px;
  border: 1px solid #272735;
  border-radius: 28px;
  background: #0b0b10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  margin: 20px auto;
}

/* Agendamento em massa */

.bulk-panel {
  padding: 28px;
}

.bulk-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  margin-bottom: 18px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.video-card,
.video-row {
  background: #101017;
  border: 1px solid #272735;
  border-radius: 18px;
  padding: 14px;
}

.video-row {
  padding: 18px;
  margin-bottom: 16px;
}

.video-card video {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: #000;
  border-radius: 14px;
  cursor: pointer;
}

.video-card strong,
.video-row strong {
  display: block;
  margin: 12px 0;
  color: white;
  font-size: 14px;
}

.video-card textarea {
  min-height: 80px;
  resize: vertical;
}

/* Modal */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .75);
  align-items: center;
  justify-content: center;
  z-index: 99;
}

.modal-content {
  position: relative;
  width: 70%;
  max-width: 900px;
  background: #171720;
  border: 1px solid #272735;
  border-radius: 20px;
  padding: 20px;
}

.modal-content video {
  width: 100%;
  max-height: 75vh;
  border-radius: 14px;
  background: #000;
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 10px;
  background: #7c3aed;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 22px;
}

/* Contas */

.account-item {
  background: #101017;
  border: 1px solid #272735;
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
}

.account-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.account-item summary::-webkit-details-marker {
  display: none;
}

.account-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.account-avatar,
.account-avatar-img {
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  max-width: 58px !important;
  min-height: 58px !important;
  max-height: 58px !important;
  border-radius: 16px !important;
  object-fit: cover !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0 !important;
}

.account-avatar {
  background: linear-gradient(135deg, #7c3aed, #f97316);
  font-weight: bold;
  color: white;
}

.account-left strong {
  display: block;
  color: white;
}

.account-left p {
  margin: 4px 0 0;
  font-size: 13px;
}

.account-arrow {
  color: #9ca3af;
  font-size: 22px;
}

.active-badge {
  display: inline-block;
  margin-top: 8px;
  color: #22c55e;
  font-size: 13px;
  font-weight: bold;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.social-links.clean {
  padding: 0 18px 18px;
}

.social-box {
  background: #171720;
  border: 1px solid #272735;
  border-radius: 16px;
  padding: 18px;
}

.social-box strong {
  display: block;
  margin-bottom: 10px;
}

.social-box span {
  display: block;
  color: #9ca3af;
  margin-bottom: 14px;
}

.social-select {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.social-select label {
  background: #101017;
  border: 1px solid #272735;
  border-radius: 12px;
  padding: 12px 16px;
  color: #cbd5e1;
  cursor: pointer;
}

/* Dashboard conta ativa */

.active-account-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.active-account-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.big-avatar {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, #7c3aed, #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: bold;
}

.change-account-btn {
  display: inline-block;
  margin-top: 16px;
  text-decoration: none;
}

.network-status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.network-status-card {
  background: #101017;
  border: 1px solid #272735;
  border-radius: 14px;
  padding: 14px;
}

.network-status-card strong {
  display: block;
  margin-bottom: 8px;
}

.connected {
  color: #22c55e;
  font-weight: bold;
}

.disconnected {
  color: #ef4444;
  font-weight: bold;
}

/* Posts */

.post-list {
  display: grid;
  gap: 18px;
  margin-top: 25px;
}

.post-card {
  background: #171720;
  border: 1px solid #272735;
  border-radius: 18px;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.status {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
}

.status.pending {
  background: #3b2f0b;
  color: #facc15;
}

.status.success {
  background: #052e16;
  color: #22c55e;
}

.status.error {
  background: #3f0a0a;
  color: #ef4444;
}

.status.processing {
  background: #0b2545;
  color: #60a5fa;
}

.filter-bar {
  display: flex;
  gap: 12px;
  margin: 24px 0;
}

.filter-btn {
  background: #101017;
  border: 1px solid #272735;
  color: #cbd5e1;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none;
}

.filter-btn:hover {
  background: #28144f;
  color: #fff;
}

/* Calendário */

.calendar-board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.calendar-card {
  background: #171720;
  border: 1px solid #272735;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.calendar-card-date {
  min-width: 95px;
  background: #101017;
  border: 1px solid #272735;
  border-radius: 14px;
  padding: 14px;
  text-align: center;
}

.calendar-card-date strong {
  display: block;
  color: white;
  margin-bottom: 8px;
  font-size: 14px;
}

.calendar-card-date span {
  color: #8b5cf6;
  font-weight: bold;
}

.calendar-card-content h3 {
  margin-top: 0;
  font-size: 15px;
}

.calendar-card-content p {
  margin: 6px 0;
}

.calendar-list {
  display: grid;
  gap: 16px;
  margin-top: 25px;
}

.calendar-day {
  background: #171720;
  border: 1px solid #272735;
  border-radius: 18px;
  padding: 20px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
}

.calendar-date {
  background: #101017;
  border-radius: 14px;
  padding: 16px;
}

.calendar-date strong {
  display: block;
  color: #fff;
  margin-bottom: 8px;
}

.calendar-date span {
  color: #8b5cf6;
  font-weight: bold;
}

.calendar-post h3 {
  margin-top: 0;
}

.instagram-user {
    margin-top: 4px;
    color: #c4b5fd;
    font-size: 13px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  flex-shrink: 0;
}

.status-green {
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34,197,94,.6);
}

.status-red {
  background: #ef4444;
  box-shadow: 0 0 10px rgba(239,68,68,.6);
}

.connected,
.disconnected,
.active-badge,
.active-account {
  display: flex;
  align-items: center;
  gap: 6px;
}

.connected {
  color: #22c55e;
  font-weight: bold;
}

.disconnected {
  color: #ef4444;
  font-weight: bold;
}

.active-badge {
  color: #22c55e;
  font-size: 13px;
  margin-top: 4px;
}

.dashboard-avatar {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid #272735;
  flex-shrink: 0;
}

.social-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 8px;
  vertical-align: middle;
}

.instagram-icon {
  background-image: url('/static/icons/instagram.svg');
}

.tiktok-icon {
  background-image: url('/static/icons/tiktok.svg');
}

.facebook-icon {
  background-image: url('/static/icons/facebook.svg');
}

.post-main {
  flex: 1;
}

.post-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 180px;
}

.secondary-btn {
  background: #272735;
}

.danger-btn {
  background: #dc2626;
}

.error-message {
  color: #ef4444;
  font-size: 13px;
  margin-top: 8px;
}

.edit-post-panel {
  max-width: 900px;
}

.edit-file-box {
  background: #101017;
  border: 1px solid #272735;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 24px;
}

.edit-file-box strong {
  display: block;
  color: white;
  margin-bottom: 8px;
}

.edit-file-box p {
  margin: 0 0 6px;
}

.edit-file-box span {
  color: #8b5cf6;
  font-size: 13px;
}

.social-icon{
    width:18px;
    height:18px;
    display:inline-block;
    background-size:contain;
    background-repeat:no-repeat;
    background-position:center;
    margin-right:8px;
    vertical-align:middle;
}

.dashboard-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
}

.notification-bell{
    position:relative;
    width:48px;
    height:48px;
    border-radius:14px;
    background:#11131d;
    border:1px solid #23263d;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
}

.notification-bell:hover{
    background:#171a29;
}

.bell-icon{
    font-size:22px;
}

.bell-badge{
    position:absolute;
    top:-6px;
    right:-6px;
    min-width:22px;
    height:22px;
    border-radius:50%;
    background:#ff4545;
    color:white;
    font-size:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
}

.notification-wrapper {
  position: relative;
}

.notification-bell {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #11131d;
  border: 1px solid #23263d;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.notification-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 60px;
  width: 330px;
  background: #171720;
  border: 1px solid #272735;
  border-radius: 18px;
  padding: 16px;
  z-index: 50;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}

.notification-dropdown.show {
  display: block;
}

.notification-dropdown h3 {
  margin: 0 0 12px;
}

.notification-item {
  background: #101017;
  border: 1px solid #272735;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
}

.notification-item strong {
  display: block;
  color: white;
  margin-bottom: 6px;
}

.notification-item p {
  margin: 0 0 6px;
  font-size: 13px;
}

.notification-item span {
  color: #8b5cf6;
  font-size: 12px;
}

.notification-empty {
  color: #9ca3af;
  font-size: 14px;
  padding: 12px;
}

.loading-btn {
  opacity: 0.7;
  cursor: not-allowed;
}

button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.notification-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.mini-btn {
  border: none;
  background: #25283a;
  color: white;
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 11px;
  cursor: pointer;
}

.mini-btn:hover {
  background: #333750;
}

.danger-mini {
  background: #ef4444;
}

.danger-mini:hover {
  background: #dc2626;
}

.post-thumb {
  width: 150px;
  height: 230px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #2a2d3d;
  background: #080911;
  margin-bottom: 14px;
}

.notification-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.mini-btn {
  border: none;
  background: #25283a;
  color: white;
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 11px;
  cursor: pointer;
}

.danger-mini {
  background: #ef4444;
}

.loading-btn,
button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.app-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: 0.35s ease;
}

.app-popup-overlay.show {
  opacity: 1;
}

.app-popup-card {
  width: 360px;
  min-height: 210px;
  background: linear-gradient(145deg, #171824, #10111a);
  border: 1px solid #33364a;
  border-radius: 26px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: perspective(900px) rotateX(12deg) scale(0.85);
  transition: 0.35s ease;
  padding: 32px;
  text-align: center;
}

.app-popup-overlay.show .app-popup-card {
  transform: perspective(900px) rotateX(0deg) scale(1);
}

.popup-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 900;
  color: white;
  box-shadow: 0 0 35px rgba(124, 58, 237, 0.45);
}

.app-popup-card h2 {
  margin: 0 0 10px;
  color: white;
  font-size: 22px;
}

.app-popup-card p {
  margin: 0;
  color: #b5c6e0;
  font-size: 15px;
}

.loading-btn {
  position: relative;
  opacity: 0.8;
  cursor: wait;
}

.loading-btn::after {
  content: "";
  width: 13px;
  height: 13px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  display: inline-block;
  margin-left: 8px;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.calendar-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.calendar-card-media {
  flex-shrink: 0;
}

.calendar-thumb {
  width: 76px;
  height: 104px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #2b2e3f;
  background: #080911;
}

.calendar-link {
  margin-top: 10px;
  display: inline-flex;
}

.file-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b5cf6;
  font-size: 12px;
  font-weight: bold;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.bulk-video-card {
  background: #101017;
  border: 1px solid #2a2d3d;
  border-radius: 16px;
  padding: 14px;
  overflow: hidden;
}

.bulk-video-card video,
.bulk-video-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 14px;
  background: #05060c;
  display: block;
  margin-bottom: 10px;
}

.bulk-video-card textarea,
.bulk-video-card input {
  width: 100%;
  box-sizing: border-box;
  margin-top: 10px;
}

.inactive-badge {
  color: #ff4d4d;
}

.post-ids {
  margin-top: 10px;
  font-size: 12px;
  color: #8f9bb3;
  line-height: 1.4;
}

.post-ids p {
  margin: 2px 0;
}

.popup-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.popup-actions .btn {
  min-width: 120px;
}

.app-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 4, 12, 0.72);
  backdrop-filter: blur(10px);
  pointer-events: all;
}

.app-popup-overlay.bloqueado {
  pointer-events: all;
}

.app-popup-card {
  position: relative;
  z-index: 1000000;
  pointer-events: all;
}

.popup-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.popup-actions .btn {
  min-width: 120px;
  cursor: pointer;
  pointer-events: all;
}

.logs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.log-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px;
  border: 1px solid #2a2d3a;
  border-radius: 16px;
  background: #11131c;
}

.log-left strong {
  color: #ffffff;
  font-size: 15px;
}

.log-left p {
  margin: 6px 0;
  color: #cbd5e1;
}

.log-left span {
  font-size: 12px;
  color: #8f9bb3;
}

.log-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 150px;
  color: #9ca3af;
  font-size: 13px;
}

.log-rede {
  color: #a855f7;
  font-weight: 700;
}

.log-right small {
  color: #64748b;
}

.bulk-tools {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 14px 0 18px;
}

.bulk-tools input {
  max-width: 180px;
}

.bulk-progress-wrapper {
  margin: 12px 0 22px;
  padding: 14px;
  border: 1px solid #2a2d3a;
  border-radius: 16px;
  background: #11131c;
}

.bulk-progress-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #cbd5e1;
  font-size: 13px;
}

.bulk-progress-bar {
  width: 100%;
  height: 10px;
  background: #1f2430;
  border-radius: 999px;
  overflow: hidden;
}

#bulkProgressFill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #7c3aed, #22c55e);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.bulk-video-card {
  position: relative;
}

.bulk-video-card video,
.bulk-video-card img {
  max-height: 150px;
  object-fit: cover;
}

.bulk-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 999px;
  background: #ef4444;
  color: white;
  cursor: pointer;
  font-weight: 800;
  z-index: 3;
}

.bulk-status {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.bulk-status.ready {
  background: rgba(34, 197, 94, 0.16);
  color: #22c55e;
}

.bulk-status.warning {
  background: rgba(245, 158, 11, 0.16);
  color: #f59e0b;
}

.publication-type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 14px;
  margin: 14px 0 28px;
}

.publication-type-card {
  min-height: 120px;
  border: 1px solid #2a2d3a;
  border-radius: 18px;
  background: #11131c;
  color: #cbd5e1;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.publication-type-card span {
  font-size: 26px;
  color: #8b5cf6;
}

.publication-type-card strong {
  color: #ffffff;
}

.publication-type-card small {
  color: #94a3b8;
}

.publication-type-card.active {
  border-color: #7c3aed;
  box-shadow: 0 0 0 1px #7c3aed, 0 0 24px rgba(124, 58, 237, 0.25);
  background: rgba(124, 58, 237, 0.12);
}

.compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.bulk-video-card.compact-card {
  position: relative;
  padding: 12px;
  border: 1px solid #2a2d3a;
  border-radius: 18px;
  background: #11131c;
  overflow: hidden;
}

.bulk-preview-box {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 260px;
  border-radius: 14px;
  overflow: hidden;
  background: #070811;
  margin-bottom: 10px;
}

.bulk-preview-box video,
.bulk-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-edit-btn {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 999px;
  background: #7c3aed;
  color: white;
  cursor: pointer;
  font-weight: 800;
  z-index: 5;
}

.bulk-remove {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 999px;
  background: #ef4444;
  color: white;
  cursor: pointer;
  font-weight: 800;
  z-index: 5;
}

.bulk-card-info strong {
  display: block;
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 8px;
  word-break: break-word;
}

.bulk-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.file-type-badge,
.publication-badge,
.bulk-status {
  display: inline-flex;
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.file-type-badge {
  background: rgba(59, 130, 246, 0.16);
  color: #60a5fa;
}

.publication-badge {
  background: rgba(168, 85, 247, 0.16);
  color: #a855f7;
}

.bulk-status.ready {
  background: rgba(34, 197, 94, 0.16);
  color: #22c55e;
}

.bulk-status.warning {
  background: rgba(245, 158, 11, 0.16);
  color: #f59e0b;
}

.bulk-card-info textarea {
  min-height: 76px;
  resize: vertical;
}

.bulk-card-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.cover-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(3, 4, 12, 0.78);
  backdrop-filter: blur(10px);
}

.cover-modal.show {
  display: flex;
}

.cover-modal-card {
  position: relative;
  width: min(680px, 92vw);
  padding: 26px;
  border-radius: 24px;
  border: 1px solid #303548;
  background: #11131c;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.cover-modal-card h2 {
  margin-bottom: 8px;
}

.cover-modal-card p {
  color: #94a3b8;
  margin-bottom: 18px;
}

#coverVideoPreview,
#coverImagePreview {
  width: 100%;
  max-height: 360px;
  border-radius: 18px;
  background: #070811;
  object-fit: contain;
  margin-bottom: 16px;
}

#coverTimeline {
  width: 100%;
  margin: 10px 0 18px;
}

.cover-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.single-editor-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

.single-preview-card {
  position: relative;
  width: 320px;
}

.single-preview-box {
  width: 320px;
  height: 420px;
  border-radius: 22px;
  overflow: hidden;
  background: #070811;
  border: 1px solid #2a2d3a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

.single-preview-box video,
.single-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-cover-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-form-area {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.single-form-area textarea {
  min-height: 160px;
  resize: vertical;
}

.single-date-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.single-badges {
  margin-top: 12px;
}

@media (max-width: 900px) {
  .single-editor-layout {
    grid-template-columns: 1fr;
  }

  .single-preview-card,
  .single-preview-box {
    width: 100%;
  }
}

.single-editor-layout {
  display: grid !important;
  grid-template-columns: 320px 1fr !important;
  gap: 24px !important;
  align-items: start !important;
  margin-top: 24px !important;
}

.single-preview-card {
  position: relative !important;
  width: 320px !important;
  max-width: 320px !important;
}

.single-preview-box {
  width: 320px !important;
  height: 420px !important;
  max-width: 320px !important;
  max-height: 420px !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  background: #070811 !important;
  border: 1px solid #2a2d3a !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #94a3b8 !important;
}

.single-preview-box video,
.single-preview-box img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 22px !important;
}

.single-cover-btn {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  width: 38px !important;
  height: 38px !important;
  border: none !important;
  border-radius: 999px !important;
  background: #7c3aed !important;
  color: white !important;
  cursor: pointer !important;
  font-weight: 800 !important;
  z-index: 20 !important;
}

.single-form-area {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.single-form-area textarea {
  min-height: 160px !important;
  resize: vertical !important;
}

.single-date-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
}

.single-badges {
  margin-top: 12px !important;
}

#singleCoverModal.cover-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(3, 4, 12, 0.78) !important;
  backdrop-filter: blur(10px) !important;
}

#singleCoverModal.cover-modal.show {
  display: flex !important;
}

#singleCoverModal .cover-modal-card {
  position: relative !important;
  width: min(680px, 92vw) !important;
  padding: 26px !important;
  border-radius: 24px !important;
  border: 1px solid #303548 !important;
  background: #11131c !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45) !important;
}

#singleCoverVideoPreview,
#singleCoverImagePreview {
  width: 100% !important;
  max-height: 360px !important;
  border-radius: 18px !important;
  background: #070811 !important;
  object-fit: contain !important;
  margin-bottom: 16px !important;
}

#singleCoverTimeline {
  width: 100% !important;
  margin: 10px 0 18px !important;
}

#editarCoverModal.cover-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(3, 4, 12, 0.78) !important;
  backdrop-filter: blur(10px) !important;
}

#editarCoverModal.cover-modal.show {
  display: flex !important;
}

#editarCoverModal .cover-modal-card {
  position: relative !important;
  width: min(680px, 92vw) !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  padding: 26px !important;
  border-radius: 24px !important;
  border: 1px solid #303548 !important;
  background: #11131c !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45) !important;
}

#editarCoverVideoPreview,
#editarCoverImagePreview {
  width: 100% !important;
  height: auto !important;
  max-height: 360px !important;
  border-radius: 18px !important;
  background: #070811 !important;
  object-fit: contain !important;
  margin-bottom: 16px !important;
}

#editarCoverTimeline {
  width: 100% !important;
  margin: 10px 0 18px !important;
}

#editarCoverModal .cover-actions {
  display: flex !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
}
#editarCoverModal.cover-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  background: rgba(0, 0, 0, 0.78) !important;
  display: none !important;
  justify-content: center !important;
  align-items: center !important;
  backdrop-filter: blur(8px) !important;
}

#editarCoverModal.cover-modal.show {
  display: flex !important;
}

#editarCoverModal .cover-modal-card {
  width: 680px !important;
  max-width: 92vw !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  background: #11131c !important;
  border: 1px solid #303548 !important;
  border-radius: 24px !important;
  padding: 26px !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55) !important;
}

#editarCoverModal video#editarCoverVideoPreview,
#editarCoverModal img#editarCoverImagePreview {
  width: 100% !important;
  height: auto !important;
  max-height: 360px !important;
  object-fit: contain !important;
  border-radius: 18px !important;
  background: #070811 !important;
  display: block;
}

#editarCoverModal #editarCoverTimeline {
  width: 100% !important;
  margin: 14px 0 18px !important;
}

#editarCoverModal .cover-actions {
  display: flex !important;
  gap: 10px !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
}

.post-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 6px 18px;
  margin: 10px 0 14px;
}

.post-meta-grid p {
  margin: 0;
  color: #cbd5e1;
}

.post-meta-grid strong {
  color: #ffffff;
}

.media-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.media-library-card {
  background: #151722;
  border: 1px solid #2a2d3a;
  border-radius: 18px;
  padding: 14px;
  overflow: hidden;
}

.media-library-preview {
  width: 100%;
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
  background: #070811;
  margin-bottom: 12px;
}

.media-library-preview video,
.media-library-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-library-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.media-library-info strong {
  font-size: 14px;
  word-break: break-all;
}

.biblioteca-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 18px !important;
  margin-top: 24px !important;
}

.biblioteca-card {
  background: #151722 !important;
  border: 1px solid #2a2d3a !important;
  border-radius: 18px !important;
  padding: 14px !important;
  overflow: hidden !important;
}

.biblioteca-preview {
  width: 100% !important;
  height: 260px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #070811 !important;
  margin-bottom: 12px !important;
}

.biblioteca-preview video,
.biblioteca-preview img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.biblioteca-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  margin-bottom: 12px !important;
}

.biblioteca-info strong {
  font-size: 14px !important;
  word-break: break-all !important;
}

.calendar-topbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.calendar-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.calendar-nav strong {
  color: #ffffff;
  min-width: 160px;
  text-align: center;
}

.calendar-month {
  background: #11131c;
  border: 1px solid #2a2d3a;
  border-radius: 22px;
  padding: 18px;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.calendar-weekdays span {
  text-align: center;
  font-weight: 700;
  color: #94a3b8;
  font-size: 13px;
}

.calendar-grid-month {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-day {
  min-height: 150px;
  border: 1px solid #2a2d3a;
  border-radius: 16px;
  background: #0b0d14;
  padding: 10px;
  overflow: hidden;
}

.calendar-day.empty {
  opacity: 0.25;
  background: #080910;
}

.calendar-day-number {
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.calendar-events {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calendar-event {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  border-radius: 10px;
  padding: 7px;
  font-size: 12px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #cbd5e1;
}

.calendar-event span {
  font-weight: 700;
  color: #ffffff;
}

.calendar-event strong {
  color: #ffffff;
}

.calendar-event small {
  color: #94a3b8;
}

.calendar-event.status-publicado {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.35);
}

.calendar-event.status-erro {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.35);
}

.calendar-event.status-processando {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.35);
}

.calendar-event.status-agendado {
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(59, 130, 246, 0.35);
}

.calendar-profile-form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.calendar-profile-form label {
  font-weight: 700;
  color: #ffffff;
}

.calendar-profile-form select {
  min-width: 220px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid #2a2d3a;
  background: #0b0d14;
  color: #ffffff;
}

.calendar-day-number {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calendar-day-number span {
  font-size: 11px;
  color: #a78bfa;
  background: rgba(124, 58, 237, 0.16);
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 999px;
  padding: 3px 7px;
}

.calendar-event strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-more {
  display: block;
  text-align: center;
  padding: 7px;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.16);
  border: 1px solid rgba(124, 58, 237, 0.38);
  color: #c4b5fd;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.calendar-day-detail {
  background: #11131c;
  border: 1px solid #2a2d3a;
  border-radius: 22px;
  padding: 18px;
  margin-bottom: 22px;
}

.calendar-day-detail-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.calendar-day-detail-header h2 {
  margin: 0;
}

.calendar-day-detail-header p {
  margin: 6px 0 0;
  color: #94a3b8;
}

.calendar-day-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calendar-day-list-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  text-decoration: none;
  padding: 14px;
  border-radius: 16px;
  background: #0b0d14;
  border: 1px solid #2a2d3a;
  color: #ffffff;
}

.calendar-day-list-time {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calendar-day-list-time strong {
  color: #ffffff;
}

.calendar-day-list-time span {
  color: #a78bfa;
  font-size: 12px;
}

.calendar-day-list-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calendar-day-list-content span {
  color: #cbd5e1;
}

.calendar-day-list-content small {
  color: #94a3b8;
}

.calendar-day {
  min-height: 170px !important;
  padding: 8px !important;
}

.calendar-events {
  gap: 5px !important;
}

.calendar-event-mini {
  display: grid !important;
  grid-template-columns: 34px 1fr !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 5px !important;
  min-height: 42px !important;
}

.calendar-event-thumb {
  width: 34px !important;
  height: 34px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #050611 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.calendar-event-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.calendar-event-video-dot {
  font-size: 13px !important;
  color: #ffffff !important;
}

.calendar-event-text {
  min-width: 0 !important;
}

.calendar-event-text span {
  display: block !important;
  font-size: 11px !important;
  line-height: 1.1 !important;
}

.calendar-event-text strong {
  display: block !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.calendar-more {
  padding: 5px !important;
  font-size: 11px !important;
}

.calendar-day-list-item {
  grid-template-columns: 86px 90px 1fr !important;
  align-items: center !important;
}

.calendar-day-list-thumb {
  width: 76px !important;
  height: 76px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #050611 !important;
}

.calendar-day-list-thumb img,
.calendar-day-list-thumb video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.calendar-events{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:6px;
    margin-top:12px;
}

.calendar-event-mini{
    width:90%;
    margin:0 auto;
}

.calendar-more{
    width:auto;
    margin:4px auto 0 auto;
}

.calendar-day{
    display:flex;
    flex-direction:column;
}

.calendar-day-number{
    margin-bottom:10px;
}

.calendar-day-number {
  justify-content: center !important;
  position: relative !important;
}

.calendar-day-number > strong {
  position: absolute !important;
  left: 0 !important;
}

.calendar-day-number > span {
  margin: 0 auto !important;
}

.calendar-event-thumb video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.calendar-event-thumb {
  background: transparent !important;
}

.dashboard-grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-bottom:24px;
}

.next-post-box{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.dashboard-library{
  display:flex;
  justify-content:space-between;
  margin-bottom:16px;
}

.dashboard-library div{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.dashboard-library strong{
  font-size:24px;
  color:#fff;
}

.dashboard-library span{
  color:#94a3b8;
}

.posts-filter-panel {
  background: #151722;
  border: 1px solid #2a2d3a;
  border-radius: 18px;
  padding: 16px;
  margin: 18px 0;
}

.posts-filter-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.posts-filter-row select,
.posts-filter-row input {
  background: #0b0d14;
  border: 1px solid #2a2d3a;
  color: #fff;
  border-radius: 12px;
  padding: 12px;
}

.posts-filter-row input {
  grid-column: span 4;
}

.posts-filter-row button {
  width: 100%;
}

.posts-summary-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.summary-mini-card {
  background: #151722;
  border: 1px solid #2a2d3a;
  border-radius: 16px;
  padding: 16px;
}

.summary-mini-card strong {
  display: block;
  font-size: 24px;
  color: #fff;
}

.summary-mini-card span {
  color: #94a3b8;
}

form.posts-filter-panel {
  background: #151722 !important;
  border: 1px solid #2a2d3a !important;
  border-radius: 18px !important;
  padding: 16px !important;
  margin: 18px 0 22px 0 !important;
}

form.posts-filter-panel .posts-filter-row {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
}

form.posts-filter-panel select,
form.posts-filter-panel input {
  width: 100% !important;
  background: #0b0d14 !important;
  border: 1px solid #2a2d3a !important;
  color: #fff !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  height: 46px !important;
  box-sizing: border-box !important;
}

form.posts-filter-panel input[name="busca"] {
  grid-column: span 4 !important;
}

form.posts-filter-panel button {
  height: 46px !important;
  width: 100% !important;
}

.posts-summary-bar {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px !important;
  margin: 0 0 24px 0 !important;
}

.summary-mini-card {
  background: #151722 !important;
  border: 1px solid #2a2d3a !important;
  border-radius: 16px !important;
  padding: 16px !important;
}

.summary-mini-card strong {
  display: block !important;
  font-size: 24px !important;
  color: #fff !important;
}

.summary-mini-card span {
  color: #94a3b8 !important;
}

.sidebar-account {
  position: relative;
}

.sidebar-account-toggle {
  cursor: pointer;
}

.sidebar-arrow {
  margin-left: auto;
  color: #94a3b8;
}

.sidebar-profile-dropdown {
  display: none;
  margin-top: 10px;
  background: #0b0d14;
  border: 1px solid #2a2d3a;
  border-radius: 14px;
  padding: 8px;
}

.sidebar-profile-dropdown.show {
  display: block;
}

.sidebar-profile-dropdown form {
  margin: 0;
}

.sidebar-profile-dropdown button {
  width: 100%;
  text-align: left;
  background: transparent;
  color: #ffffff;
  border: none;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
}

.sidebar-profile-dropdown button:hover {
  background: rgba(124, 58, 237, 0.2);
}

.perfil-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 18px 0;
}

.perfil-last-post {
  background: #0b0d14;
  border: 1px solid #2a2d3a;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 18px;
  color: #cbd5e1;
}

.perfil-last-post strong {
  color: #fff;
}

.account-actions-row {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.logs-filter-panel {
  background: #151722;
  border: 1px solid #2a2d3a;
  border-radius: 18px;
  padding: 16px;
  margin: 18px 0 22px;
}

.logs-filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 2fr auto;
  gap: 12px;
  align-items: center;
}

.logs-filter-row select,
.logs-filter-row input {
  width: 100%;
  background: #0b0d14;
  border: 1px solid #2a2d3a;
  color: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  height: 46px;
  box-sizing: border-box;
}

.logs-filter-row button {
  height: 46px;
}

.logs-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.log-item {
  border-left: 4px solid transparent;
}

.log-success {
  border-left-color: #22c55e;
}

.log-error {
  border-left-color: #ef4444;
}

.log-danger {
  border-left-color: #f97316;
}

.posts-bulk-actions {
  background: #151722;
  border: 1px solid #2a2d3a;
  border-radius: 18px;
  padding: 16px;
  margin: 18px 0 22px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.posts-bulk-actions input {
  background: #0b0d14;
  border: 1px solid #2a2d3a;
  color: #fff;
  border-radius: 12px;
  padding: 10px 12px;
}

.post-card {
  position: relative;
}

.post-select-box {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  background: rgba(0,0,0,0.55);
  border-radius: 10px;
  padding: 6px;
}

.post-select-box input {
  width: 18px;
  height: 18px;
}

.bulk-tools-2 {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #151722;
  border: 1px solid #2a2d3a;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 20px;
}

.bulk-tools-2 textarea {
  width: 100%;
  min-height: 90px;
  background: #0b0d14;
  border: 1px solid #2a2d3a;
  color: #fff;
  border-radius: 14px;
  padding: 14px;
  resize: vertical;
  box-sizing: border-box;
}

.bulk-tools-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.bulk-tools-row input,
.bulk-tools-row select {
  background: #0b0d14;
  border: 1px solid #2a2d3a;
  color: #fff;
  border-radius: 12px;
  padding: 12px;
}

.bulk-redes-todos {
  margin: 0;
}

.social-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.social-badge.instagram {
  background: rgba(255,0,120,.15);
  color: #ff5fa2;
}

.social-badge.tiktok {
  background: rgba(0,255,255,.12);
  color: #7df9ff;
}

.social-badge.facebook {
  background: rgba(24,119,242,.15);
  color: #63a4ff;
}

.logs-actions {
  display: flex;
  gap: 12px;
  margin: 0 0 22px;
}

.copiar-log-btn {
  margin-left: 12px;
  align-self: center;
  white-space: nowrap;
}

.log-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.log-left {
  flex: 1;
}

.log-right {
  min-width: 160px;
}

.log-draft {
  border-left-color: #a855f7;
}

/* LOGO 2.0 */

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 28px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 0 18px rgba(124, 58, 237, 0.35);
}

/* SIDEBAR MAIS LIMPA */

.sidebar {
  width: 220px;
  padding: 26px 20px;
}

.content {
  margin-left: 220px;
}

.sidebar a {
  font-size: 15px;
  padding: 13px 14px;
  border-radius: 12px;
}

.sidebar-account {
  padding: 14px;
  border-radius: 14px;
  margin-bottom: 22px;
}

.sidebar-account strong {
  font-size: 14px;
}

.sidebar-account span {
  font-size: 12px;
}

/* SIDEBAR 2.1 */

.sidebar {
  width: 200px;
  padding: 28px 16px;
}

.content {
  margin-left: 200px;
}

.sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  padding: 12px 13px;
}

/* VISUAL 2.0 - SIDEBAR COMPACTA */

.sidebar {
  width: 180px;
  padding: 24px 14px;
}

.content {
  margin-left: 180px;
}

.logo {
  gap: 10px;
  font-size: 15px;
  margin-bottom: 22px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  font-size: 16px;
}

.sidebar-account {
  padding: 12px;
  margin-bottom: 20px;
}

.sidebar-account strong {
  font-size: 13px;
}

.sidebar-account span {
  font-size: 11px;
}

.sidebar a {
  font-size: 13px;
  padding: 11px 12px;
  border-radius: 10px;
  gap: 8px;
}

/* VISUAL 2.0 - DASHBOARD COMPACTO */

.content {
  padding: 36px 34px;
}

.dashboard-header {
  margin-bottom: 26px;
}

.dashboard-header h1,
.content h1 {
  font-size: 30px;
  margin-bottom: 8px;
}

.dashboard-header p,
.content > p {
  font-size: 15px;
  margin-bottom: 20px;
}

.cards {
  gap: 14px;
  margin-bottom: 20px;
}

.card {
  min-height: 82px;
  padding: 22px 24px;
  border-radius: 16px;
}

.card h2 {
  font-size: 30px;
  line-height: 1;
  margin-bottom: 8px;
}

.card span {
  font-size: 14px;
}

.panel {
  padding: 24px;
  border-radius: 18px;
  margin-bottom: 20px;
}

.panel h2,
.panel h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

.dashboard-grid,
.dashboard-main-grid {
  gap: 20px;
}

.active-account-box {
  padding: 18px;
}

.network-status-grid {
  gap: 12px;
}

.network-status-card {
  min-height: 58px;
  padding: 14px 16px;
  border-radius: 14px;
}

.video-row {
  padding: 14px 0;
}

/* FORÇAR DASHBOARD COMPACTO */

.cards {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px !important;
  margin-bottom: 18px !important;
}

.cards .card {
  min-height: unset !important;
  height: 74px !important;
  padding: 18px 22px !important;
  border-radius: 15px !important;
}

.cards .card h2 {
  font-size: 26px !important;
  margin: 0 0 6px 0 !important;
  line-height: 1 !important;
}

.cards .card span {
  font-size: 13px !important;
}

.panel {
  min-height: unset !important;
  padding: 22px 24px !important;
  border-radius: 16px !important;
  margin-bottom: 18px !important;
}

.dashboard-two-columns,
.dashboard-grid,
.dashboard-main-grid {
  gap: 18px !important;
}

.dashboard-two-columns .panel,
.dashboard-grid .panel,
.dashboard-main-grid .panel {
  min-height: 150px !important;
}

.card,
.summary-card,
.stat-card {
    min-height: 65px !important;
    height: 65px !important;
    padding: 14px 18px !important;
}

.content h1{
    margin-bottom:6px !important;
}

.content p{
    margin-bottom:18px !important;
}

.cards{
    gap:12px !important;
}

.dashboard-row .panel{
    min-height:180px !important;
}

.panel h2{
    font-size:18px !important;
}

/* DASHBOARD LIMPO 2.1 */

.dashboard-clean-cards {
  grid-template-columns: repeat(4, 1fr) !important;
  margin-bottom: 18px !important;
}

.dashboard-clean-cards .card {
  height: 64px !important;
  padding: 14px 18px !important;
}

.dashboard-account-panel {
  padding: 18px 20px !important;
}

.dashboard-account-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.dashboard-account-header h2 {
  margin: 0 !important;
  font-size: 20px !important;
}

.dashboard-account-compact {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.compact-avatar {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  border-radius: 12px !important;
}

.dashboard-account-info h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.dashboard-account-info p {
  margin: 0 0 8px;
  font-size: 13px;
}

.compact-network-grid {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px !important;
}

.compact-network-grid .network-status-card {
  min-height: unset !important;
  padding: 11px 13px !important;
  border-radius: 12px !important;
}

.network-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  margin-right: 6px;
}

.instagram-pill {
  background: rgba(255, 0, 120, 0.14);
  color: #ff5fa2;
}

.facebook-pill {
  background: rgba(24, 119, 242, 0.15);
  color: #63a4ff;
}

.tiktok-pill {
  background: rgba(0, 255, 255, 0.12);
  color: #7df9ff;
}

.dashboard-recent-posts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dashboard-recent-post {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0b0d14;
  border: 1px solid #2a2d3a;
  border-radius: 14px;
  padding: 13px 15px;
}

.recent-post-main strong {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
}

.recent-post-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.recent-post-main small {
  color: #94a3b8;
  font-size: 12px;
}

.recent-post-actions {
  margin-left: 14px;
}

/* STATUS DOT PADRÃO */

.status-dot,
.status-green {
  width: 9px !important;
  height: 9px !important;
  min-width: 9px !important;
  border-radius: 999px !important;
  background: #22c55e !important;
  display: inline-block !important;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.45) !important;
}

.sidebar-account .active-account {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* TROCA DE PERFIL NA SIDEBAR */

.sidebar-account-switch {
  position: relative;
}

.sidebar-account-button {
  width: 100%;
  background: transparent;
  border: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
  padding: 0;
}

.sidebar-account-button b {
  position: absolute;
  right: 12px;
  top: 18px;
  color: #94a3b8;
}

.sidebar-profile-menu {
  display: none;
  margin-top: 10px;
  background: #0b0d14;
  border: 1px solid #2a2d3a;
  border-radius: 12px;
  padding: 8px;
}

.sidebar-profile-menu.show {
  display: block;
}

.sidebar-profile-menu form {
  margin: 0;
}

.sidebar-profile-menu button {
  width: 100%;
  background: transparent;
  border: 0;
  color: #cbd5e1;
  padding: 9px 8px;
  text-align: left;
  border-radius: 8px;
  cursor: pointer;
}

.sidebar-profile-menu button:hover {
  background: #1f1538;
  color: #fff;
}

/* INPUTS DATA/HORA */

input[type="date"],
input[type="time"] {
  cursor: pointer !important;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(2) !important;
  opacity: 1 !important;
  cursor: pointer !important;
}

/* LABEL/CARD DE DATA/HORA */

.datetime-card {
  display: block !important;
  width: 100% !important;
  cursor: pointer !important;
}

.datetime-card input[type="date"],
.datetime-card input[type="time"] {
  width: 100% !important;
  height: 46px !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

/* DATA/HORA GLOBAL DO AGENDAMENTO EM MASSA */

.bulk-tools-row .datetime-card {
  width: 140px !important;
  height: 46px !important;
}

.bulk-tools-row .datetime-card input[type="date"],
.bulk-tools-row .datetime-card input[type="time"] {
  height: 46px !important;
}

/* AGENDAMENTO EM MASSA - FORMATO EQUILIBRADO */

#videoGrid.bulk-grid.compact-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)) !important;
  gap: 16px !important;
  align-items: start !important;
}

#videoGrid .bulk-video-card.compact-card {
  width: 100% !important;
  max-width: 320px !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: unset !important;
  padding: 12px !important;
  box-sizing: border-box !important;
  border-radius: 16px !important;
  justify-self: start !important;
}

#videoGrid .bulk-preview-box {
  width: 100% !important;
  height: 125px !important;
  min-height: 125px !important;
  max-height: 125px !important;
  aspect-ratio: unset !important;
  overflow: hidden !important;
  border-radius: 14px !important;
  background: #070811 !important;
  margin-bottom: 10px !important;
}

/* AGENDAMENTO EM MASSA - CARDS */

#videoGrid .bulk-preview-box img,
#videoGrid .bulk-preview-box video {
  width: 100% !important;
  height: 125px !important;
  min-height: 125px !important;
  max-height: 125px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 14px !important;
}

#videoGrid .bulk-card-info strong {
  font-size: 13px !important;
  margin-bottom: 6px !important;
}

#videoGrid .bulk-card-badges {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
  margin: 6px 0 10px !important;
}

#videoGrid .bulk-card-info textarea,
#videoGrid .bulk-legenda {
  width: 100% !important;
  height: 62px !important;
  min-height: 62px !important;
  max-height: 62px !important;
  resize: none !important;
}

#videoGrid .bulk-card-inputs {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  margin-top: 10px !important;
}

#videoGrid .bulk-card-inputs input {
  height: 38px !important;
  font-size: 12px !important;
}

/* BIBLIOTECA 2.0 */

.page-header-clean {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.page-header-clean h1 {
  margin-bottom: 6px;
}

.page-header-clean p {
  margin: 0;
  color: #9ca3af;
}

.library-filter-panel {
  background: #171821;
  border: 1px solid #2a2d3a;
  border-radius: 18px;
  padding: 14px;
  margin-bottom: 16px;
}

.library-filter-form {
  display: grid;
  grid-template-columns: 1fr 160px 120px;
  gap: 12px;
  align-items: center;
}

.library-filter-form input,
.library-filter-form select {
  height: 44px;
  border-radius: 12px;
  border: 1px solid #2a2d3a;
  background: #0b0d14;
  color: #fff;
  padding: 0 14px;
}

.library-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.library-stat-card {
  background: #171821;
  border: 1px solid #2a2d3a;
  border-radius: 16px;
  padding: 16px 18px;
}

.library-stat-card strong {
  display: block;
  font-size: 24px;
  line-height: 1;
  margin-bottom: 7px;
}

.library-stat-card span {
  color: #9ca3af;
  font-size: 13px;
}

.library-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #171821;
  border: 1px solid #2a2d3a;
  border-radius: 16px;
  padding: 13px 15px;
  margin-bottom: 16px;
}

.library-actions-bar div {
  display: flex;
  gap: 6px;
  align-items: center;
}

.library-actions-bar span {
  color: #9ca3af;
  font-size: 13px;
}

.library-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.library-card-2 {
  position: relative;
  background: #171821;
  border: 1px solid #2a2d3a;
  border-radius: 18px;
  padding: 12px;
  overflow: hidden;
}

.library-preview-2 {
  height: 140px;
  border-radius: 14px;
  overflow: hidden;
  background: #070811;
  margin-bottom: 11px;
}

.library-preview-2 img,
.library-preview-2 video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.library-preview-2 video,
.library-preview-2 img {
  pointer-events: none !important;
}

.library-check-2 {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.library-check-2 input[type="checkbox"] {
  appearance: none;
  width: 14px !important;
  height: 14px !important;
  border: 2px solid #ffffff !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative;
  z-index: 101;
}

.library-check-2 input[type="checkbox"]:checked {
  background: #8b5cf6 !important;
  border-color: #8b5cf6 !important;
}

.library-check-2 input[type="checkbox"]:disabled {
  opacity: 0.35;
  cursor: not-allowed !important;
}

.library-info-2 strong {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.library-meta-2 {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 9px;
}

.library-meta-2 span:last-child {
  color: #9ca3af;
  font-size: 12px;
}

.library-card-actions-2 {
  margin-top: 12px;
}

.empty-state-clean {
  background: #171821;
  border: 1px solid #2a2d3a;
  border-radius: 18px;
  padding: 34px;
  text-align: center;
  color: #9ca3af;
}

.empty-state-clean strong {
  display: block;
  color: #fff;
  margin-bottom: 8px;
}

.empty-state-clean p {
  margin: 0;
}

/* MEUS POSTS 2.1 */

.posts-filter-compact {
  padding: 14px !important;
  margin: 18px 0 16px !important;
}

.posts-filter-compact .posts-filter-row {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 10px !important;
}

.posts-filter-compact select,
.posts-filter-compact input {
  height: 42px !important;
  border-radius: 12px !important;
}

.posts-filter-compact input[name="busca"] {
  grid-column: span 4 !important;
}

.posts-filter-compact button {
  height: 42px !important;
}

.posts-summary-compact {
  gap: 12px !important;
  margin-bottom: 16px !important;
}

.posts-summary-compact .summary-mini-card {
  padding: 13px 16px !important;
  border-radius: 14px !important;
}

.posts-summary-compact .summary-mini-card strong {
  font-size: 22px !important;
}

.posts-bulk-actions,
.posts-bulk-compact {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: nowrap !important;
  background: #171821 !important;
  border: 1px solid #2a2d3a !important;
  border-radius: 16px !important;
  padding: 14px 18px !important;
  margin-bottom: 18px !important;
}

.posts-bulk-actions .bulk-title,
.posts-bulk-compact .bulk-title {
  margin: 0 8px 0 0 !important;
  white-space: nowrap !important;
  font-weight: 800 !important;
  min-width: auto !important;
}

.posts-bulk-actions .bulk-date-row {
  display: contents !important;
}

.posts-bulk-actions .datetime-card,
.posts-bulk-compact .datetime-card {
  width: 140px !important;
  flex: 0 0 140px !important;
  margin: 0 !important;
}

.posts-bulk-actions .datetime-card input,
.posts-bulk-compact .datetime-card input {
  height: 38px !important;
}

.posts-bulk-actions .btn,
.posts-bulk-compact .btn {
  height: 34px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  white-space: nowrap !important;
}

.posts-table-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.post-row-card {
  position: relative;
  display: grid !important;
  grid-template-columns: 26px 64px 1.6fr 150px 110px 250px !important;
  gap: 12px !important;
  align-items: center;
  min-height: 78px !important;
  background: #171821;
  border: 1px solid #2a2d3a;
  border-radius: 16px;
  padding: 10px 14px !important;
}

.post-row-check input {
  width: 14px !important;
  height: 14px !important;
  accent-color: #8b5cf6;
}

.post-row-thumb {
  width: 60px !important;
  height: 60px !important;
  border-radius: 12px !important;
  overflow: hidden;
  background: #070811;
}

.post-row-thumb img,
.post-row-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-row-main strong {
  display: block;
  font-size: 13px !important;
  margin-bottom: 5px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-row-main small {
  color: #94a3b8;
  font-size: 11px !important;
}

.post-row-tags {
  display: flex;
  gap: 4px !important;
  flex-wrap: wrap;
  margin-bottom: 4px !important;
}

.post-row-date,
.post-row-time {
  display: none !important;
}

.post-row-schedule span {
  display: block;
  color: #94a3b8;
  font-size: 11px;
  margin-bottom: 3px;
}

.post-row-schedule strong {
  display: block;
  font-size: 12px;
}

.post-row-schedule small {
  display: block;
  color: #cbd5e1;
  font-size: 12px;
  margin-top: 2px;
}

.post-row-status {
  justify-self: start !important;
}

.post-row-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  flex-wrap: nowrap !important;
}

.post-row-actions form {
  margin: 0 !important;
}

.post-row-actions .mini-btn,
.post-row-actions .btn {
  width: 58px !important;
  min-width: 58px !important;
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 !important;
  font-size: 11px !important;
  border-radius: 9px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.post-error-line {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fecaca;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
}

/* CONTAS 2.0 */

.accounts-create-panel,
.accounts-list-panel {
  background: #171821;
  border: 1px solid #2a2d3a;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 18px;
}

.accounts-create-form {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 12px;
  align-items: center;
}

.accounts-create-form input {
  height: 42px;
  border-radius: 12px;
  border: 1px solid #2a2d3a;
  background: #0b0d14;
  color: #fff;
  padding: 0 14px;
}

.accounts-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.accounts-section-header h2 {
  margin: 0;
  font-size: 18px;
}

.accounts-section-header span {
  color: #94a3b8;
  font-size: 13px;
}

.account-card-2 {
  background: #0f111a;
  border: 1px solid #2a2d3a;
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
}

.account-card-2 summary {
  list-style: none;
}

.account-card-2 summary::-webkit-details-marker {
  display: none;
}

.account-summary-2 {
  display: grid;
  grid-template-columns: 1.3fr 1fr 24px;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  cursor: pointer;
}

.account-main-2 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-avatar-2 {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  border-radius: 13px !important;
  object-fit: cover;
}

.account-info-2 strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
}

.account-info-2 small {
  color: #94a3b8;
  font-size: 12px;
}

.account-pills-2 {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}

.account-summary-stats-2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.account-summary-stats-2 div {
  background: #171821;
  border: 1px solid #2a2d3a;
  border-radius: 12px;
  padding: 9px 10px;
}

.account-summary-stats-2 strong {
  display: block;
  font-size: 16px;
  line-height: 1;
  margin-bottom: 4px;
}

.account-summary-stats-2 span {
  color: #94a3b8;
  font-size: 11px;
}

.account-arrow {
  color: #94a3b8;
  justify-self: end;
}

.account-expanded-2 {
  border-top: 1px solid #2a2d3a;
  padding: 14px 16px 16px;
}

.compact-last-post {
  background: #0b0d14;
  border: 1px solid #2a2d3a;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 13px;
}

.social-links-2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.social-box-2 {
  background: #171821;
  border: 1px solid #2a2d3a;
  border-radius: 14px;
  padding: 13px;
}

.social-box-head-2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.social-box-head-2 strong {
  font-size: 14px;
}

.social-box-2 small {
  display: block;
  color: #94a3b8;
  font-size: 12px;
  margin-bottom: 12px;
}

.social-actions-2 {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.social-actions-2 form {
  margin: 0;
}

.account-actions-2 {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}

.account-actions-2 .btn {
  width: auto !important;
  min-width: 130px !important;
  height: 38px !important;
  padding: 0 16px !important;
  font-size: 13px !important;
  border-radius: 10px !important;
}

/* CONTAS - AJUSTE FINO */

.account-actions-2 .btn {
  min-width: 92px !important;
  width: auto !important;
  height: 32px !important;
  padding: 0 12px !important;
  font-size: 11px !important;
  border-radius: 9px !important;
}

.account-pills-2 .network-pill {
  height: 24px !important;
  padding: 0 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  font-size: 12px !important;
}

.account-pills-2 .status {
  height: 24px !important;
  padding: 0 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  font-size: 12px !important;
}

/* BADGES ALINHADAS */

.account-pills-2 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.account-pills-2 .status,
.account-pills-2 .network-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    height: 24px !important;
    line-height: 24px !important;

    padding: 0 10px !important;
    border-radius: 999px !important;

    font-size: 12px !important;
    font-weight: 600 !important;

    margin: 0 !important;
    vertical-align: middle !important;
}

/* BOTÃO CRIAR CONTA MAIS COMPACTO */

.create-account-form {
    display: flex;
    gap: 12px;
    align-items: center;
}

.create-account-form input {
    flex: 1;
}

.create-account-form .btn {
    height: 42px !important;
    min-width: 130px !important;

    padding: 0 18px !important;

    font-size: 13px !important;
    font-weight: 600 !important;

    border-radius: 12px !important;
}

.create-account-form .btn {
    position: relative;
    top: -10px;
}

/* AGENDAMENTO EM MASSA 2.0 - LIMPO */

.bulk-panel {
  padding: 18px !important;
}

.bulk-panel h3 {
  font-size: 18px !important;
  margin: 18px 0 12px !important;
}

.bulk-panel .upload-box {
  min-height: 82px !important;
  border-radius: 16px !important;
  padding: 18px !important;
}

.social-select {
  gap: 10px !important;
}

.social-select label {
  min-width: 110px !important;
  height: 58px !important;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
}

.publication-type-grid {
  gap: 12px !important;
}

.publication-type-card {
  min-height: 86px !important;
  padding: 14px !important;
  border-radius: 14px !important;
}

.publication-type-card span {
  font-size: 19px !important;
  margin-bottom: 6px !important;
}

.publication-type-card strong {
  font-size: 14px !important;
}

.publication-type-card small {
  font-size: 11px !important;
}

/* BLOCO CONTEÚDOS ADICIONADOS */

.bulk-tools-2 {
  padding: 14px !important;
  border-radius: 16px !important;
}

.bulk-tools-2 textarea {
  height: 64px !important;
  min-height: 64px !important;
  max-height: 64px !important;
  border-radius: 12px !important;
}

.bulk-tools-row {
  gap: 10px !important;
  margin-top: 12px !important;
}

.bulk-tools-row input,
.bulk-tools-row select {
  height: 40px !important;
  border-radius: 11px !important;
  font-size: 12px !important;
}

.bulk-redes-todos label {
  height: 54px !important;
  min-width: 105px !important;
  font-size: 13px !important;
}

.bulk-tools-row .btn {
  height: 34px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
}

/* PROGRESSO MAIS CLEAN */

.bulk-progress-wrapper {
  padding: 10px 12px !important;
  border-radius: 14px !important;
  margin: 14px 0 !important;
}

.bulk-progress-info {
  font-size: 12px !important;
}

/* BOTÃO SALVAR */

#salvarMassa {
  width: auto !important;
  min-width: 160px !important;
  height: 40px !important;
  padding: 0 18px !important;
  border-radius: 11px !important;
  font-size: 13px !important;
}

/* QUANDO TIVER CONTEÚDOS */

#videoGrid.bulk-grid.compact-grid {
  grid-template-columns: repeat(4, minmax(220px, 1fr)) !important;
  gap: 14px !important;
}

#videoGrid .bulk-video-card.compact-card {
  padding: 10px !important;
  border-radius: 14px !important;
}

#videoGrid .bulk-preview-box {
  height: 92px !important;
  min-height: 92px !important;
  max-height: 92px !important;
  border-radius: 12px !important;
}

#videoGrid .bulk-preview-box img,
#videoGrid .bulk-preview-box video {
  height: 92px !important;
  min-height: 92px !important;
  max-height: 92px !important;
  border-radius: 12px !important;
}

#videoGrid .bulk-card-info strong {
  font-size: 13px !important;
}

#videoGrid .bulk-legenda {
  height: 50px !important;
  min-height: 50px !important;
  max-height: 50px !important;
  border-radius: 10px !important;
}

#videoGrid .bulk-card-inputs input {
  height: 36px !important;
  font-size: 12px !important;
}

/* AGENDAMENTO EM MASSA 2.1 */

.bulk-panel-clean {
  padding: 18px !important;
}

.massa-round-networks {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 8px 0 18px;
}

.massa-round-networks label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  height: auto !important;
  min-width: unset !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 14px !important;
  cursor: pointer;
}

.massa-round-networks input {
  display: none;
}

.massa-round-networks span {
  width: 15px;
  height: 15px;
  border-radius: 999px;
  border: 2px solid #6b7280;
  background: transparent;
  display: inline-block;
}

.massa-round-networks input:checked + span {
  background: #8b5cf6;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.16);
}

.massa-publication-grid .publication-type-card {
  min-height: 78px !important;
}

.massa-publication-grid .content-icon {
  font-size: 22px !important;
  color: #8b5cf6;
}

.massa-progress-top {
  margin: 18px 0 20px !important;
}

.massa-tools-clean {
  padding: 14px !important;
  border-radius: 16px !important;
}

.massa-tools-clean textarea {
  height: 62px !important;
  min-height: 62px !important;
  max-height: 62px !important;
  text-align: left;
}

.massa-controls-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.massa-controls-center .datetime-card {
  width: 145px !important;
  flex: 0 0 145px !important;
}

.massa-controls-center input,
.massa-controls-center select {
  height: 38px !important;
  border-radius: 11px !important;
}

.massa-controls-center select {
  width: 130px;
}

.massa-round-networks-center {
  justify-content: center;
  margin-top: 18px;
}

.massa-apply-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.massa-apply-buttons .btn {
  height: 34px !important;
  padding: 0 15px !important;
  font-size: 12px !important;
  border-radius: 10px !important;
}

#salvarMassa {
  margin-top: 14px;
}

/* MASSA - REDES NA ALTURA DOS CAMPOS */

.massa-tools-clean {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.massa-controls-center,
.massa-round-networks-center {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  margin-top: 14px !important;
}

.massa-round-networks-center {
  transform: translateY(-2px);
}

.massa-round-networks-center label {
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.massa-round-networks-center span {
  width: 16px !important;
  height: 16px !important;
}

/* MASSA - AJUSTE FINAL DO BLOCO CONTEÚDOS */

.massa-tools-clean {
  position: relative !important;
  min-height: 250px !important;
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
}

/* joga a legenda para baixo de tudo */
.massa-tools-clean textarea#legendaTodos {
  order: 4 !important;
  margin-top: 20px !important;
  height: 62px !important;
  min-height: 62px !important;
  max-height: 62px !important;
}

/* primeira linha: data, hora e tipo */
.massa-controls-center {
  order: 1 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 6px !important;
  margin-bottom: 14px !important;
}

/* segunda linha: redes, mais alta e com mesma cor dos cards */
.massa-round-networks-center {
  order: 2 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 0 !important;
  margin-bottom: 14px !important;
  transform: translateY(-4px) !important;
}

.massa-round-networks-center label {
  height: 38px !important;
  min-width: 112px !important;
  padding: 0 14px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;

  background: #0b0d14 !important;
  border: 1px solid #2a2d3a !important;
  border-radius: 11px !important;

  color: #fff !important;
  font-size: 13px !important;
}

/* bolinha redonda das redes */
.massa-round-networks-center label span {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  border-radius: 999px !important;
  border: 2px solid #64748b !important;
  background: transparent !important;
}

.massa-round-networks-center input:checked + span {
  background: #8b5cf6 !important;
  border-color: #8b5cf6 !important;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.18) !important;
}

/* terceira linha: botões */
.massa-apply-buttons {
  order: 3 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* select escuro igual aos outros inputs */
.massa-controls-center select,
#tipoTodos {
  background: #0b0d14 !important;
  color: #fff !important;
  border: 1px solid #2a2d3a !important;
  height: 38px !important;
  border-radius: 11px !important;
}

/* botão salvar mais próximo do card */
#salvarMassa {
  margin-top: 10px !important;
}

/* TIPO IGUAL DATA E HORA */

#tipoTodos,
.massa-controls-center select {
    width: 160px !important;
    min-width: 160px !important;
    height: 42px !important;

    background: #0b0d14 !important;
    border: 1px solid #2a2d3a !important;
    border-radius: 11px !important;

    color: #fff !important;
    font-size: 13px !important;

    position: relative !important;
    top: -8px !important;
}

/* AGENDAR POST - REDES REDONDAS */

.single-round-networks {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 8px 0 18px;
}

.single-round-networks label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 14px !important;
  cursor: pointer;
}

.single-round-networks input {
  display: none;
}

.single-round-networks span {
  width: 15px;
  height: 15px;
  border-radius: 999px;
  border: 2px solid #64748b;
  background: transparent;
  display: inline-block;
}

.single-round-networks input:checked + span {
  background: #8b5cf6;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.18);
}

/* CALENDÁRIO 2.0 */

.calendar-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.calendar-profile-form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.calendar-profile-form select {
  height: 38px;
  border-radius: 10px;
  background: #0b0d14;
  border: 1px solid #2a2d3a;
  color: #fff;
  padding: 0 12px;
}

.calendar-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.calendar-nav strong {
  min-width: 150px;
  text-align: center;
}

.calendar-month {
  background: #171821;
  border: 1px solid #2a2d3a;
  border-radius: 18px;
  padding: 16px;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}

.calendar-weekdays span {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.calendar-grid-month {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.calendar-day {
  min-height: 118px;
  background: #0b0d14;
  border: 1px solid #2a2d3a;
  border-radius: 14px;
  padding: 10px;
  overflow: hidden;
}

.calendar-day.empty {
  opacity: 0.25;
}

.calendar-day-number {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.calendar-day-number strong {
  font-size: 14px;
}

.calendar-day-number span {
  font-size: 11px;
  color: #a78bfa;
  background: rgba(139, 92, 246, 0.15);
  padding: 3px 7px;
  border-radius: 999px;
}

.calendar-events {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calendar-event-mini {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #11131c;
  border: 1px solid #2a2d3a;
  border-radius: 10px;
  padding: 6px;
  text-decoration: none;
  color: #fff;
}

.calendar-event-thumb {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  overflow: hidden;
  background: #070811;
  flex-shrink: 0;
}

.calendar-event-thumb img,
.calendar-event-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.calendar-event-text span {
  display: block;
  font-size: 11px;
  color: #a78bfa;
}

.calendar-event-text strong {
  display: block;
  font-size: 11px;
  max-width: 90px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calendar-event-text small {
  display: block;
  font-size: 10px;
  color: #94a3b8;
}

.calendar-more {
  font-size: 11px;
  color: #a78bfa;
  text-decoration: none;
  margin-top: 2px;
}

/* DETALHE DO DIA */

.calendar-day-detail {
  background: #171821;
  border: 1px solid #2a2d3a;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 18px;
}

.calendar-day-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.calendar-day-detail-header h2 {
  margin: 0 0 4px;
  font-size: 20px;
}

.calendar-day-detail-header p {
  margin: 0;
  color: #94a3b8;
}

.calendar-day-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calendar-day-list-item {
  display: grid;
  grid-template-columns: 60px 80px 1fr;
  align-items: center;
  gap: 12px;
  background: #0b0d14;
  border: 1px solid #2a2d3a;
  border-radius: 14px;
  padding: 10px;
  color: #fff;
  text-decoration: none;
}

.calendar-day-list-thumb {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  overflow: hidden;
  background: #070811;
}

.calendar-day-list-thumb img,
.calendar-day-list-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.calendar-day-list-time strong {
  display: block;
  font-size: 14px;
}

.calendar-day-list-time span {
  display: inline-block;
  margin-top: 5px;
  font-size: 11px;
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  padding: 4px 8px;
  border-radius: 999px;
}

.calendar-day-list-content strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.calendar-day-list-content span {
  display: block;
  color: #cbd5e1;
  font-size: 12px;
  margin-bottom: 3px;
}

.calendar-day-list-content small {
  color: #94a3b8;
  font-size: 12px;
}

.single-round-networks {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 8px 0 18px;
}

.single-round-networks label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 14px !important;
  cursor: pointer;
}

.single-round-networks input {
  display: none;
}

.single-round-networks span {
  width: 15px;
  height: 15px;
  border-radius: 999px;
  border: 2px solid #64748b;
  background: transparent;
  display: inline-block;
}

.single-round-networks input:checked + span {
  background: #8b5cf6;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.18);
}