@font-face {
  font-family: "Peyda";
  src: url("assets/fonts/Peyda-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Peyda";
  src: url("assets/fonts/Peyda-Medium.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Peyda";
  src: url("assets/fonts/Peyda-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Peyda";
  src: url("assets/fonts/Peyda-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
*,
*::before,
*::after {
  font-family: "Peyda", "Segoe UI", Tahoma, sans-serif;
}

:root {
  --primary: #4F6EF7;
  --primary-light: #EEF1FE;
  --primary-gradient: linear-gradient(135deg, #4F6EF7, #7B8FF7);
  --secondary: #6C5DD3;
  --success: #22C55E;
  --success-light: #E6F9EF;
  --warning: #F59E0B;
  --warning-light: #FFFBEB;
  --danger: #EF4444;
  --danger-light: #FEF2F2;
  --dark: #1E293B;
  --text: #334155;
  --text-light: #64748B;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-600: #64748B;
  --gray-800: #1E293B;
  --sidebar-width: 260px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-btn: 50px;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.10);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: "Peyda", "Segoe UI", Tahoma, sans-serif !important;
  background: #F5F7FB;
  color: var(--dark);
  direction: rtl;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font-family: "Peyda", "Segoe UI", Tahoma, sans-serif !important;
  font-weight: inherit;
  line-height: inherit;
}

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.auth-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  padding: 20px;
  background: linear-gradient(135deg, #F5F7FB 0%, #EEF1FE 100%);
}

.auth-card {
  max-width: 440px;
  width: 90%;
  background: white;
  border-radius: var(--radius-xl);
  padding: 38px 32px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}

.brand-mark,
.logo-mark {
  width: 52px;
  height: 52px;
  background: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(79, 110, 247, 0.16);
  margin: 0 auto 18px;
}

.brand-logo-img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  position: static !important;
  inset: auto !important;
  transform: none !important;
}

.auth-card h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
  color: var(--dark);
}

.auth-card p {
  color: var(--text-light);
  text-align: center;
  margin-bottom: 28px;
}

label {
  display: block;
  font-weight: 800;
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.95rem;
  background: white;
  color: var(--text);
  transition: var(--transition);
  outline: none;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.06);
}

.auth-card button,
.primary {
  background: var(--primary);
  color: white;
  border: none;
  padding: 11px 22px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  border: 1.5px solid transparent;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(79, 110, 247, 0.2);
}

.auth-card button {
  width: 100%;
  margin-top: 4px;
}

.auth-card button:hover,
.primary:hover {
  box-shadow: 0 4px 16px rgba(79, 110, 247, 0.35);
  transform: translateY(-1px);
}

.message {
  min-height: 24px;
  margin-top: 14px;
  color: var(--danger);
  font-weight: 600;
}

.app {
  min-height: 100vh;
  display: flex;
}

.sidebar {
  width: var(--sidebar-width);
  min-height: 100vh;
  background: white;
  border-left: 1px solid var(--gray-200);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 28px;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 20px;
}

.logo-mark {
  width: 46px;
  height: 46px;
  margin: 0;
  flex-shrink: 0;
  padding: 4px;
}

.logo strong {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
  letter-spacing: 0;
}

.sidebar nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: var(--radius);
  font-weight: 500;
  color: var(--text-light);
  transition: var(--transition);
  border: 1.5px solid transparent;
  font-size: 0.95rem;
  white-space: nowrap;
  background: transparent;
  position: relative;
  text-align: right;
}

.nav:hover {
  background: var(--gray-50);
  color: var(--dark);
  border-color: var(--gray-200);
}

.nav.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: transparent;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(79, 110, 247, 0.12);
}

.profile {
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
  margin-top: auto;
  display: grid;
  gap: 8px;
}

.profile strong,
.profile small {
  display: block;
  padding: 0 12px;
}

.profile strong {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile small {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}

.profile button,
.actions button:not(.primary),
.filters button,
.list-item button {
  background: white;
  color: var(--primary);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-btn);
  padding: 10px 18px;
  font-weight: 600;
  transition: var(--transition);
}

.profile button:hover,
.actions button:not(.primary):hover,
.filters button:hover,
.list-item button:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(79, 110, 247, 0.1);
}

