
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.section {
  padding: 40px 20px;
}

/* nav {
  background-color: #f0f0f0;
  text-align: center;
  padding: 10px 0;
}

nav a {
  margin: 0 15px;
  color: #333;
  text-decoration: none;
  font-weight: bold;
} */

.intro-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.intro-img {
  max-width: 250px;
}

.intro-text {
  max-width: 500px;
}

.btn-yellow {
  background-color: #f6b600;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.btn-blue {
  background-color: #0077cc;
  color: white;
  padding: 10px 20px;
  border: none;
  margin-top: 15px;
  display: block;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.tablink {
  padding: 10px 20px;
  background: #ddd;
  border: none;
  cursor: pointer;
}

.tablink.active {
  background: #0077cc;
  color: white;
}

.tabcontent {
  display: none;
  max-width: 600px;
  margin: auto;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="number"],
form input[type="file"] {
  width: 100%;
  padding: 8px;
  margin: 8px 0;
}

form label {
  display: block;
  margin-top: 10px;
}

.error {
  color: red;
  margin-top: 10px;
}

.login-benefits ul {
  padding-left: 20px;
}

.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.social-buttons button {
  padding: 10px;
  border: none;
  color: white;
  font-weight: bold;
}

.facebook { background-color: #3b5998; }
.google { background-color: #db4437; }
.apple { background-color: #000; }

@media (max-width: 768px) {
  .intro-content {
    flex-direction: column;
  }
}

.input-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.input-field {
  width: 100%;
  padding: 1rem 0.5rem 0.5rem;
  border: 2px solid #ccc;
  border-radius: 8px;
  background: none;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.input-label {
  position: absolute;
  top: 1rem;
  left: 0.5rem;
  background: white;
  padding: 0 0.25rem;
  color: #666;
  transition: 0.3s;
  pointer-events: none;
}

.input-field:focus {
  border-color: #0077cc;
  outline: none;
}

.input-field:focus + .input-label,
.input-field:not(:placeholder-shown) + .input-label {
  top: -0.5rem;
  left: 0.5rem;
  font-size: 0.85rem;
  color: #0077cc;
}
