body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    height: 100vh;
    overflow: hidden;
    flex-direction: column;
    justify-content: space-between;
  }

/* Project List Styling */
.projects-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.project-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  margin-bottom: 24px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
}

.project-card:hover {
  box-shadow: 0 8px 32px rgba(0,188,212,0.12);
  transform: translateY(-2px);
}

.project-header {
  background: linear-gradient(135deg, #00bcd4 0%, #079be1 100%);
  color: white;
  padding: 24px 32px;
  position: relative;
}

.project-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.project-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.project-description {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.project-path {
  position: absolute;
  top: 24px;
  right: 32px;
  background: rgba(255,255,255,0.2);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.project-content {
  padding: 24px 32px;
}

.project-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.project-actions .btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-actions .btn-info {
  background: #00bcd4;
  color: white;
}

.project-actions .btn-info:hover {
  background: #079be1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,188,212,0.3);
}

.project-actions .btn-danger {
  background: #e53935;
  color: white;
}

.project-actions .btn-danger:hover {
  background: #b71c1c;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(229,57,53,0.3);
}

.project-actions .btn-warning {
  background: #ff9800;
  color: white;
}

.project-actions .btn-warning:hover {
  background: #f57c00;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,152,0,0.3);
}

.project-users-section {
  background: #f8fafd;
  border-radius: 12px;
  padding: 20px;
  margin-top: 16px;
}

.project-users-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-users-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.project-users-table th {
  background: #00bcd4;
  color: white;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: left;
}

.project-users-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.9rem;
}

.project-users-table tr:nth-child(even) {
  background: #f8fafd;
}

.project-users-table tr:hover {
  background: #e3f7fa;
}

.user-type-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.user-type-badge.admin {
  background: #00bcd4;
  color: white;
}

.user-type-badge.superuser {
  background: #079be1;
  color: white;
}

.user-type-badge.client {
  background: #e0e0e0;
  color: #333;
}

.no-projects {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.no-projects h1 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #333;
}

.no-projects p {
  font-size: 1.1rem;
  opacity: 0.8;
}

@media (max-width: 768px) {

  body{
    overflow-y: scroll;
  }

  .projects-container {
    padding: 10px;
  }
  
  .project-header {
    padding: 20px;
  }
  
  .project-path {
    position: static;
    margin-top: 12px;
    display: inline-block;
  }
  
  .project-content {
    padding: 20px;
  }
  
  .project-actions {
    flex-direction: column;
  }
  
  .project-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .project-users-table {
    font-size: 0.8rem;
  }
  
  .project-users-table th,
  .project-users-table td {
    padding: 8px 12px;
  }
}

/* Dark theme support */
[data-theme="dark"] .project-card {
  background: #2d3748;
  border-color: #4a5568;
}

[data-theme="dark"] .project-content {
  color: #e2e8f0;
}

[data-theme="dark"] .project-users-section {
  background: #1a202c;
}

[data-theme="dark"] .project-users-title {
  color: #e2e8f0;
}

[data-theme="dark"] .project-users-table {
  background: #2d3748;
}

[data-theme="dark"] .project-users-table td {
  border-color: #4a5568;
  color: #e2e8f0;
}

[data-theme="dark"] .project-users-table tr:nth-child(even) {
  background: #1a202c;
}

[data-theme="dark"] .project-users-table tr:hover {
  background: #2c5282;
}

/* Project New Form Styling */
.project-form-wrapper {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-form-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  max-width: 400px;
  margin: 0 auto;
  padding: 32px 24px 24px 24px;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.project-form-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #00bcd4;
  margin-bottom: 16px;
  text-align: center;
}
.project-form-card .form-group {
  margin-bottom: 18px;
  width: 100%;
}
.project-form-card label {
  font-weight: 600;
  color: #079be1;
  margin-bottom: 4px;
  display: block;
  font-size: 0.98em;
}
.project-form-card input[type="text"],
.project-form-card textarea,
.project-form-card select {
  width: 100%;
  padding: 7px 10px;
  border: 1.2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.97em;
  background: #f8fafd;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  margin-top: 2px;
  height: 36px;
}
.project-form-card textarea {
  min-height: 70px;
  resize: vertical;
  font-size: 0.97em;
  padding: 7px 10px;
}
.project-form-card input[type="text"]:focus,
.project-form-card textarea:focus,
.project-form-card select:focus {
  border-color: #00bcd4;
  box-shadow: 0 0 0 2px rgba(0,188,212,0.10);
  background: #fff;
}
.project-form-card .form-text {
  color: #888;
  font-size: 0.92em;
  margin-top: 2px;
}
.project-form-card button[type="submit"] {
  width: 100%;
  padding: 10px;
  background: linear-gradient(90deg, #00bcd4 60%, #079be1 100%);
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.05rem;
  box-shadow: 0 2px 8px rgba(0,188,212,0.08);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  margin-top: 8px;
  letter-spacing: 0.5px;
}
.project-form-card button[type="submit"]:hover {
  background: linear-gradient(90deg, #079be1 60%, #00bcd4 100%);
  box-shadow: 0 4px 16px rgba(0,188,212,0.12);
  transform: translateY(-2px) scale(1.03);
}
@media (max-width: 600px) {
  .project-form-card {
    padding: 12px 2px 12px 2px;
    max-width: 98vw;
  }
}
[data-theme="dark"] .project-form-card {
  background: #2d3748;
  border-color: #4a5568;
}
[data-theme="dark"] .project-form-card label {
  color: #00bcd4;
}
[data-theme="dark"] .project-form-card input,
[data-theme="dark"] .project-form-card textarea,
[data-theme="dark"] .project-form-card select {
  background: #232b3b;
  color: #e2e8f0;
  border-color: #4a5568;
}
[data-theme="dark"] .project-form-card .form-text {
  color: #b0b0b0;
}

.user-form-wrapper {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-form-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  max-width: 320px;
  margin: 0 auto;
  padding: 28px 16px 20px 16px;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.user-form-card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #00bcd4;
  margin-bottom: 14px;
  text-align: center;
}
.user-form-card .form-group {
  margin-bottom: 16px;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.user-form-card .form-floating {
  width: 85%;
  margin: 0 auto;
  position: relative;
}
.user-form-card .form-control,
.user-form-card .form-select {
  width: 85%;
  margin: 0 auto;
  padding: 7px 10px;
  border: 1.2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.95em;
  background: #f8fafd;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  height: 36px;
  display: block;
}
.user-form-card .form-control:focus,
.user-form-card .form-select:focus {
  border-color: #00bcd4;
  box-shadow: 0 0 0 2px rgba(0,188,212,0.10);
  background: #fff;
}
.user-form-card .form-floating label {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  background: transparent;
  color: #888;
  font-size: 0.97em;
  pointer-events: none;
  transition: all 0.2s;
  padding: 0 4px;
}
.user-form-card .form-control:focus ~ label,
.user-form-card .form-control:not(:placeholder-shown) ~ label,
.user-form-card .form-select:focus ~ label,
.user-form-card .form-select:not([value=""]) ~ label {
  top: -10px;
  left: 8px;
  font-size: 0.85em;
  color: #00bcd4;
  background: #fff;
  padding: 0 4px;
}
.user-form-card .form-text {
  color: #888;
  font-size: 0.92em;
  margin-top: 2px;
  width: 85%;
  margin-left: auto;
  margin-right: auto;
}
.user-form-card button[type="submit"],
.user-form-card button[type="button"] {
  width: 85%;
  padding: 10px;
  background: linear-gradient(90deg, #00bcd4 60%, #079be1 100%);
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.05rem;
  box-shadow: 0 2px 8px rgba(0,188,212,0.08);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  margin-top: 8px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.user-form-card button[type="submit"]:hover,
.user-form-card button[type="button"]:hover {
  background: linear-gradient(90deg, #079be1 60%, #00bcd4 100%);
  box-shadow: 0 4px 16px rgba(0,188,212,0.12);
  transform: translateY(-2px) scale(1.03);
}
@media (max-width: 600px) {
  .user-form-card {
    padding: 8px 1px 8px 1px;
    max-width: 98vw;
  }
  .user-form-card .form-floating,
  .user-form-card .form-control,
  .user-form-card .form-select,
  .user-form-card button[type="submit"],
  .user-form-card button[type="button"] {
    width: 98%;
  }
}
[data-theme="dark"] .user-form-card {
  background: #2d3748;
  border-color: #4a5568;
}
[data-theme="dark"] .user-form-card label {
  color: #00bcd4;
}
[data-theme="dark"] .user-form-card .form-control,
[data-theme="dark"] .user-form-card .form-select {
  background: #232b3b;
  color: #e2e8f0;
  border-color: #4a5568;
}
[data-theme="dark"] .user-form-card .form-text {
  color: #b0b0b0;
}

.dashboard-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin: 40px auto 0 auto;
  max-width: 900px;
}
.dashboard-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  padding: 28px 32px 20px 32px;
  min-width: 220px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e0;
  transition: box-shadow 0.2s, transform 0.2s;
}
.dashboard-card:hover {
  box-shadow: 0 8px 32px rgba(0,188,212,0.12);
  transform: translateY(-2px) scale(1.03);
}
.dashboard-icon {
  font-size: 2.2rem;
  color: #00bcd4;
  margin-bottom: 10px;
}
.dashboard-label {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 4px;
  font-weight: 500;
  text-align: center;
}
.dashboard-value {
  font-size: 2.1rem;
  font-weight: 700;
  color: #079be1;
  margin-bottom: 0;
  text-align: center;
}
@media (max-width: 700px) {
  .dashboard-cards {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .dashboard-card {
    min-width: 90vw;
    max-width: 98vw;
    padding: 18px 10px 14px 10px;
  }
}
[data-theme="dark"] .dashboard-card {
  background: #2d3748;
  border-color: #4a5568;
}
[data-theme="dark"] .dashboard-label {
  color: #e2e8f0;
}
[data-theme="dark"] .dashboard-value {
  color: #00bcd4;
}

.dashboard-section {
  max-width: 900px;
  margin: 36px auto 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  padding: 28px 32px 20px 32px;
  border: 1px solid #e0e0e0;
}
.dashboard-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #00bcd4;
  margin-bottom: 18px;
  text-align: left;
}
.dashboard-activity-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0 0;
}
.dashboard-activity-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #444;
  font-size: 1.01rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dashboard-activity-list li:last-child {
  border-bottom: none;
}
.dashboard-activity-icon {
  color: #00bcd4;
  font-size: 1.1rem;
}
.dashboard-progress-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dashboard-progress-list li {
  margin-bottom: 18px;
}
.dashboard-progress-label {
  font-size: 1.01rem;
  color: #555;
  margin-bottom: 4px;
  font-weight: 500;
}
.dashboard-progress-bar {
  width: 100%;
  height: 12px;
  background: #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2px;
}
.dashboard-progress-bar-inner {
  height: 100%;
  background: linear-gradient(90deg, #00bcd4 60%, #079be1 100%);
  border-radius: 8px;
  transition: width 0.5s;
}
.dashboard-progress-value {
  font-size: 0.95em;
  color: #079be1;
  margin-left: 8px;
}
.dashboard-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}
.dashboard-quick-link {
  background: #00bcd4;
  color: #fff;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,188,212,0.08);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dashboard-quick-link:hover {
  background: #079be1;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,188,212,0.12);
}
@media (max-width: 700px) {
  .dashboard-section {
    padding: 14px 6px 10px 6px;
    max-width: 98vw;
  }
  .dashboard-quick-links {
    flex-direction: column;
    gap: 10px;
  }
}
[data-theme="dark"] .dashboard-section {
  background: #2d3748;
  border-color: #4a5568;
}
[data-theme="dark"] .dashboard-activity-list li {
  color: #e2e8f0;
}
[data-theme="dark"] .dashboard-progress-label {
  color: #e2e8f0;
}

.project-card-uniform {
  max-width: 420px;
  min-width: 320px;
  min-height: 220px;
  margin: 24px auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (max-width: 600px) {
  .project-card-uniform {
    max-width: 98vw;
    min-width: 0;
    min-height: 180px;
  }
}