/* ===========================
   GLOBAL
=========================== */

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: #f6f9fc;
}

/* ===========================
   HEADER
=========================== */

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 30px;
  background: white;
  border-bottom: 1px solid #e6eef5;
}

.logo-area img {
  height: 55px;
  cursor: pointer;
}

/* ===========================
   MENU
=========================== */

#menu {
  display: flex;
  align-items: center;
}

#menu a {
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  color: #0061a5;
}

#menu a:hover {
  text-decoration: underline;
}

/* ===========================
   DROPDOWN
=========================== */

.dropdown {
  position: relative;
  display: inline-block;
  margin-left: 18px;
}

.dropbtn {
  background: none;
  border: none;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #0061a5;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 28px;
  left: 0;
  background: white;
  min-width: 220px;
  border: 1px solid #e6eef5;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  z-index: 999;
}

.dropdown-content a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: #003a63;
  font-size: 13px;
}

.dropdown-content a:hover {
  background: #f0f7ff;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ===========================
   SUBMENU (drugi nivo)
=========================== */

.submenu {
  position: relative;
  padding: 10px 14px;
  font-size: 13px;
  cursor: pointer;
  color: #003a63;
  white-space: nowrap;
}

.submenu:hover {
  background: #f0f7ff;
}

.submenu-content {
  display: none;
  position: absolute;
  top: 0;
  left: 220px;
  background: white;
  min-width: 200px;
  border: 1px solid #e6eef5;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  z-index: 999;
}

.submenu:hover .submenu-content {
  display: block;
}

.submenu-content a {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  color: #003a63;
}

.submenu-content a:hover {
  background: #f0f7ff;
}

/* ===========================
   MAIN APP
=========================== */

#app {
  padding: 30px;
}

/* ===========================
   LOGIN BOX
=========================== */

.login-box {
  max-width: 360px;
  margin: 90px auto;
  background: white;
  padding: 25px;
  border-radius: 14px;
  border: 1px solid #e6eef5;
}

.login-box h2 {
  margin-top: 0;
}

.login-box input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.login-box button {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  background: #0061a5;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.login-box button:hover {
  background: #004f87;
}

/* ===========================
   MAIN LAYOUT + WATERMARK
=========================== */

.main-layout {
  position: relative;
  min-height: 80vh;
  padding: 50px;
  background: white;
  border-radius: 18px;
  border: 1px solid #e6eef5;
  overflow: hidden;
}

/* Watermark logo */
.watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  transform: translate(-50%, -50%);
  opacity: 0.10;
  pointer-events: none;
  z-index: 1;
}

.main-layout h1,
.main-layout p,
.main-layout ul {
  position: relative;
  z-index: 2;
}
