/* kunadli.css — Shared styles for all Kunadli pages */

/* Authentication Header */
.auth-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #667eea;
}

.user-details h3 { margin: 0; font-size: 1.1rem; }
.user-details p  { margin: 0; font-size: 0.9rem; opacity: 0.9; }

.header-images {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 1rem;
}

.header-image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.logout-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 25%;
  min-width: 80px;
  max-width: 200px;
}

.logout-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Navigation */
.nav-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.nav-link {
  color: #667eea;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.nav-link:hover  { background: #f0f0f0; }
.nav-link.active { background: #667eea; color: white; }

/* Tools bar links */
.tools-link {
  display: inline-block;
  margin-left: 8px;
  color: #667eea;
  text-decoration: none;
  font-size: .93em;
  font-weight: bold;
  padding: 4px 12px;
  border: 1px solid #667eea;
  border-radius: 14px;
  transition: all .2s;
}

.tools-link:hover  { background: #667eea; color: white; }
.tools-link.active { background: #667eea; color: white; }

/* Login prompt */
.login-prompt {
  text-align: center;
  padding: 3rem;
  background: white;
  border-radius: 10px;
  margin: 2rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.login-btn {
  background: #4285f4;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-size: 1.1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .auth-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  .user-info {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  .header-images { margin: 0; }
  .logout-btn {
    width: 100%;
    max-width: none;
  }
  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
  }
  .nav-link {
    text-align: center;
    padding: 0.75rem;
  }
  .login-prompt {
    padding: 2rem 1rem;
    margin: 1rem 0;
  }
}

@media (max-width: 480px) {
  .auth-header { padding: 0.75rem; }
}
