body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif; 
  color: #222;
  display: flex;
  background: #fff;
}

.sidebar {
  width: 200px;
  background-color: #fff;
  height: 100vh;
  padding: 140px 20px 30px 120px; 
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo {
  max-width: 40px;
  margin-bottom: 10px; 
}

nav {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

nav a {
  margin: 10px 0; 
  text-decoration: none;
  color: #222;
  font-weight: 500;
  font-size: 0.95em;
}

nav a:hover {
  text-decoration: underline;
}

.main-content {
  flex: 1;
  padding: 100px 200px 80px 180px; 
  max-width: 700px;
  background: #fff;
}

h1 {
  font-size: 2.4em;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

.intro {
  font-size: 1.05em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.bold {
  font-weight: bold;
  margin-top: 40px;
}

.section {
  margin-top: 60px;
}

.section h2 {
  font-size: 1em;
  color: #999;
  margin-bottom: 5px;
}

.section h3 {
  font-size: 1.5em;
  margin: 10px 0;
}

.section p {
  font-size: 1.05em;
  line-height: 1.6;
  max-width: 600px;
}

form input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  margin: 10px 0;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Helvetica Neue', sans-serif;
}


form button {
  margin-top: 20px; 
  width: auto;       
  padding: 14px 28px;
}


form button {
  background-color: #222;
  color: white;
  border: 2px solid #222;
  border-radius: 6px;
  padding: 14px 20px;
  font-size: 1.1em;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

form button:hover {
  background-color: white;
  color: #222;
  border: 2px solid #222;
}

form {
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
}

.success {
  color: green;
  font-weight: bold;
  margin-bottom: 20px;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%; 
  background-color: #fff;
  border-top: 1px solid #eee;
  padding: 16px 0;
  font-size: 0.8em;
  color: #999;
  z-index: 10;
}

footer .footer-inner {
  max-width: 960px;         
  margin: 0 auto;           
  padding: 5px 380px;
  font-size: 14px;
  color: #888;
  text-align: left;        
}

@media screen and (max-width: 768px) {
  body {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    padding: 20px;
    align-items: center;
    height: auto;
    flex-direction: row;
    justify-content: space-between;
  }

  .sidebar nav {
    flex-direction: row;
    gap: 20px;
  }

  .logo {
    max-width: 30px;
  }

  .main-content {
    padding: 30px 20px;
    max-width: 100%;
  }

  .section p {
    max-width: 100%;
  }

  footer .footer-inner {
    padding: 0 20px;
    text-align: center;
  }
}

@media screen and (min-width: 769px) {
  form input {
    max-width: 400px;
  }
}


