@charset "UTF-8";
/* CSS Document */

/* style.css */

body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  background: #EAEAEA;
  color: #333;
  line-height: 1.6;
}

header {
  background: #fff;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

h1 {
  margin: 0;
  font-size: 2rem;
}
.header_layout{
	background: url("../img/side.jpg") repeat left top /10% auto;
padding: 3rem 1rem 2rem; 
}
.description {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #555;
}

main {
  padding: 2rem;
  max-width: 1100px;
  margin: auto;
}

.entry-form {
  background: #fff;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 2rem;
}

label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: bold;
  font-size: 1.05rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
  background-color: #fafafa;
  transition: border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #007BFF;
  outline: none;
  background-color: #fff;
}

.radio-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: normal;
  padding-left: 1.5rem;
  position: relative;
}

.radio-group input[type="radio"] {
  position: absolute;
  left: 0;
  top: 3px;
}

.required {
  color: red;
  font-size: 0.9em;
  margin-left: 0.3em;
}

small {
  color: #888;
  font-size: 0.9rem;
  display: block;
  margin-top: 0.5rem;
}

.input-submit {
  background: #007BFF;
  color: white;
  padding: 1rem 3rem;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.input-submit:hover {
  background: #0056b3;
}

.input-back {
  background: #e2eaf3;
  color: #007BFF;
  padding: 1rem 3rem;
  margin-bottom: 1.5em;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.input-back:hover {
  background: #0056b3;
  color: #ffffff;
}


.form-mainError{
  display: none;
  color: #ff0000;
  margin: 0.9;
  text-align: center;
}
.input-error{
  display: none;
  color: #ff0000;
  margin: 0.9;
  font-size: 1rem;
}

footer {
  text-align: center;
  margin: 3rem auto;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #777;
}

.footer-nav a {
  color: #007BFF;
  text-decoration: none;
  margin: 0 0.8rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  body {
    font-size: 16px!important;
  }

  main {
    padding: 1rem;
  }

  .entry-form {
    padding: 2rem;
  }

  input[type="submit"] {
    width: 100%;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  .description {
    font-size: 1rem;
  }

  label {
    font-size: 1rem;
  }

    .entry-form p {
    font-size: 15px!important;
  }
}
