body {
  font-family: Arial, sans-serif;
  margin: 0;
 
  background: #1A151B;
}

h1 {
  margin: 0;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
 width: 100%;
 height: 70px;
  margin: auto;
  margin-bottom: 30px;
  color: white;
  background-color: #261F27;
  position: fixed;
  top: 0;
  left: 0;
}
.top-bar h1 {
  margin-left: 20px;
    font-size: 24px;
    font-weight: bold;
}

.top-bar button {
  padding: 8px 16px;
  background-color: #FD6751;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-right: 24px;
}

button:hover {
  background-color: #88382c;
}

.charts-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  width: 90%;
  margin: auto;
}

canvas {
   background: #261F27;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  width: 100% !important;      /* Ensure full container width */
  max-width: 700px !important; /* Prevent oversizing */
  height: auto !important;
  aspect-ratio: 1.2 / 1;        /* Keep good visual ratio */
  box-sizing: border-box;
}

/* .charts-container {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 10px;
} */

.form-container {
  max-width: 400px;
  margin: 80px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input {
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  /* border-radius: 6px; */
}

.error-text {
  color: red;
  font-size: 14px;
  text-align: center;
}


.summary-and-table {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: 90%;
  margin: 100px auto;
  flex-wrap: wrap;
}

.summary-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  min-width: 140px;
}

.card {
  background-color: #261F27;
  border-radius: 10px;
  padding: 20px;
  color: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card h3 {
  margin: 0 0 40px 0;
  font-size: 16px;
  color: #ccc;
}

.card p {
  font-size: 44px;
  font-weight: bold;
  margin: 0;
}

.table-container {
  flex: 3;
  min-width: 600px;
}

/* .table-container {
  max-width: 1000px;
  margin: 30px auto;
  overflow-x: auto;
  background: #1e1e1e;
  padding: 20px;
  border-radius: 10px;
} */

.table-container h2 {
  color: #fff;
  margin-bottom: 10px;
}

table {
  width: 100%;
  height: 70vh;
  border-collapse: collapse;
  font-size: 14px;
  background-color: #261F27;
  color: #fff;
  overflow: auto;
}

th, td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #444;
}

th {
  background-color: #333;
}

tr:hover {
  background-color: #3a3a3a;
}
.login-container{
    width: 100%;
    height: 100vh;
display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.login-auth-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: auto;
  background-color: #261F27;
  color: white;
  border-radius: 0.5rem;
  width: 400px;
  height: fit-content;
  padding: 40px 0 20px 0;
  margin: 1rem auto;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.login-form {
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.login-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-align: center;
}

.login-input-group {
  position: relative;
  margin-bottom: 1.5rem;
  width: 100%;
}

.login-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #FD6751;
  background: transparent;
  padding: 1rem 0 0.5rem 0;
  font-size: 1rem;
  color: white;
  outline: none;
}

.login-label {
  position: absolute;
  top: 1rem;
  left: 0;
  font-size: 1rem;
  color: #6b7280;
  pointer-events: none;
  transition: all 0.2s ease;
}

.login-input:focus + .login-label,
.login-input:not(:placeholder-shown) + .login-label {
  top: -0.5rem;
  font-size: 0.75rem;
  color: #FD6751;
}

.login-btn {
  width: 100%;
  background-color: #FD6751;
  color: white;
  font-weight: bold;
  padding: 0.5rem 0;
  border: none;
  border-radius: 0.375rem;
  margin-top: 1.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.login-btn:hover {
  background-color: #88382c;
}

.login-text {
  text-align: center;
  font-size: 0.9rem;
}

.login-link {
  color: #FD6751;
  text-decoration: none;
}

.resume-section {
  margin-top: 1rem;
}

.resume-box {
  background-color: #1e1e1e;
  color: #f0f0f0;
  padding: 1rem;
  border-radius: 5px;
  overflow-x: auto;
  white-space: pre-wrap;
  font-family: monospace;
}
.dark-section{
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 50px;
}
.dark-section .card{
  width: 90%;
  height: fit-content;
  padding: 40px 0 40px 0;
}

ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  margin-bottom: 0.5rem;
}


.resume-section {
  margin-top: 1.5rem;
}

.resume-section h3 {
  margin-bottom: 0.5rem;
  color: #00ffcc;
}

.resume-box {
  background: #1e1e1e;
  color: #dcdcdc;
  padding: 1rem;
  border-radius: 0.5rem;
  width: 80%;
  min-height: 100px;
 height: fit-content;
  overflow-y: auto;
  font-family: monospace;
  white-space: pre-wrap;
  border: 1px solid #444;
}
