/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* ================= LOGIN PAGE ================= */

.login-body {
  height: 100vh;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container {
  width: 900px;
  max-width: 95%;
}

.login-box {
  display: flex;
  border-radius: 20px;
  overflow: hidden;
  background: white;
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}

/* LEFT */
.login-left {
  flex: 1;
  padding: 40px;
}

.login-left h1 {
  color: #7c3aed;
  margin-bottom: 10px;
  font-weight: 600;
}

.login-left p {
  color: gray;
  margin-bottom: 25px;
}

/* INPUTS */
.login-left input,
.login-left select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #ddd;
  transition: 0.2s;
}

.login-left input:focus,
.login-left select:focus {
  border-color: #8b5cf6;
  outline: none;
  box-shadow: 0 0 0 2px rgba(139,92,246,0.2);
}

/* BUTTON */
.login-left button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, #ec4899, #8b5cf6);
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.login-left button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* RIGHT IMAGE */
.login-right {
  width: 400px;
}

.login-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================= DASHBOARD ================= */

.main {
  display: flex;
  height: 100vh;
  background: #0f172a;
  color: white;
}

/* SIDEBAR */
.sidebar {
  width: 260px;
  padding: 25px;
  background: #1e293b;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 20px rgba(0,0,0,0.2);
}

.sidebar h2 {
  margin-bottom: 25px;
  font-size: 20px;
}

.sidebar p {
  margin-bottom: 20px;
  opacity: 0.85;
}

/* LOGOUT BUTTON */
.logout {
  margin-top: auto;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, #ef4444, #f97316);
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.logout:hover {
  transform: scale(1.05);
}

/* CONTENT */
.content {
  flex: 1;
  padding: 40px;
}

.content h2 {
  margin-bottom: 20px;
}

/* FILE CARD */
.file-card {
  margin-top: 20px;
  padding: 20px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  transition: 0.3s;
}

.file-card:hover {
  transform: scale(1.02);
}

/* BUTTON */
button {
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  background: #3b82f6;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  transform: translateY(-2px);
}

/* INPUTS DASHBOARD */
#uploadSection input {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 8px;
  border: none;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .login-box {
    flex-direction: column;
  }

  .login-right {
    display: none;
  }

  .sidebar {
    width: 200px;
  }
}