.content {
  flex: 1;
  margin-right: var(--sidebar-width);
  padding: 28px 32px;
  min-height: 100vh;
  width: calc(100% - var(--sidebar-width));
  max-width: 1520px;
  transition: var(--transition);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-actions button:not(.primary) {
  background: #fff;
  color: var(--text);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-btn);
  padding: 10px 18px;
  font-weight: 700;
}

.topbar h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
}

.topbar-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-logo {
  display: none;
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.topbar p {
  color: var(--text-light);
  margin-top: 4px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.stat {
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px 84px 20px 18px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 94px;
  gap: 4px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat::before {
  content: "";
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  background: var(--primary-light);
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.stat::after {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  position: absolute;
  right: 34px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(79, 110, 247, 0.16);
}

.stat strong {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}

.stat span {
  color: var(--text-light);
  font-size: 0.85rem;
}

.view,
.panel {
  background: white;
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.view {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}

.panel-head .primary {
  min-width: 132px;
}

.panel h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  margin-top: 4px;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1000px;
  font-size: 0.9rem;
}

th {
  text-align: right;
  padding: 14px 10px;
  background: var(--gray-50);
  border-bottom: 2px solid var(--gray-200);
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
  font-size: 0.8rem;
}

td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}

tbody tr {
  transition: background 0.2s;
}

tbody tr:hover {
  background: #FAFBFF;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.pending {
  background: #FEF3C7;
  color: #92400E;
}

.under_review {
  background: #DBEAFE;
  color: #1E40AF;
}

.resolved {
  background: #D1FAE5;
  color: #065F46;
}

.urgent {
  background: #FEE2E2;
  color: #991B1B;
  border-radius: 40px;
  padding: 5px 12px;
}

.filters {
  margin: 16px 0;
  background: var(--gray-50);
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(150px, 1fr));
  gap: 14px;
  align-items: end;
  border: 1px solid var(--gray-200);
}

.filters.is-collapsed {
  display: none;
}

.standalone-head {
  background: white;
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}

.soft-action {
  background: white;
  color: var(--primary);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-btn);
  padding: 10px 18px;
  font-weight: 600;
  transition: var(--transition);
}

.soft-action:hover {
  background: var(--primary-light);
  border-color: var(--primary);
}

.filters input,
.filters select {
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  background: white;
  font-size: 0.9rem;
}

.compact-filters {
  grid-template-columns: minmax(190px, 1.4fr) repeat(4, minmax(118px, .75fr)) auto;
  gap: 10px;
  padding: 12px 14px;
}

.compact-filters input,
.compact-filters select,
.compact-filters button {
  min-height: 38px;
  padding: 8px 11px;
  font-size: 0.82rem;
}

.clickable-report {
  cursor: pointer;
}

.clickable-report:hover {
  background: #FAFBFF;
}

.row-actions {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.profile-password {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.profile-password h4 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.row-actions button {
  padding: 7px 14px;
  font-size: 0.8rem;
  border-radius: 30px;
  background: var(--primary);
  color: white;
  border: none;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(79, 110, 247, 0.2);
}

.row-actions button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(79, 110, 247, 0.35);
}

.row-actions .danger,
.list-item .danger {
  background: var(--danger);
  color: white;
  border-color: transparent;
}

.priority-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.priority-normal {
  background: #F1F5F9;
  color: #334155;
}

.priority-medium {
  background: #FEF3C7;
  color: #92400E;
}

.priority-urgent {
  background: #FEE2E2;
  color: #991B1B;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 20px;
  align-items: start;
}

.form-panel {
  display: grid;
  gap: 10px;
}

.form-panel h3 {
  margin-bottom: 6px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 12px;
}

.check-card {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 0.88rem;
  cursor: pointer;
}

.check-card input {
  width: auto;
  accent-color: var(--primary);
}

.inline-add {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.setting-list {
  display: grid;
  gap: 8px;
}

.setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px 14px;
}

.setting-row button {
  background: var(--danger-light);
  color: var(--danger);
  border: 0;
  border-radius: 30px;
  padding: 7px 12px;
  font-weight: 700;
}

.empty-message.compact {
  padding: 16px;
  text-align: center;
  color: var(--text-light);
  background: var(--gray-50);
  border-radius: var(--radius);
}

.list {
  display: grid;
  gap: 8px;
}

.list-item {
  background: var(--gray-50);
  padding: 16px 18px;
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.list-item:hover {
  background: white;
  box-shadow: var(--shadow-sm);
}

.list-item p,
td small {
  color: var(--text-light);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s;
  padding: 20px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  background: white;
  padding: 32px 28px;
  border-radius: var(--radius-xl);
  max-width: 760px;
  width: 92%;
  max-height: 82vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.3s;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.modal-head h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

.modal-head button {
  background: var(--gray-100);
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-light);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-head button:hover {
  background: var(--danger-light);
  color: var(--danger);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
  flex-wrap: wrap;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 12px;
}

.details-grid > div {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px 14px;
}

.details-grid span {
  display: block;
  color: var(--text-light);
  font-size: 0.78rem;
  margin-bottom: 5px;
}

.details-grid strong {
  color: var(--dark);
  font-weight: 700;
  word-break: break-word;
}

.details-wide {
  grid-column: 1 / -1;
}

.more-details {
  margin-top: 12px;
}

.more-details.is-collapsed {
  display: none;
}

.more-details-toggle {
  margin-top: 14px;
}

.details-actions .danger {
  background: var(--danger);
  color: white;
  border-color: transparent;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: var(--dark);
  color: white;
  padding: 14px 24px;
  border-radius: 60px;
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: slideIn 0.3s;
  font-weight: 500;
}

.install-fab {
  position: fixed;
  left: 20px;
  bottom: 88px;
  z-index: 1200;
  background: var(--primary);
  color: white;
  border: 0;
  border-radius: var(--radius-btn);
  padding: 12px 20px;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

@media (max-width: 900px) {
  body {
    background: #F5F7FB;
  }

  .sidebar {
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    top: auto;
    width: 100%;
    min-height: 0;
    height: auto;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    border-left: 0;
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
    z-index: 900;
  }

  .app {
    display: block;
    min-height: 100dvh;
  }

  .logo,
  .profile {
    display: none;
  }

  .sidebar nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }

  .nav {
    min-height: 48px;
    justify-content: center;
    text-align: center;
    padding: 8px 4px;
    border-radius: 14px;
    font-size: 0.72rem;
    white-space: normal;
    line-height: 1.25;
  }

  .content {
    margin-right: 0;
    width: 100%;
    padding: 14px 12px 92px;
  }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(245, 247, 251, 0.92);
    backdrop-filter: blur(10px);
    margin: -14px -12px 18px;
    padding: 14px 12px;
    border-bottom: 1px solid var(--gray-200);
    align-items: stretch;
    flex-direction: column;
  }

  .topbar-actions {
    width: 100%;
    display: block;
  }

  .topbar-actions button {
    width: 100%;
    min-height: 44px;
  }

  .topbar-logo {
    display: block;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .stat {
    padding: 14px 64px 14px 12px;
    min-height: 78px;
  }

  .stat::before {
    width: 38px;
    height: 38px;
  }

  .stat::after {
    width: 14px;
    height: 14px;
    right: 30px;
  }

  .stat strong {
    font-size: 1.4rem;
  }

  table {
    min-width: 840px;
  }

  th,
  td {
    padding: 13px 12px;
  }

  .panel {
    padding: 16px 12px;
    border-radius: var(--radius-lg);
  }

  .topbar h2 {
    font-size: 1.3rem;
  }

  .filters,
  .split {
    grid-template-columns: 1fr;
  }

  .compact-filters {
    grid-template-columns: 1fr;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  .modal {
    align-items: flex-end;
    padding: 10px;
  }

  .modal-card {
    width: 100%;
    max-height: 90dvh;
    border-radius: var(--radius-xl) var(--radius-xl) 18px 18px;
    padding: 22px 18px;
    overflow-y: auto;
  }

  .install-fab {
    left: 12px;
    right: 12px;
    bottom: calc(74px + env(safe-area-inset-bottom));
    width: auto;
  }

  .form-grid,
  .checkbox-grid,
  .inline-add {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .stats {
    grid-template-columns: 1fr;
  }

  .nav {
    font-size: 0.68rem;
    min-height: 52px;
  }

  .table-wrap {
    margin-inline: -4px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  input,
  select,
  textarea,
  button {
    min-height: 44px;
  }

  .panel-head {
    flex-direction: column;
    align-items: stretch;
  }
}
