/* ============================================
   Student Profile - Form & Section Styles
   ============================================ */

/* Profile Section Container */
.profile-section {
  margin-bottom: 2rem;
}

.profile-section-title {
  font-size: 1.5rem;
  color: #263238;
  margin-bottom: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.profile-section-icon {
  font-size: 1.5rem;
  color: #00BCD4;
}

/* Education & Experience Forms */
.form-item-box {
  background: #F5F5F5;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 4px solid #00BCD4;
}

.form-grid-4col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-grid-date {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.form-group-full {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label-text {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #263238;
}

.form-label-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 500;
}

.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #E0E0E0;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
}

.form-textarea:focus {
  outline: none;
  border-color: #00BCD4;
  box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

/* Skills List */
.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.skill-tag {
  background: #E3F2FD;
  color: #1976D2;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-tag-remove {
  cursor: pointer;
  font-weight: bold;
  color: #1976D2;
}

.skill-tag-remove:hover {
  color: #f44336;
}

/* Add Buttons */
.form-add-btn {
  background: #00BCD4;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
  margin: 1rem 0;
}

.form-add-btn:hover {
  background: #0097A7;
}

.form-remove-btn {
  background: #f44336;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s;
}

.form-remove-btn:hover {
  background: #d32f2f;
}

.form-action-right {
  margin-top: 1rem;
  text-align: right;
}

/* Links Section */
.links-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.link-item {
  background: #F5F5F5;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #00BCD4;
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 1rem;
  align-items: end;
}

/* No Items Message */
.no-items-display {
  text-align: center;
  color: #999;
  padding: 2rem;
  font-style: italic;
}

/* Profile Header */
.profile-header-section {
  margin-bottom: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, #E3F2FD 0%, #E0F2F1 100%);
  border-radius: 12px;
}

.profile-avatar-circle {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #00BCD4, #0097A7);
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: bold;
}

.profile-name {
  font-size: 1.8rem;
  color: #263238;
  margin: 0 0 0.5rem 0;
  text-align: center;
  font-weight: 700;
}

.profile-bio {
  color: #546E7A;
  text-align: center;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .form-grid-4col {
    grid-template-columns: 1fr;
  }

  .form-grid-date {
    grid-template-columns: 1fr;
  }

  .link-item {
    grid-template-columns: 1fr;
  }

  .form-action-right {
    text-align: center;
  }
}

/* Skill Badge Styles */
.skill-badge {
  padding: 0.5rem 1rem;
  border-radius: 16px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  transition: opacity 0.2s ease;
}

.skill-badge:hover {
  opacity: 0.8;
}

.skill-badge-remove {
  cursor: pointer;
  font-weight: bold;
  margin-left: 0.25rem;
  transition: transform 0.2s ease;
}

.skill-badge-remove:hover {
  transform: scale(1.2);
}
