/* ===== PAGINA ASSISTENZA ===== */

.mp-support-page{
  min-height: calc(100vh - 56px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.mp-support-shell{
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.mp-support-card{
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.mp-support-header{
  background: linear-gradient(180deg, #0c778b 0%, #16bfd8 100%);
  color: #fff;
  padding: 18px 20px 62px;
}

.mp-support-header-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.mp-support-user{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mp-support-avatar{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  flex: 0 0 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, #f3d3b0 0 32%, transparent 33%),
    radial-gradient(circle at 50% 78%, #d9e2ec 0 38%, transparent 39%),
    #b7c5d3;
  border: 2px solid rgba(255,255,255,.72);
}

.mp-support-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mp-support-hello{
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
}

.mp-support-logout{
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
}

.mp-support-logout:hover{
  background: rgba(255,255,255,.10);
}

.mp-support-body{
  background: #fff;
  padding: 14px 24px 34px;
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
  margin-top: -36px;
  min-height: calc(100vh - 170px);
}

.mp-support-titlebar{
  position: relative;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.mp-support-back,
.mp-support-ticket-back{
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #3a4a5c;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  text-decoration: none;
}

.mp-support-back{
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.mp-support-back:hover,
.mp-support-ticket-back:hover{
  color: #3a4a5c;
  background: rgba(0,0,0,.04);
  text-decoration: none;
}

.mp-support-title{
  margin: 0;
  color: #344760;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.1;
}

.mp-support-info{
  min-height: 96px;
  border-radius: 5px;
  background: #e8f7fa;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 0;
  overflow: hidden;
}

.mp-support-illustration{
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.mp-support-illustration img{
  width: 88px;
  height: 92px;
  object-fit: contain;
  display: block;
}

.mp-support-info p{
  margin: 0;
  color: #000;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.05;
}

.mp-support-info strong{
  color: #0ea2bb;
  font-weight: 800;
}

.mp-support-actions{
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
}

.mp-support-action{
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 5px;
  background: #59c5d2;
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 12px;
  padding: 7px 6px 7px 18px;
  text-align: left;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
}

.mp-support-action:hover{
  color: #fff;
  background: #45bdcc;
  text-decoration: none;
}

.mp-support-action i{
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.82);
  color: #59c5d2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
}

/* ===== MODAL NUOVO TICKET ===== */

.mp-support-ticket-dialog{
  max-width: 430px;
}

.mp-support-ticket-content{
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
}

.mp-support-ticket-body{
  background: #fff;
  padding: 18px 16px 16px;
  border: 2px solid #16b3cd;
  border-radius: 18px;
}

.mp-support-ticket-titlebar{
  position: relative;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.mp-support-ticket-back{
  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.mp-support-ticket-title{
  margin: 0;
  color: #344760;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.1;
}

.mp-support-ticket-form{
  display: flex;
  flex-direction: column;
}

.mp-support-field{
  margin-bottom: 13px;
}

.mp-support-field label{
  display: block;
  margin: 0 0 7px 12px;
  color: #344760;
  font-size: 11px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.1;
}

.mp-support-select-wrap{
  position: relative;
}

.mp-support-select-wrap::after{
  content: "";
  position: absolute;
  right: 13px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 3px solid #344760;
  border-bottom: 3px solid #344760;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.mp-support-field select,
.mp-support-field textarea{
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: #f5f5f6;
  color: #000;
  font-size: 11px;
  font-weight: 500;
  outline: none;
  box-shadow: none;
}

.mp-support-field select{
  min-height: 39px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 11px 40px 11px 12px;
}

.mp-support-field textarea{
  min-height: 110px;
  resize: none;
  padding: 13px 14px;
  font-size: 14px;
}

.mp-support-field textarea::placeholder{
  color: #a1a9b3;
}

.mp-support-counter{
  margin: 8px 2px 0 0;
  color: #344760;
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.mp-support-submit,
.mp-support-cancel{
  width: 100%;
  min-height: 37px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
}

.mp-support-submit{
  border: 0;
  background: #19b7cf;
  color: #fff;
  margin-top: 16px;
}

.mp-support-cancel{
  border: 1.5px solid #19b7cf;
  background: #fff;
  color: #19b7cf;
  margin-top: 7px;
}

/* ===== MODAL AVVISO ===== */

.mp-support-notice-dialog{
  max-width: 430px;
}

.mp-support-notice-content{
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
}

.mp-support-notice-body{
  background: #fff;
  padding: 18px 16px 14px;
  text-align: center;
}

.mp-support-notice-title{
  margin: 0 0 12px;
  color: #0ea2bb;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.mp-support-notice-text{
  margin: 0 0 16px;
  color: #3a4a5c;
  font-size: 13px;
  line-height: 1.35;
}

.mp-support-notice-btn{
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: #5bc5d3;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

@media (min-width: 768px){
  .mp-support-body{
    padding: 18px 42px 44px;
  }

  .mp-support-info,
  .mp-support-actions{
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  .mp-support-info{
    grid-template-columns: 130px minmax(0, 1fr);
    min-height: 132px;
  }

  .mp-support-illustration img{
    width: 120px;
    height: 126px;
  }

  .mp-support-info p{
    font-size: 15px;
    line-height: 1.12;
  }

  .mp-support-action{
    min-height: 58px;
    font-size: 15px;
  }
}

@media (max-width: 991.98px){
  .mp-user-main{
    padding: 0;
  }

  .mp-support-page{
    min-height: 100vh;
  }

  .mp-support-card{
    border-radius: 0;
    box-shadow: none;
  }

  .mp-support-header{
    padding: 18px 16px 60px;
  }

  .mp-support-body{
    min-height: calc(100vh - 92px);
    padding: 14px 24px 110px;
  }
}

@media (max-width: 575.98px){
  .mp-support-ticket-dialog{
    max-width: calc(100vw - 28px);
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 360px){
  .mp-support-body{
    padding-left: 20px;
    padding-right: 20px;
  }

  .mp-support-info{
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .mp-support-info p{
    font-size: 10.5px;
  }
}
