/* Base Styles */
body {
  font-family: 'Segoe UI', 'Arial', sans-serif;
  background: rgba(36, 68, 78, 0.9);
  margin: 0;
  padding: 3px;
  height: auto;
  min-height: 90vh;
  color: #2f3542;
}

.bg-image {
  filter: blur(8px);
  -webkit-filter: blur(8px); /* For better browser compatibility */
  height: 100vh;
  background-size: cover;
  background-position: center;
}

#catelogue{
  position: absolute;
  top: 200px;
  left: 150px;
  width: 400px;
  height: auto;
  border: 6px solid rgb(52, 94, 122);
  background-color: rgb(216 220 221);
  border-radius: 1px;
}

/* Login Container */
.login-container, .login-container2 {
  position: absolute;
  background: rgb(255, 255, 255);
  /* max-width: 350px; */
  top: -40px;
  right: 200px;
  /* left: calc(50% - 200px); */
  width: 300px;
  margin: 20vh auto;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  text-align: center;
  display: none;
  z-index: 50;
}

/* Buttons */
.battan, .battan2 {
  background: rgba(51, 92, 109, 0.9);
  color: white;
  border: none;
  outline: none;
  padding: 8px 15px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 16px;
  margin: 10px 5px;
  width: 48%;
}

.battan:hover {
  background: rgb(40 143 139);
  color: #ffffff;
}

.battan2:hover {
  background: rgba(199, 56, 56, 0.9);
  color: #ffffff;
}

#top_bar{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-top: 0;
  height: auto;
  /* border: 1px solid white; */
}

.tb_child{
  height: 50px;
  padding: 1px;
  margin: 0 auto;
  width: 33%;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
  color: rgb(0, 0, 0);
  display: flex;
  flex-direction: row;
}

.tb_subChild{
  padding-top: 10px;
  margin: 5px;
  box-sizing: border-box;
  height: inherit;
  border: 1px solid rgb(158, 158, 158);
  font-size: 18px;
  width: 50%;
  color: black;
  background-color: #ffffff;
}

a{
  text-decoration: none;
  color: white;
  background-color: rgb(0, 0, 0);
}

/* Form Elements */
input[type="text"],
input[type="number"],
input[type="password"] {
  width:88%;  
  padding: 8px 12px;
  margin: 5px 8px;
  border: 1px solid #8d8d8dbd;
  border-radius: 3px;
  background: #f8f9fa;
  transition: all 0.3s ease;
  font-size: 16px;
  overflow-y: scroll;
}

input:focus,
textarea:focus,
select:focus {
  /* border-color: 1px solid #6a11cb; */
  /* box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.2); */
  outline: 1px solid #6a11cb;
}

#searchResult input[type="text"]{
    margin: 0 8px;
    user-select: none;
    pointer-events: none;
}

#topnav1{
  display: flex;
  flex-direction: row;
  justify-content: right;
  /* padding: 5px; */
}

#topnav2{
  padding: 5px 8px;
  border: 1px solid gray;
  border-radius: 3px;
}

#topnav2:hover{
  background-color: #c4c3c7;
  border-radius: 3px;
}

a{
  text-decoration: none;
  cursor: pointer;
}

.running-text {
    position: absolute;
    white-space: nowrap;
    animation: runText 10s linear infinite;
  }

  @keyframes runText {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
  }


  

.container {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 400px;
}


.form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}


img#captchaImage {
    margin: 10px 0;
    border: 1px solid #ccc;
}

button {
    padding: 10px;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

#refreshCaptcha {
    background-color: #bcbdbe;
    display: flex;
    justify-content: center;
    width: auto;
    text-align: center;
    max-height: 30px;
    margin: auto 5px;
    max-width: 100px;
    border-radius: 2px;
    padding: 6px 8px;
}

button:hover {
    opacity: 0.9;
}

.response {
    margin-top: 10px;
    text-align: center;
    color: #333;
}

.response.success {
    color: green;
}

.response.error {
    color: red;
}

#contactForm{
  position: absolute;
  top: 200px;
  right: 138px;
  width: 420px;
  height: 396px;
  border: 6px solid mediumseagreen;
  background-color: white;
  border-radius: 4px;
  box-sizing: border-box;
  padding: 10px;
  display:flex;
  justify-content:center;
  flex-direction:column;
  text-align:center
}

