/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Page layout */
body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(120deg, #000000, #333333);
  color: white;
}

a {
  display: block;
  margin-top: 1rem;
  color: #90caf9;
  text-decoration: none;
}

/* Login container */
.login-container {
  background-color: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 400px;
  text-align: center;
}

/* Login header styling */
.login-header {
  margin-bottom: 30px;
}

.login-header h2 {
  color: #333;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}

.login-header p {
  color: #777;
  font-size: 14px;
}

.login-icon {
  font-size: 50px;
  color: #6c63ff;
  margin-bottom: 15px;
}

/* Error message styling */
.error-message {
  background-color: #ffebee;
  color: #d32f2f;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  text-align: center;
  border-left: 4px solid #f44336;
  font-size: 14px;
}

.error-message p {
  margin: 0;
}

/* Form styling */
.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #555;
  font-size: 14px;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.form-group input:focus {
  border-color: #6c63ff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.1);
}

/* Button styling */
.login-button {
  width: 100%;
  background-color: #6c63ff;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-button:hover {
  background-color: #5a52d9;
}

/* Dashboard styling */
 
.dashboard-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-area {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.nav-tabs {
  display: flex;
  gap: 1rem;
  flex-wrap:wrap;
  justify-content: center;
}

.dashboard-header{
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-size: 4rem;
  color: white;
}

.tab-btn {
  background: none;
  color: #ddd;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  padding: 12px 12px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.tab-btn:hover,
.tab-btn.active {
  background-color: #444;
}

.tab-content {
  display: none;
  padding: 2rem;
  display: none;
  justify-content: center;
}

.tab-content.active {
  display: flex;
}

.card {
  background: #2d2d2d;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  max-width: 500px;
  width: 100%;
  text-align: center;
}

.card h2 {
  font-weight: normal;
  color: white;
  font-size: 1rem;
  margin_bottom: 1rem;
}

.card * + * {
  margin-top: 1rem;
}

.file-input {
  display: block;
  margin: 0 auto;
  margin-top: 1rem;
}

.upload-btn {
  display: block;
  margin: 1.5rem auto 0 auto;
  padding: 10px 20px;
  background-color: #9695b3;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.upload-btn:hover {
  background-color: #79779d;
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.form-group label {
  margin-bottom: 0.5rem;
  color: white;
}

input[type="file"] {
  width: 100%;
}

.about-link {
  position: absolute;
  top: 1rem;
  right: 1rem;
  text-decoration: none;
  font-size: 1.2rem;
  color: #fff;
}
.about-link:hover {
  color: #90caf9;
}

.indent {
  display: inline-block;
  padding-left: 2rem; /* or any amount */
}
.spaced {
  margin-top: 1.5rem;
  text-align: center;
}

