/* style.css - Custom styles for WpSender */
:root {
  --bg: #f8f9fa;
  --text: #212529;
  --accent: #20c997;
  /* Teal */
}
.pc-sidebar .pc-link {
    border-radius: 15px;
    border: 1px solid transparent;
    margin: 10px;
}
.pc-sidebar .pc-link:focus,
.pc-sidebar .pc-link.active,
.pc-sidebar .pc-link:hover {
  background: #d2e4d7;
  border: 1px solid #86c5a0;
      font-weight: 600;
}


.dash fieldset legend {
  font-size: 15px;
  background: #fff;
  float: left;
  top: -13px;
  position: relative;
  border: 1px solid #ddd;
  width: 200px;
  text-align: center;
}

.dash fieldset {
  padding: 0px 10px;
  border: 1px solid #dae7f3;
  margin: 2rem 0rem;
  background: #e8f4ff;
}

#twilioReportTable,
#selectAllModules {
  white-space: nowrap;
}

.body-full {
  white-space: pre-wrap;
  margin-top: 5px;
}

.table th {
  background-color: #fff;
}

.table td,
.table th {
  padding: 6px !important;
  font-size: 13px;
}

/* for alamin logo */
.pc-sidebar .m-header {
  display: block;
  align-items: center;
  border-bottom: 1px solid #eee;
  box-shadow: 0px 1px 2px #eee;
  text-align: center;
  padding-bottom: 10px;
}

.ispexe-logo {
  height: 40px;
}

/* for ispexe logo */
/* .pc-sidebar .m-header {
  height: 60px;
  display: block;
  align-items: center;
  padding: 10px 24px;
  border-bottom: 1px solid #eee;
  background: #fafafa;
  box-shadow: 0px 1px 2px #eee;
}

.ispexe-logo {
  height: 40px;
} */

table.dataTable {
  background: #fffefe;
}

/* Extra small button variant */
.btn-xs {
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  gap: 0.35rem;
}

/* Optional: smaller icon size */
.btn-xs i {
  font-size: 0.85rem;
}

/* Base input reset */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea,
.form-control {
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
}

/* Label styling */
label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.25rem;
  display: block;
}

/* Optional: compact form group */
.form-group {
  margin-bottom: 0.75rem;
}

/* Optional: inline icon support */
.input-icon {
  position: relative;
}

.input-icon input {
  padding-left: 2rem;
}

.input-icon i {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  transform: translateY(-50%);
  color: #adb5bd;
  font-size: 0.9rem;
}

/* Container */
.floating-group {
  position: relative;
  margin-bottom: 1rem;
}

/* Input field */
.floating-group input,
.floating-group textarea,
.floating-group select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 0.8rem;
  border: 1px solid #ced4da;
  border-radius: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Label */
.floating-group label {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: #6c757d;
  pointer-events: none;
  transition: all 0.2s ease;
  background-color: transparent;
}

/* Focused or filled */
.floating-group input:focus+label,
.floating-group input:not(:placeholder-shown)+label,
.floating-group textarea:focus+label,
.floating-group textarea:not(:placeholder-shown)+label,
.floating-group select:focus+label,
.floating-group select:not([value=""])+label {
  top: 0.3rem;
  font-size: 0.65rem;
  color: #20c997;
  background-color: #f8f9fa;
  padding: 0 0.25rem;
}

/* Optional: focus ring */
.floating-group input:focus,
.floating-group textarea:focus,
.floating-group select:focus {
  border-color: #20c997;
  box-shadow: 0 0 0 2px rgba(32, 201, 151, 0.25);
  outline: none;
}

/* Target DataTables search input */
.dataTables_filter {
  position: relative;
  float: right;
}

.dataTables_filter label {
  position: relative;
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.25rem;
}

/* Floating label container */
.dataTables_filter input[type="search"] {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  height: 1em;
  color: #212529;
}

.animate-slide-down {
  animation: slideDown 0.4s ease-out;
}

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

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

#campaign i {
  position: absolute;
  font-size: 5rem;
  right: 0;
  top: 8px;
  opacity: 0.6;
}

#campaign:hover i {
  opacity: 1;
}

#cardOverlay,
.cardOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
}

@keyframes flyMessage {
  0% {
    transform: translateX(-100vw) translateY(0) rotate(0deg);
    opacity: 0;
  }

  50% {
    opacity: 0.6;
  }

  100% {
    transform: translateX(100vw) translateY(-30px) rotate(360deg);
    opacity: 0;
  }
}

.flying-icon {
  position: absolute;
  top: calc(20% + var(--offset, 0px));
  left: -60px;
  font-size: 1.8rem;
  color: rgba(0, 123, 255, 0.3);
  animation: flyMessage var(--speed, 6s) linear forwards;
  pointer-events: none;
  z-index: 0;
}

.alamin {
  padding: 0px !important;
  background: #484b4a;
  overflow: hidden;
}

.alamin img {
  width: 79%;
  height: auto;
  background: #484b4a;
}