@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
:root {
  --color-green: rgba(15, 166, 116);
  --Light-background: rgba(249, 250, 251);
  --color-faint: rgba(227, 242, 237);
  --color-black: rgba(15, 28, 47);
  --icon-color: rgba(31, 31, 31);
  --white-color: rgba(255, 255, 255);
  --color-red: rgba(239, 68, 68);
  --color-pending: rgba(238, 217, 217);
  --color-complete: rgba(210, 223, 243);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 100vh;
  padding: 35px;
}

/* Simple feedback messages */
.msg {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.msg.info { background: #eef2ff; color: #1e3a8a; }
.msg.success { background: #ecfdf5; color: #065f46; }
.msg.error { background: #fef2f2; color: #991b1b; }

.container {
  width: 100%;
 display: grid;
 grid-template-columns: repeat(2, 1fr);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.left {
  background-image: url("../Images/LogPage/Frame\ 102.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  color: #fff;
}

.left h1 {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.2;
}

/* Right Section */
.right {
  flex: 1;
  padding: 40px;
}

.right h2 {
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: #333;
}

form {
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
  gap: 10px;
}

fieldset.account-type {
  margin: 10px 0 6px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 12px;
}
fieldset.account-type legend {
  font-size: 0.9rem;
  color: #374151;
  padding: 0 6px;
}
fieldset.account-type label {
  margin-right: 12px;
}

label {
  margin-bottom: 15px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"] {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
}

small {
  font-size: 0.8rem;
  color: gray;
  margin-bottom: 8px;
}

.checkbox {
  font-size: 0.9rem;
  margin: 15px 0;
}

.checkbox input {
  margin-right: 8px;
}

.btn {
  background: #10b981;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 10px;
}

.btn:hover {
  background: #0f9a6c;
}

.divider {
  text-align: center;
  margin: 20px 0;
  font-weight: bold;
  color: #666;
}
.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ccc;
}

.divider:not(:empty)::before {
  margin-right: 0.75em;
}

.divider:not(:empty)::after {
  margin-left: 0.75em;
}

.google-btn svg {
  width: 20px;
}

.login-text {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
}

.login-text a {
  color: #10b981;
  text-decoration: none;
}

/* FINAL STYLING */

/* General Reset */


/* Left Section */
.left {
  display: flex;
  justify-content: center;
  align-items: center;
}

.right h2 {
  margin-bottom: 20px;
  color: #333;
  font-weight: 600;
  font-size: 39.81px;
}

form {
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
  gap: 10px;
}

small {
  font-size: 0.8rem;
  color: gray;
  margin-bottom: 8px;
}

.checkbox {
  font-size: 0.9rem;
  margin: 15px 0;
}

.checkbox input {
  margin-right: 8px;
}

.btn {
  background: #10b981;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 10px;
}

.btn:hover {
  background: #0f9a6c;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ccc;
}

.divider:not(:empty)::before {
  margin-right: 0.75em;
}

.divider:not(:empty)::after {
  margin-left: 0.75em;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #ccc;
  padding: 14px;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.google-btn img {
  width: 20px;
}

.login-text {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
}

.login-text a {
  color: #10b981;
  text-decoration: none;
}

/* Top bar hidden by default (desktop) */
.topbar {
  display: none;
}

/* Responsive: Mobile screens */
@media (max-width: 900px) {
  body {
    padding: 0;
  }
  .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 20;
    height: 80px;
    border-bottom: 1px solid #d2dff3;
    margin-bottom: 10px;
    width: 100%;
  }
  .container {
    width: 95%;
  }
  .left {
    height: 400px;
  }
  .container {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  body {
    display: block;
    height: auto;

  }


  #firstName,
  #lastName {
    width: 100%;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
  }

  .brand-icon {
    color: #10b981;
    display: inline-flex;
  }

  .brand-text {
    font-weight: 600;
    font-size: 1rem;
    color: #0b1420;
  }

  .menu-btn {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px;
    line-height: 0;
    cursor: pointer;
    color: #111827;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  }

  .mobile-drawer {
    display: none;
  }

  /* .mobile-drawer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.28s ease, opacity 0.28s ease;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    z-index: 35;
  } */

  .mobile-drawer.open {
    display: block;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
  }

  .mobile-drawer a {
    display: block;
    padding: 12px 16px;
    color: #111827;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
  }

  .container {
    flex-direction: column;
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    margin-top: 8px;
    overflow: scroll;padding: 0;
  }

  .left {
    width: 100%;
    height: 250px;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .left h1 {
    font-size: 2rem;
  }

  .right {
    width: 100%;
    margin: 0px auto;
    padding: 20px;
  }

  form {
    width: 100%;
    margin: 0 auto;
  }

  .row {
    flex-direction: column;
    gap: 0;
  }

  input[type="text"],
  input[type="email"],
  input[type="password"] {
    font-size: 1rem;
  }

  .btn,
  .google-btn {
    width: 100%;
  }
}
@media(max-width: 500px) {
  .container {
    width: 100%;
    padding: 0;
  }
  .right {
    width: 95%;
  }
  .left {
    width: 95%;
    
  }
}
@media (max-width: 400px) {
  .left h1 {
    font-size: 1.6rem;
  }
  .right h2 {
    font-size: 1.5rem;
  }

  .left {
    position: relative;
    flex: none;
    height: 254px;
    margin: 16px auto;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 8px;
  }
}
