
.tickets_tables_header {
    text-align: center;
}
/* --- Jumbotron & Cards --- */
.jumbotron.tickets .btn {
  margin: 0px 5px;
}
.card
{
    min-height: 120px;
    border-radius: 0.3rem !important;
    border: 1px solid #c0c1c5 !important;
    -webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* --- Integration List Table --- */
.integration-row {
  border-bottom: 1px solid #e9ecef;
  -webkit-transition: background-color 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out;
}
.integration-row:last-child {
  border-bottom: none;
}
.integration-row:hover {
  background-color: #f8f9fa;
}
.tickets_tables_header {
  color: #6c757d;
  font-weight: 600;
  font-size: 0.9rem;
}
.center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.integration-value-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    width: 100%;
}
.integration_code {
  text-align: left;
  direction: ltr;
  word-break: break-all;
}
.edit_btn {
  width: 30px;
  height: 30px;
  padding: 0;
  margin-right: 10px;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

/* --- Integrations Grid Section --- */
.integrations-section {
  margin-bottom: 40px;
}
.integrations-section-title {
  font-size: 1.5rem;
  font-weight: 300;
  color: #343a40;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dee2e6;
}
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}
.box {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
          box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: -webkit-gradient(linear, left top, right top, from(#01b0cf), to(#0278a4));
  background: linear-gradient(90deg, #01b0cf, #0278a4);
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
  -webkit-transform-origin: left;
          transform-origin: left;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
.box:hover {
  -webkit-transform: translateY(-8px);
          transform: translateY(-8px);
  -webkit-box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
          box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
  border-color: #01b0cf;
}
.box:hover::before {
  -webkit-transform: scaleX(1);
          transform: scaleX(1);
}
.box i {
  font-size: 3rem;
  color: #6c757d;
  margin-bottom: 15px;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
.box:hover i {
  color: #01b0cf;
}
.box span {
  font-size: 0.9rem;
  font-weight: 500;
  color: #495057;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
.box:hover span {
  color: #01b0cf;
}
.box .brand-logo {
  max-height: 50px;
  width: auto;
  margin-bottom: 15px;
  -webkit-filter: grayscale(100%);
          filter: grayscale(100%);
  -webkit-transition: -webkit-filter 0.3s ease;
  transition: -webkit-filter 0.3s ease;
  transition: filter 0.3s ease;
  transition: filter 0.3s ease, -webkit-filter 0.3s ease;
}
.box:hover .brand-logo {
  -webkit-filter: grayscale(0%);
          filter: grayscale(0%);
}

/* --- Inactive State --- */
.box.not_active {
    border-color: #e9ecef;
    cursor: not-allowed;
    background: repeating-linear-gradient(45deg, /* زاویه هاشور */ #f0f0f0, /* رنگ روشن */ #f0f0f0 10px, /* ضخامت اولین رنگ */ #e0e0e0 10px, /* شروع رنگ دوم */ #e0e0e0 20px /* ضخامت رنگ دوم */);
    opacity: 0.3;
}
.box.not_active:hover {
  -webkit-transform: none;
          transform: none;
  -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
          box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border-color: #e9ecef;
}
.box.not_active:hover::before {
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
}
.box.not_active:hover i,
.box.not_active:hover span {
  color: #6c757d;
}
.box.not_membership {
  background-color: #fff5f5;
  border-color: #ffcdd2;
  position: relative;
}
.box.not_membership::after {
  content: 'نیاز به اشتراک';
  position: absolute;
  bottom: 10px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  background-color: #f44336;
  color: white;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}
.box.not_membership:hover {
  background-color: #ffebee;
  border-color: #ef9a9a;
}
.box.not_membership .brand-logo {
  -webkit-filter: grayscale(100%) sepia(50%) hue-rotate(340deg) saturate(700%);
          filter: grayscale(100%) sepia(50%) hue-rotate(340deg) saturate(700%);
}
.box.not_membership:hover .brand-logo {
  -webkit-filter: grayscale(100%) sepia(50%) hue-rotate(340deg) saturate(900%);
          filter: grayscale(100%) sepia(50%) hue-rotate(340deg) saturate(900%);
}

/* --- Modal Styles --- */
.bg_ani {
  top: -10px;
  position: absolute;
  left: -14px;
  opacity: 1;
  z-index: 0;
}
.coming_soon {
  text-align: center;
  margin: 0 11px;
  font-size: 14px;
  line-height: 32px;
  font-weight: 100;
}
.coming_soon img {
  height: 260px;
  margin: 0 auto;
}
.red {
  color: #d40000;
}
.ltr.form-group input {
  direction: ltr;
}
.integrationMessage {
  position: absolute;
  display: block;
  right: 13px;
}
.integration_help {
  text-align: right;
  background: #f8f9fa;
  padding: 19px 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #e9ecef;
}
.apikey {
  background: #e9ecef;
  padding: 10px;
  border-radius: 5px;
  font-family: monospace;
  word-break: break-all;
}

/* --- Responsive Design --- */
@media (max-width: 991px) {
.integration-row {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px !important;
    background-color: #fff;
}
.integration-row div {
    text-align: right;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
}
.integration-row .col-sm-12 {
    margin-bottom: 10px;
}
.integration-row .col-sm-12:last-child {
    margin-bottom: 0;
}
.integration-row .d-lg-none {
    display: inline-block;
    margin-left: 5px;
}
}

