.cs-app--lock {
  align-items: flex-start;
  background: radial-gradient(circle at 15% 0%, #dfe9ff 0%, transparent 45%), var(--cs-cloud-50);
}

.cs-lock-shell {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cs-lock-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding-bottom: 6px;
}

.cs-lock-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--cs-coral-500), #b5262b);
  color: var(--cs-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 26px -12px rgba(229, 72, 77, 0.55);
  margin-bottom: 6px;
}

.cs-lock-title {
  margin: 0;
  font-family: var(--cs-font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--cs-ink-950);
}

.cs-lock-reason {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: #b5262b;
}

.cs-lock-meta {
  margin: 0;
  font-size: 12.5px;
  color: var(--cs-slate-400);
}

.cs-lock-help {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--cs-slate-600);
  max-width: 360px;
}

.cs-lock-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cs-lock-section-title {
  margin: 0;
  font-family: var(--cs-font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--cs-ink-950);
}

.cs-contact-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cs-contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--cs-white);
  border: 1px solid var(--cs-cloud-200);
  border-radius: var(--cs-radius-md);
  padding: 12px 14px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cs-contact-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -14px rgba(6, 24, 58, 0.4);
}

.cs-contact-icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cs-white);
}

.cs-contact-card--whatsapp .cs-contact-icon { background: linear-gradient(155deg, #3ecb8c, #0c8a4f); }
.cs-contact-card--call .cs-contact-icon { background: linear-gradient(155deg, var(--cs-brand-500), var(--cs-brand-800)); }
.cs-contact-card--email .cs-contact-icon { background: linear-gradient(155deg, #f5bf62, #b8720f); }

.cs-contact-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.cs-contact-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--cs-ink-950);
}

.cs-contact-value {
  font-size: 12px;
  color: var(--cs-slate-400);
}

.cs-ticket-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--cs-white);
  border: 1px solid var(--cs-cloud-200);
  border-radius: var(--cs-radius-md);
  padding: 14px;
}

.cs-ticket-input,
.cs-ticket-textarea {
  font-family: var(--cs-font-body);
  font-size: 13.5px;
  color: var(--cs-ink-950);
  background: var(--cs-cloud-50);
  border: 1px solid var(--cs-cloud-200);
  border-radius: var(--cs-radius-sm);
  padding: 10px 12px;
  resize: vertical;
}

.cs-ticket-input:focus,
.cs-ticket-textarea:focus {
  outline: 2px solid var(--cs-brand-500);
  outline-offset: 1px;
}

.cs-ticket-submit {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: var(--cs-brand-600);
  color: var(--cs-white);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: var(--cs-radius-pill);
  cursor: pointer;
}

.cs-ticket-submit:disabled,
.cs-ticket-submit.is-loading {
  opacity: 0.6;
  cursor: not-allowed;
}

/* =========================================================
   SUPPORT TICKETS SUMMARY
   ========================================================= */

.cs-tickets-section {
    margin-top: 22px;
}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.cs-lock-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.cs-lock-section-head > div {
    min-width: 0;
}

.cs-ticket-summary-text {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   TICKET COUNT
   --------------------------------------------------------- */

.cs-ticket-count {
    flex: 0 0 auto;

    min-width: 30px;
    height: 30px;

    padding: 0 9px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: #eff6ff;
    color: #2563eb;

    font-size: 12px;
    font-weight: 700;
}


/* ---------------------------------------------------------
   TICKET LIST
   --------------------------------------------------------- */

.cs-ticket-list {
    display: flex;
    flex-direction: column;

    border: 1px solid #e2e8f0;
    border-radius: 14px;

    overflow: hidden;

    background: #ffffff;
}


/* ---------------------------------------------------------
   TICKET ROW
   --------------------------------------------------------- */

.cs-ticket-row {
    display: flex;
    align-items: center;

    gap: 13px;

    padding: 14px 16px;

    border-bottom: 1px solid #f1f5f9;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.cs-ticket-row:last-child {
    border-bottom: 0;
}

.cs-ticket-row:hover {
    background: #f8fafc;
}


/* ---------------------------------------------------------
   ICON
   --------------------------------------------------------- */

.cs-ticket-row-icon {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #eff6ff;
    color: #2563eb;
}


/* ---------------------------------------------------------
   INFO
   --------------------------------------------------------- */

.cs-ticket-row-info {
    min-width: 0;

    flex: 1;

    display: flex;
    flex-direction: column;

    gap: 3px;
}

.cs-ticket-row-subject {
    display: block;

    overflow: hidden;

    color: #0f172a;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.cs-ticket-row-meta {
    display: block;

    color: #94a3b8;

    font-size: 11px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ---------------------------------------------------------
   STATUS
   --------------------------------------------------------- */

.cs-ticket-status {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 27px;

    padding: 5px 10px;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 700;

    text-transform: capitalize;

    white-space: nowrap;
}


/* OPEN */

.cs-ticket-status--open {
    background: #eff6ff;
    color: #2563eb;
}


/* IN PROGRESS */

.cs-ticket-status--in_progress {
    background: #fff7ed;
    color: #ea580c;
}


/* RESOLVED */

.cs-ticket-status--resolved {
    background: #ecfdf5;
    color: #059669;
}


/* CLOSED */

.cs-ticket-status--closed {
    background: #f1f5f9;
    color: #64748b;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 600px) {

    .cs-tickets-section {
        margin-top: 18px;
    }

    .cs-lock-section-head {
        gap: 10px;
    }

    .cs-ticket-summary-text {
        font-size: 12px;
    }

    .cs-ticket-row {
        padding: 13px 12px;
        gap: 10px;
    }

    .cs-ticket-row-icon {
        width: 34px;
        height: 34px;

        flex-basis: 34px;

        border-radius: 9px;
    }

    .cs-ticket-row-subject {
        font-size: 13px;
    }

    .cs-ticket-row-meta {
        font-size: 10px;
    }

    .cs-ticket-status {
        padding: 4px 8px;
        font-size: 10px;
    }

}


/* ---------------------------------------------------------
   VERY SMALL SCREENS
   --------------------------------------------------------- */

@media (max-width: 400px) {

    .cs-ticket-row {
        align-items: flex-start;
    }

    .cs-ticket-status {
        margin-top: 2px;
    }

}