/**
 * Team Proficiency Tracker Public Styles
 */

/* Goodwill NCW Branding Variables */
:root {
  --goodwill-blue: #0057B8;
  --goodwill-orange: #FF6600;
  --goodwill-dark: #333333;
  --goodwill-light: #F5F5F5;
  --goodwill-white: #FFFFFF;
  
  --font-primary: 'Montserrat', 'Open Sans', sans-serif;
  --border-radius: 8px;
  --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --spacing-unit: 20px;
}

.team-proficiency-public-header {
  background: var(--goodwill-white);
  color: var(--goodwill-dark);
  padding: 1rem;
  margin-bottom: 20px;
  border-bottom: 1px solid #ccd0d4;
  font-family: var(--font-primary);
}

.team-proficiency-public-header h1 {
  margin: 0;
  color: var(--goodwill-dark);
  background: linear-gradient(135deg, var(--goodwill-blue), var(--goodwill-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.team-proficiency-dashboard-widget {
  background: var(--goodwill-white);
  border: 1px solid #ccd0d4;
  border-radius: var(--border-radius);
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: var(--box-shadow);
}

.team-proficiency-dashboard-widget h3 {
  margin-top: 0;
  color: var(--goodwill-dark);
  border-bottom: 1px solid #ccd0d4;
  padding-bottom: 0.5rem;
  font-family: var(--font-primary);
}

/* Task Grid Styles */
.task-grid-container {
  overflow-x: auto;
  margin: 20px 0;
}

.task-grid {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
  font-family: var(--font-primary);
}

.task-grid th,
.task-grid td {
  border: 1px solid #ccd0d4;
  padding: 10px;
  text-align: center;
}

.task-grid th {
  background-color: var(--goodwill-light);
  color: var(--goodwill-dark);
  position: sticky;
  top: 0;
  font-weight: 600;
}

.task-grid td {
  background-color: var(--goodwill-white);
}

.task-grid tr:nth-child(even) td {
  background-color: #f6f7f7;
}

.task-grid input[type="text"],
.task-grid input[type="number"],
.task-grid select {
  width: 100%;
  padding: 5px;
  background: var(--goodwill-white);
  border: 1px solid #8c8f94;
  color: var(--goodwill-dark);
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
}

.task-grid input:focus,
.task-grid select:focus {
  border-color: var(--goodwill-blue);
  outline: none;
  box-shadow: 0 0 0 1px var(--goodwill-blue);
}

.time-slot {
  font-weight: bold;
  background-color: var(--goodwill-light) !important;
  color: var(--goodwill-dark);
}

/* Form Styles */
.team-proficiency-form {
  background: var(--goodwill-white);
  border: 1px solid #ccd0d4;
  border-radius: var(--border-radius);
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: var(--box-shadow);
  font-family: var(--font-primary);
}

.team-proficiency-form h3 {
  margin-top: 0;
  color: var(--goodwill-dark);
  border-bottom: 1px solid #ccd0d4;
  padding-bottom: 0.5rem;
  font-family: var(--font-primary);
}

/* Buttons */
.team-proficiency-form .button {
  background: var(--goodwill-blue);
  border-color: var(--goodwill-blue);
  color: var(--goodwill-white);
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-weight: 600;
  padding: 8px 16px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.team-proficiency-form .button:hover,
.team-proficiency-form .button:focus {
  background: #004599;
  border-color: #004599;
  color: var(--goodwill-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 87, 184, 0.2);
}

.team-proficiency-form .button-secondary {
  background: var(--goodwill-orange);
  border-color: var(--goodwill-orange);
  color: var(--goodwill-white);
}

.team-proficiency-form .button-secondary:hover,
.team-proficiency-form .button-secondary:focus {
  background: #e65c00;
  border-color: #e65c00;
  color: var(--goodwill-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(255, 102, 0, 0.2);
}

/* Form Styles */
.team-proficiency-form {
  background: var(--goodwill-white);
  border: 1px solid #ccd0d4;
  border-radius: var(--border-radius);
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: var(--box-shadow);
  font-family: var(--font-primary);
}

.team-proficiency-form h3 {
  margin-top: 0;
  color: #191e23;
  border-bottom: 1px solid #ccd0d4;
  padding-bottom: 0.5rem;
}

.team-proficiency-form .form-group {
  margin-bottom: 15px;
}

.team-proficiency-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #191e23;
}

.team-proficiency-form input,
.team-proficiency-form textarea,
.team-proficiency-form select {
  width: 100%;
  padding: 8px;
  background: #ffffff;
  border: 1px solid #8c8f94;
  color: #191e23;
  border-radius: 4px;
}

.team-proficiency-form textarea {
  height: 100px;
  resize: vertical;
}

.team-proficiency-form .submit-button {
  background: linear-gradient(135deg, #007BFF, #28a745);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.team-proficiency-form .submit-button:hover {
  background: linear-gradient(135deg, #0056b3, #1e7e34);
}

/* Notification Styles */
.team-proficiency-notification {
  padding: 15px;
  margin: 20px 0;
  border-radius: 5px;
  display: none;
}

.team-proficiency-notification.success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.team-proficiency-notification.error {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}