.app-container {
  margin: 0 auto;
  max-width: 2000px;
  width: 100%;
  height: auto;
  background: #f7f8f9;
  font-family: "Be Vietnam Pro", sans-serif !important;
}

/* Force Be Vietnam Pro on all key UI elements (override PrimeVue/Bootstrap defaults) */
body,
button,
input,
textarea,
select,
.p-component,
.p-inputtext,
.p-inputtextarea,
.p-dropdown,
.p-multiselect,
.p-button,
.p-panel,
.p-datatable,
.p-dialog {
  font-family: "Be Vietnam Pro", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif !important;
}

.app-content {
  margin: 8px;
  min-height: 100%;
}

html {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

html ::-webkit-scrollbar {
  display: none;
}

.p-tabview-panels {
  padding: 0 !important;
}

.p-toast-message-text {
  text-align: left;
}

/* Global form + panel styles to match SendMessage tab */
label {
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
  display: inline-block;
}

.p-inputtext,
.p-inputtextarea,
.p-dropdown,
.p-multiselect {
  border-radius: 10px !important;
}

.p-button {
  border-radius: 10px !important;
}

.p-field {
  margin-bottom: 14px;
}

.p-error {
  display: inline-block;
  margin-top: 6px;
}

.p-panel {
  border-radius: 12px !important;
  overflow: hidden;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
}

.p-panel .p-panel-header {
  background: #ffffff !important;
  color: #111827 !important;
  border: 0 !important;
  border-bottom: 1px solid #e5e7eb !important;
  padding: 12px 16px !important;
  font-weight: 750;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.p-panel .p-panel-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #1565c0, #42a5f5);
}

.p-panel .p-panel-content {
  padding: 18px 16px !important;
}

/* Global Accordion styles (match SendMessage tab) */
.p-accordion-tab {
  margin-bottom: 14px !important;
}

.p-accordion-header-link {
  border-radius: 12px !important;
  border: 1px solid #e5e7eb !important;
  background: #ffffff !important;
  padding: 14px 16px !important;
  font-weight: 700;
  color: #111827;
  transition: background-color 140ms ease, border-color 140ms ease,
    box-shadow 140ms ease, color 140ms ease;
}

.p-accordion-header-link:hover {
  background: #eef6ff !important;
}

.p-accordion-header.p-highlight .p-accordion-header-link {
  background: #e7f1ff !important;
  border-color: #2563eb !important;
  color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.p-accordion-header.p-highlight
  .p-accordion-header-link
  .p-accordion-toggle-icon {
  color: #2563eb !important;
}

.p-accordion-header-link .p-accordion-toggle-icon {
  color: #64748b;
}

#template {
  background-color: #2196f3;
}

.background {
  width: 100%;
  height: 100%;
}

.login_box {
  width: 50%;
  /*height: 40%;*/
  position: absolute;

  /*overflow: auto;*/
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 10px;
  box-shadow: 1px 4px 22px -8px #0004;
  display: flex;
  overflow: hidden;
}
@media screen and (max-width: 700px) {
  .login_box {
    width: 90%; /* The width is 100%, when the viewport is 800px or smaller */
    height: 300px;
    font-size: 10px;
  }
}
.login_box .left {
  width: 41%;
  /*height: 100%;*/
  padding: 25px 25px;
}
.login_box .right {
  width: 59%;
  /*height: fit-content;*/
  resize: both;
}
.left .top_link a {
  color: #452a5a;
  font-weight: 400;
}
.left .top_link {
  height: 20px;
}
.left .contact {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  height: 100%;
  width: 73%;
  margin: auto;
}
.left h3 {
  text-align: center;
  margin-bottom: 40px;
  color: #222222;
}
.left input {
  border: none;
  width: 80%;
  margin: 15px 0px;
  border-bottom: 1px solid #4f30677d;
  padding: 7px 9px;
  width: 100%;
  overflow: hidden;
  background: transparent;
  font-weight: 600;
  font-size: 14px;
}
.left {
  background: linear-gradient(-45deg, #dcd7e0, #fff);
}
.submit {
  border: none;
  padding: 15px 70px;
  border-radius: 8px;
  display: block;
  margin: auto;
  margin-top: 120px;
  background: #583672;
  color: #fff;
  font-weight: bold;
  -webkit-box-shadow: 0px 9px 15px -11px rgba(88, 54, 114, 1);
  -moz-box-shadow: 0px 9px 15px -11px rgba(88, 54, 114, 1);
  box-shadow: 0px 9px 15px -11px rgba(88, 54, 114, 1);
}

.right .right-text {
  height: 100%;
  position: relative;
  transform: translate(0%, 45%);
}
.right-text h2 {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 50px;
  font-weight: 500;
}
.right-text h5 {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 19px;
  font-weight: 400;
}

.right .right-inductor {
  position: absolute;
  width: 70px;
  height: 7px;
  background: #fff0;
  left: 50%;
  bottom: 70px;
  transform: translate(-50%, 0%);
}
.top_link img {
  width: 28px;
  padding-right: 7px;
  margin-top: -3px;
}
