:root {
  --primary-color: #3a5be3;
  --secondary-color: #6c63ff;
  --accent-color: #f5f7ff;
  --dark-text: #2d3748;
  --light-text: #718096;
  --success-color: #48bb78;
  --danger-color: #e53e3e;
  --warning-color: #ecc94b;
}

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background-color: #f8fafc;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-text);
  padding: 20px;
}

.app-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border: none;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  border-bottom: none;
  padding: 1.5rem;
  text-align: center;
}

.card-body {
  padding: 2rem;
}

.logo-container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 1.5rem 0;
}

.logo-container img {
  max-width: 180px;
  height: auto;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.logo-container img:hover {
  transform: scale(1.05);
}

.btn-main {
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn-researcher {
  background-color: var(--primary-color);
  border: none;
  color: white;
}

.btn-researcher:hover {
  background-color: #304dd6;
  transform: translateY(-2px);
}

.btn-admin {
  background-color: var(--danger-color);
  border: none;
  color: white;
}

.btn-admin:hover {
  background-color: #c53030;
  transform: translateY(-2px);
}

.btn-about {
  background-color: var(--success-color);
  border: none;
  color: white;
}

.btn-about:hover {
  background-color: #38a169;
  transform: translateY(-2px);
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.form-control {
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 12px 16px;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: none;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}

.form-label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark-text);
}

.protocol-input-container {
  position: relative;
  margin-bottom: 1.5rem;
}

.protocol-input-container .form-control {
  padding-left: 40px;
}

.protocol-input-container i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--light-text);
}

.modal-content {
  border-radius: 16px;
  border: none;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  padding: 1.5rem;
}

.modal-title {
  font-weight: 700;
  font-size: 1.5rem;
}

.modal-body {
  padding: 2rem;
}

.modal-footer {
  border-top: none;
  padding: 1.5rem;
}

.staff-list {
  list-style-type: none;
  padding: 0;
}

.staff-list li {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 10px;
  background-color: var(--accent-color);
  display: flex;
  align-items: center;
}

.staff-list li:last-child {
  margin-bottom: 0;
}

.staff-avatar {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-weight: 600;
}

.staff-info {
  flex: 1;
}

.staff-name {
  font-weight: 600;
  margin-bottom: 2px;
}

.staff-title {
  color: var(--light-text);
  font-size: 0.9rem;
}

.welcome-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.welcome-subtitle {
  color: var(--light-text);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.status-info {
  text-align: left;
  background-color: var(--accent-color);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.status-info h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.status-item {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: baseline;
}

.status-item i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 0.8rem;
}

.back-btn {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--light-text);
  text-decoration: none;
  transition: all 0.3s ease;
}

.back-btn:hover {
  color: var(--primary-color);
}

.page-section {
  padding: 0;
  transition: all 0.5s ease-in-out;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
  padding: 1rem;
  border-radius: 12px;
  background-color: var(--accent-color);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.member-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 4px solid white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark-text);
  margin-bottom: 0.25rem;
}

.member-title {
  color: var(--light-text);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.member-contact {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: white;
  color: var(--primary-color);
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-icon:hover {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.member-bio {
  font-size: 0.9rem;
  color: var(--dark-text);
  margin-top: 0.5rem;
  line-height: 1.4;
}

.upload-container {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 10px;
  text-align: left;
}

.upload-container .form-label {
  color: var(--primary-color);
  font-weight: 500;
}

.upload-container .form-control {
  border: 2px dashed var(--accent-color);
  padding: 0.75rem;
  background: white;
}

.upload-container small {
  display: block;
  margin-top: 0.5rem;
}

@media (max-width: 767px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .action-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .btn-main {
    width: 100%;
  }

  .logo-container {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}
