/* =========================
   GLOBAL BASE
========================= */
* {
  box-sizing: border-box;
}

body {
  margin: 5px 10px;
  font-family: Arial, sans-serif;
  background-color: #fff;
}

/* =========================
   HEADER
========================= */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background-color: #cdf9f6;
  border-radius: 10px;
  margin-top: 20px;
  font-size: 14px;
  color: #555;
}

.company-name {
  font-size: 22px;
  font-weight: bold;
}

.logo {
  max-height: 40px;
}

/* =========================
   NAVIGATION
========================= */
.nav {
  display: flex;
  justify-content: center;
  position: relative;
  margin: 10px 0;
}

.menu {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.menu li a {
  text-decoration: none;
  font-weight: bold;
  color: #333;
}

.menu li a:hover {
  text-decoration: underline;
}

/* =========================
   HAMBURGER MENU
========================= */
.hamburger-menu {
  display: none;
  font-size: 26px;
  cursor: pointer;
  user-select: none;
}

/* =========================
   WELCOME BAR
========================= */
.welcome-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px auto 5px;
  padding: 10px 20px;
  width: 100%;
  background: #f5f5f5;
  border-radius: 5px;
  font-weight: bold;
}

.welcome-right a {
  text-decoration: none;
}

.welcome-right a:hover {
  text-decoration: underline;
}

/* =========================
   CONTAINER
========================= */
.container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 15px;
}

/* =========================
   FORMS
========================= */
.form-container {
  width: 450px;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

h2 {
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  font-size: 16px;
  margin-bottom: 5px;
  color: #333;
}

input,
textarea,
select {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
}

input[type="submit"],
button {
  padding: 10px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

button {
  background-color: #28a745;
}

button:hover {
  opacity: 0.9;
}

/* =========================
   INLINE FIELD (+ BUTTON)
========================= */
.inline-field {
  display: flex;
  gap: 8px;
  align-items: center;
}

.add-btn {
  cursor: pointer;
  font-size: 20px;
  padding: 4px 10px;
  background: #333;
  color: #fff;
  border-radius: 4px;
}

/* =========================
   MODAL
========================= */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1000;
}

.modal-content {
  background: #fff;
  width: 300px;
  margin: 120px auto;
  padding: 20px;
  border-radius: 6px;
  text-align: center;
}

/* =========================
   FOOTER
========================= */
.footer {
  background-color: #f0f4f8;
  border-radius: 10px;
  text-align: center;
  padding: 10px;
  margin-top: 20px;
  font-size: 14px;
  color: #555;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 10px;
  }

  .company-name {
    font-size: 18px;
  }

  .container {
    flex-direction: column;
  }

  .form-container {
    width: 90%;
  }
}

@media (max-width: 768px) {

  .nav {
    justify-content: flex-end;
  }

  .hamburger-menu {
    display: block;
    padding: 5px 10px;
  }

  .menu {
    display: none;
    flex-direction: column;
    background-color: #f0f4f8;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    border-radius: 10px;
    padding: 10px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 100;
  }

  .menu.active {
    display: flex;
  }

  .menu li {
    text-align: center;
    padding: 10px 0;
  }
}

@media (max-width: 480px) {
  .company-name {
    font-size: 16px;
  }

  h2 {
    font-size: 18px;
  }

  label {
    font-size: 14px;
  }

  input,
  textarea,
  select,
  button {
    font-size: 14px;
  }
}