/* Container & typography */
body {
  background-color: #f6f8fa;
  font-family: 'Inter', sans-serif;
}

/* Headings */
h1, h2, h3 {
  color: #01247d;
  font-weight: 700;
  margin-bottom: 24px;
}

h2 {
  border-bottom: 3px solid #FBAF42;
  padding-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Form Container */
.form-card {
  background: #fff;
  padding: 32px 36px;
  margin-bottom: 48px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(24, 42, 99, 0.1);
  max-width: 600px;
  box-sizing: border-box;
}

/* Form rows */
.form-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
  gap: 10px 20px;
}

.form-row label {
  flex: 0 0 140px;
  font-weight: 600;
  color: #154A91;
  text-align: right;
  font-size: 1rem;
  line-height: 1.3;
}


 

.form-row input[type="text"],
.form-row input[type="email"],
.form-row textarea {
  flex: 1 1 220px;
  padding: 10px 12px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1.8px solid #d3dde8;
  background: #f3faff;
  outline: none;
  transition: border-color 0.3s ease;
  font-family: inherit;
  resize: vertical;
  color: #1a2e4c;
  max-width: 400px;
}

.form-row textarea {
  min-height: 72px;
}

.form-row input[type="text"]:focus,
.form-row input[type="email"]:focus,
.form-row textarea:focus {
  border-color: #fbaf42;
  box-shadow: 0 0 8px #fbaf4266;
}

/* Buttons */
#sub-button {
  background-color: #154A91;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  padding: 13px 36px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(21, 74, 145, 0.4);
  transition: background-color 0.25s ease, box-shadow 0.3s ease;
  margin-left: auto;
  display: block;
}

#admin-view-toggle:hover,
#faq-toggle:hover,
#sub-button:hover,
#sub-button:focus {
  background-color: #fbaf42;
  color: #154A91;
  box-shadow: 0 7px 20px rgba(251, 175, 66, 0.7);
  outline: none;
}

.bot-but:hover{
  background-color: #fafafa;
  color: #140900;
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(250, 146, 63, 0.4);
}

.bot-but {
  background: #fa923f;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(250, 146, 63, 0.3);
  transition: all 0.3s ease;
}

/* Message alerts */
.message {
  margin: 24px 0;
  max-width: 600px;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  color: #155724;
  background-color: #d4edda;
  border: 2px solid #c3e6cb;
  box-sizing: border-box;
}

/* toggle */
#admin-view-toggle,
#faq-toggle {
  background-color: #154A91;
  color: #fff;
  padding: 12px 32px;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(21, 74, 145, 0.18);
  margin-bottom: 18px;
}


/* Tickets and FAQ containers */
.ticket-list,
.faq-list {
  max-width: 720px;
  margin-bottom: 40px;
}

.ticket-list h3,
.faq-list h3 {
  font-weight: 600;
  color: #0C2545;
  margin-bottom: 18px;
  font-size: 1.3rem;
}

.ticket-item, .faq-item {
  background-color: #f5f9fe;
  margin-bottom: 14px;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(11, 33, 84, 0.04);
  font-size: 1rem;
  color: #243B55;
}

.ticket-item strong {
  color: #154A91;
  font-weight: 700;
}

.faq-item strong {
  font-weight: 600;
  font-size: 1.05rem;
  color: #0C2545;
}




/* nav-bar */
.hori-selector{
  background-color: #f6f8fa !important;
}

.hori-selector .right,
.hori-selector .left{
  background-color: #f6f8fa !important;
}

#navbarSupportedContent>ul>li.active>a{
  color:black !important;
}

@media (max-width: 900px) {
  .form-card {
    padding: 18px 8px;
    max-width: 98vw;
    margin-bottom: 28px;
  }
  .ticket-list,
  .faq-list {
    max-width: 100vw;
    padding: 0 4px;
  }
}

@media (max-width: 700px) {
  .form-row {
    display: flex;
    gap: 4px 0;
    padding-top: 8px;
  }
  .form-row label {
         text-align: right;
        font-size: 0.8rem;
        padding-top: 10px;
  }

   

    .form-row input[type="text"],
    .form-row input[type="email"],
    #customer_name,
    #email,
    .form-row textarea {
      
      max-width: 50%;
      font-size: 0.97rem;
      padding: 8px 8px;
      margin: auto auto;
      
    }



  
  .form-card {
    padding: 10px 2vw;
    margin-bottom: 14px;
  }
  .ticket-list,
  .faq-list {
    padding: 0 2vw;
    margin-bottom: 14px;
  }
  h2 {
    font-size: 1.15rem;
    padding-bottom: 8px;
    margin-bottom: 12px;
  }
  h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  .ticket-item{
    padding: 10px 6px;
    font-size: 0.96rem;
  }
.faq-item{
  font-size: 0.96rem;
}

  .message {
    max-width: 98vw;
    font-size: 0.96rem;
    padding: 8px 6px;
  }
}

@media (max-width: 480px) {
  .form-card {
    padding: 4px 1px;
    margin-bottom: 8px;
  }
  .ticket-list,
  .faq-list {
    padding: 0 1vw;
    margin-bottom: 8px;
  }
  h2 {
    font-size: 1rem;
  }
  h3 {
    font-size: 0.92rem;
    margin-bottom: 5px;
  }
  .ticket-item{
    padding: 5px 2px;
    font-size: 0.92rem;
  }
  #sub-button,
  #admin-view-toggle,
  #faq-toggle {
    font-size: 0.75rem;
    margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  }
  .message {
    font-size: 0.91rem;
    padding: 4px 2px;
  }

  .link-text{
    font-size: 0.9rem;
    text-align: center;
  }
}





/* NAVBAR responsiveness */
@media (max-width: 768px) {
  .hori-selector {
    width: 100%;
  }
  #navbarSupportedContent > ul > li > a {
    font-size: 1em;
  padding-bottom: 10px;
  margin-top: -3px;
  }
}