@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
/* Login Page Styles */
.login-body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(210deg, #1b3d57 0%, #16a085 100%);
  font-family: "Poppins", sans-serif;
}

.login-container {
  background: #132a3c;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(25, 118, 210, 0.15);
  max-width: 450px;
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
}

.login-container img {
  justify-items: center;
  width: 180px;
  height: 75px;
  margin-bottom: 10px;
}

.login-container h2 {
  margin-bottom: 2rem;
  color: #16a085;
  font-weight: 600;
  font-size: 1.5rem;
}

.login-container input[type="text"],
.login-container input[type="password"] {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1.2rem;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.login-container input:focus {
  border-color: #132a3c;
  outline: none;
}

.login-container button {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #1b3c56;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.login-container button:hover {
  background: #16a085;
}

.login-container .error-message {
  color: #c01d1d;
  background: #ffeaea;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
  width: 100%;
  text-align: center;
  font-size: 0.95rem;
}

/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
::selection {
  background: rgba(26, 188, 156, 0.3);
}
.container {
  max-width: 440px;
  padding: 0 20px;
  margin: 170px auto;
}
.wrapper {
  width: 100%;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0px 4px 10px 1px rgba(0, 0, 0, 0.1);
}
.wrapper .title {
  height: 90px;
  background: #16a085;
  border-radius: 5px 5px 0 0;
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wrapper form {
  padding: 30px 25px 25px 25px;
}
.wrapper form .row {
  height: 45px;
  margin-bottom: 15px;
  position: relative;
}
.wrapper form .row input {
  height: 100%;
  width: 100%;
  outline: none;
  padding-left: 60px;
  border-radius: 5px;
  border: 1px solid lightgrey;
  font-size: 16px;
  transition: all 0.3s ease;
}
form .row input:focus {
  border-color: #16a085;
  box-shadow: inset 0px 0px 2px 2px rgba(26, 188, 156, 0.25);
}
form .row input::placeholder {
  color: #999;
}
.wrapper form .row i {
  position: absolute;
  width: 47px;
  height: 100%;
  color: #fff;
  font-size: 18px;
  background: #16a085;
  border: 1px solid #16a085;
  border-radius: 5px 0 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wrapper form .pass {
  margin: -8px 0 20px 0;
}
.wrapper form .pass a {
  color: #16a085;
  font-size: 17px;
  text-decoration: none;
}
.wrapper form .pass a:hover {
  text-decoration: underline;
}
.wrapper form .button input {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  padding-left: 0px;
  background: #16a085;
  border: 1px solid #16a085;
  cursor: pointer;
}
form .button input:hover {
  background: #12876f;
}
.wrapper form .signup-link {
  text-align: center;
  margin-top: 20px;
  font-size: 17px;
}
.wrapper form .signup-link a {
  color: #16a085;
  text-decoration: none;
}
form .signup-link a:hover {
  text-decoration: underline;
}

/* Dashboard Styles */
.dashboard-body {
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
}

.content,
.report-container,
#reportContainer {
  flex: 1;
  height: 100%;
  width: 100%;
  display: flex;
}

#reportContainer,
.report-container {
  transition: margin-left 0.3s ease-in-out, width 0.3s ease-in-out;
}

#reportContainer.shrink,
.report-container.shrink {
  margin-left: 0;
  width: 100vw;
}

.content.shifted {
  margin-left: 200px;
}

.logout {
  margin-top: auto;
  color: white;
  text-decoration: none;
  padding: 10px;
  border-radius: 4px;
  text-align: center;
  background: #1976d2;
  font-weight: 500;
}

.logout:hover {
  background-color: #555;
}

/* Sidebar Styles */
.navigation {
  background-color: #132a3c;
  color: #fff;
  height: 63px;
  justify-items: center;
  padding: 1rem;
  border-bottom: 1px solid hsl(0, 0%, 0%);
  font-weight: bold;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 16rem;
  background-color: #132a3c;
  border-right: 1px solid hsl(220, 13%, 91%);
  transition: width 0.3s ease-in-out;
  overflow: hidden;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.sidebar.closed {
  width: 0rem;
}

.sidebar a {
  display: block;
  padding: 0.75rem 1.5rem;
  margin: 0.5rem 1rem;
  background-color: #f0f4f8;
  color: #222;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.sidebar a:hover {
  background-color: #16a085;
  color: #fff;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.15);
}

.sidebar a.active {
  background-color: #16a085;
  color: #fff;
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.18);
}

.sidebar-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sidebar-bottom .logout {
  width: 90%;
  color: white;
  border-radius: 4px;
  text-align: center;
  background: #16a085;
  font-weight: 500;
}

.sidebar-bottom .logout:hover {
  background: #c01d1d;
}

.sidebar-icon {
  padding: 10px;
  width: 200px;
  height: 75px;
  align-self: center;
  margin-bottom: 1.5rem;
}

.main-content {
  margin-left: 16rem;
  padding-top: 4rem;
  transition: margin-left 0.3s ease-in-out;
  min-width: 0;
  height: 100vh;
  width: calc(100vw - 16rem);
  display: flex;
  flex-direction: column;
  overflow-x: auto;
}

.main-content.shrink {
  margin-left: 0rem;
  width: calc(100vw);
}

.header {
  position: fixed;
  top: 0;
  left: 16rem;
  right: 0;
  height: 4rem;
  width: calc(100vw - 16rem);
  background-color: #132a3c;
  border-bottom: 1px solid hsl(220, 13%, 91%);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  z-index: 1100;
  transition: left 0.3s ease-in-out, width 0.3s ease-in-out;
}

.header.shrink {
  left: 0;
  width: 100vw;
}

.header h2 {
  color: #fff;
  font-size: 1.5rem;
  margin: 0;
}

.toggle-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #fff;
}
