/* --- Reset & Base --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

.error {
      background: #f44336;
      color: #fff;
      padding: 10px 15px;
      border-radius: 5px;
      margin: 10px 0;
      font-weight: bold;
      text-align: center;
    }

/* --- Top Bar --- */
.top-bar {
  background: #004578;
  color: #fff;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 40px;
}
.top-bar a { color: #fff; margin-left: 12px; transition: opacity .2s; }
.top-bar a:hover { opacity: 0.7; }

/* --- Header --- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
header .logo img { height: 100px; }
nav a {
  margin-left: 20px;
  font-weight: 500;
  color: #004578;
  transition: color .2s;
}
nav a:hover { color: #0078d4; }

/* --- Main Container --- */
main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background: #fff;
}

.container {
  display: flex;
  width: 900px;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Left Panel */
.left-panel {
  flex: 1;
  background: linear-gradient(105deg, #4b735f, #1884d6);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  border-top-right-radius: 50% 100%;
  border-bottom-right-radius: 50% 100%;
}

.left-panel img {
  width: 100px;
  margin-bottom: 20px;
}

.left-panel h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.left-panel p {
  font-size: 14px;
  margin-bottom: 20px;
  text-align: center;
  max-width: 250px;
}

.left-panel .btn {
  display: inline-block;
  padding: 10px 30px;
  border: 1px solid #fff;
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}
.left-panel .btn:hover {
  background: #fff;
  color: #1d8b4e;
}

/* Right Panel */
.right-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.right-panel h2 {
  color: #0755b5;
  font-size: 28px;
  margin-bottom: 10px;
  text-transform: lowercase;
}

.right-panel p {
  font-size: 14px;
  margin-bottom: 20px;
  color: #333;
}

form {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 300px;
}

form input,
form select {
  padding: 12px;
  margin: 8px 0;
  border: none;
  border-radius: 30px;
  background: #f7e4cd;
  outline: none;
}

.login-btn {
  margin-top: 15px;
  padding: 12px;
  border: none;
  border-radius: 30px;
  background: orange;
  color: black;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.login-btn:hover { background: #ed8c2b; }

.right-panel a {
  margin-top: 10px;
  font-size: 13px;
  color: #666;
  text-decoration: none;
}
.right-panel a:hover { text-decoration: underline; }

.right-panel p {
  margin-top: 15px;
  font-size: 13px;
}
.right-panel p a {
  color: #1d8b4e;
  font-weight: bold;
  text-decoration: none;
}
.right-panel p a:hover { text-decoration: underline; }

/* --- Footer --- */
footer {
  background: #004578;
  color: #fff;
  padding: 40px;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-container .column {
  flex: 1;
  min-width: 200px;
  font-size: 14px;
  line-height: 1.6;
}
.footer-container .column p { margin-bottom: 8px; }
.copyright {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 12px;
  font-size: 13px;
  opacity: 0.8;
}

    footer .copyright {
      background: #000;
      color: #fff;
      text-align: center;
      padding: 10px;
      font-size: 14px;
      margin-top: 20px;
    }