

/* ================================================
   Login & Registration Form CSS (Conflict-Free)
   File: reg.css
   Author: Updated by ChatGPT
   ================================================ */

/* Container */
#LoginAndRegistrationForm {
  background: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
  border-radius: 10px;
  padding: 25px;
  margin-top: 20px;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* Title */
#formTitle {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 22px;
}

/* Switch Buttons */
#formSwitchBtn {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

#formSwitchBtn button {
  padding: 8px 20px;
  border: 1px solid #0d6efd;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
}

#formSwitchBtn button:hover {
  background: #0d6efd;
}

#formSwitchBtn button.active {
  background: #0d6efd;
  color: #fcf8f8;
}

/* Utility classes */
.form-center {
  text-align: center;
}

.form-mt-10 {
  margin-top: 10px;
}

.form-mt-20 {
  margin-top: 20px;
}

/* Input Fields */
.form-input-text {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  outline: none;
  font-size: 15px;
  transition: all 0.2s ease;
}

.form-input-text:focus {
  border-color: #f4b955;
  box-shadow: 0 0 5px rgba(244,185,85,0.5);
}

/* Submit Button */
.form-submit-btn {
  background: #0d6efd;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  min-width: 120px;
}

.form-submit-btn:hover {
  background: #0d6efd;
}

/* Forgot Password + Remember Me Section */
.forgot-pass-remember-me {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  flex-wrap: wrap;
}

.forgot-pass a {
  color: #f4b955;
  text-decoration: none;
  font-weight: 600;
}

.forgot-pass a:hover {
  text-decoration: underline;
}

.remember-me label {
  margin-left: 4px;
  font-size: 14px;
}

/* Paragraph links below forms */
.dont-have-account,
.already-have-account {
  font-size: 14px;
  text-align: center;
}

.dont-have-account a,
.already-have-account a {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 600;
}

.dont-have-account a:hover,
.already-have-account a:hover {
  text-decoration: underline;
}

/* Alert Message */
.alert {
  text-align: center;
  margin-top: 10px;
  padding: 10px;
  border-radius: 5px;
}

/* Gender Section */
#RegistrationFrom label {
  font-size: 15px;
  margin-left: 4px;
}

/* Textarea */
textarea {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  resize: none;
  transition: all 0.2s ease;
}

textarea:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 5px rgba(244,185,85,0.5);
}

/* Phone Input Section */
#mobile {
  display: inline-block;
  width: 100%;
}

#valid-msg {
  color: green;
  font-size: 12px;
  float: left;
  margin-top: 3px;
}

#error-msg {
  color: red;
  font-size: 12px;
  float: left;
  margin-top: 3px;
}

/* Responsive */
@media (max-width: 576px) {
  #LoginAndRegistrationForm {
    padding: 15px;
    width: 90%;
  }

  .form-submit-btn {
    width: 100%;
  }
}

.hide {
  display: none;
}

/* footer */
.footer {
  background: #fff;
  padding: 15px 0;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  color: #343a40;
  position: relative;
  border-top: 1px solid #343a40; /* Add top border line */
}

.footer-logo {
  position: absolute;
  top: -25px; /* Adjust to overlap the top border */
  left: 50%;
  transform: translateX(-50%);
  background: #fff; /* Optional: Add background to make the logo stand out */
  padding: 5px; /* Optional: Add padding around the logo */
  border-radius: 50%; /* Optional: Make the logo background circular */
}

.footer-logo-img {
  max-width: 100px;
  height: auto;
}

.social-icons {
  gap: 20px;
  margin-bottom: 10px;
}

.social-icons a {
  font-size: 26px;
  color: rgb(11, 11, 11);
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: rgb(174, 174, 174);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 8px 0;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links ul li a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-size: 14px;
  position: relative;
}

.footer-links ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background-color: #000;
  transition: width 0.3s ease;
}

.footer-links ul li a:hover::after {
  width: 100%;
}

.footer-links ul li a:hover {
  color: #000;
}

.copyright p {
  font-size: 12px;
  color: rgb(0, 0, 0);
  margin: 0;
}

@media (max-width: 720px) {
  .footer {
    text-align: center;
    padding: 10px;
  }

  .footer-links ul li {
    display: block;
    margin: 5px 0;
  }
}

/* Fix footer at bottom */
.fixed-footer {
  position: relative ;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 100;
}

/* Make address textarea taller */
#Address {
  min-height: 80px;
  resize: vertical;
}

/* Center the form vertically and horizontally */
.centered-form-row {
  min-height: calc(100vh - 120px); /* Adjust for header/footer height */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Header logo styles */
.logo-header1 {
    width: 180px;
    height: 70px;
}
.logo-header2 {
    width: 125px;
    margin-right: 20px;
    height: 60px;
}
.logo-header3 {
    width: 100px;
    margin-right: 8px;
    height: 55px;
}

/* Header search styles */
.header-search-form {
    position: relative;
    max-width: 527px;
}
.header-search {
    border-radius: 25px;
    padding: 10px 5px 10px 38px;
    border: 2px solid lightgray;
    min-width: 120px;
    font-size: 17px;
    font-family: Roboto, sans-serif;
}
.header-search-form i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #868a90;
}

/* Footer contact styles */
.contact-heading {
    color: black;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.contact {
    color: #1b2c6d;
}
.contact-small {
    color: #1b2c6d;
    margin: 4px 0;
    font-size: 0.95rem;
}
.muted-italic {
    font-style: italic;
    color: #1b2c6d;
}
.fw-semibold {
    color: #1b2c6d;
    font-weight: 600;
}
.contact-small span:hover {
    color: #1b2c6d;
    text-decoration: underline;
}

