/* Resume-specific styles */

.company-cvs {
  color: #e00034;
}

.company-accenture {
  color: #a100ff;
}

.company-vt {
  color: #861f41;
}

.resume-container {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.resume-content {
  background-color: white;
  padding: 20px;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

.resume-sidebar {
  position: sticky;
  top: 15px;
  height: calc(100vh - 30px);
  overflow-y: auto;
  padding: 15px;
  background-color: #fafafa;
  border-radius: 4px;
}

.sidebar-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sidebar-header {
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid #ddd;
}

.sidebar-header h2 {
  font-size: 1rem;
  color: #2c3e50;
  margin: 0;
}

.sidebar-nav {
  flex-grow: 1;
}

.sidebar-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav-item {
  margin-bottom: 5px;
}

.sidebar-nav-link {
  display: block;
  padding: 8px;
  color: #2c3e50;
  text-decoration: none;
  border-radius: 3px;
  font-size: 14px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar-nav-link:hover,
.sidebar-nav-link:focus {
  background-color: rgba(22, 160, 133, 0.1);
  color: #16a085;
}

.sidebar-nav-link.active {
  background-color: #2c3e50;
  color: white;
}

.resume-content {
  background-color: white;
  padding: 20px;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

.resume-header {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ddd;
}

.resume-title {
  font-size: 2.2rem;
  color: #2c3e50;
  margin: 0;
}

.resume-section {
  margin-bottom: 25px;
  width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.section-title {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 2px solid #16a085;
}

.resume-job {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.resume-job:last-child {
  border-bottom: none;
}

.job-header {
  margin-bottom: 8px;
}

.job-title {
  font-size: 1.3rem;
  color: #16a085;
  margin: 0 0 6px 0;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 15px;
}

.job-company {
  color: #2c3e50;
  font-weight: 600;
}

.job-company.company-cvs {
  color: #e00034;
}

.job-company.company-accenture {
  color: #a100ff;
}

.job-company.company-vt {
  color: #861f41;
}

.job-location,
.job-duration {
  color: #666;
}

.job-accomplishments {
  list-style-type: disc;
  padding-left: 1.3rem;
  margin: 8px 0;
  line-height: 1.5;
}

.resume-education {
  margin-bottom: 15px;
}

.education-header {
  margin-bottom: 6px;
}

.education-institution {
  font-size: 1.2rem;
  color: #16a085;
  margin: 0 0 5px 0;
}

.education-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 6px;
  font-weight: 500;
  color: #666;
  font-size: 15px;
}

.education-details p {
  margin: 0;
  line-height: 1.5;
}

.resume-skills {
  display: grid;
  gap: 15px;
}

.skill-category {
  background-color: #fafafa;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 8px;
  border-left: none !important;
}

.skill-level {
  font-size: 1.1rem;
  color: #2c3e50;
  margin: 0 0 8px 0;
}

.skill-details {
  margin: 0;
  line-height: 1.5;
}

/* Mobile adjustments for resume */
@media screen and (max-width: 900px) {
  .resume-container {
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 15px;
  }
  
  .resume-sidebar {
    position: sticky;
    top: 0;
    height: auto;
    z-index: 100;
    margin: 0;
    padding: 10px;
    background-color: #fafafa;
    border-radius: 4px;
  }
  
  .sidebar-content {
    flex-direction: column;
    padding: 0;
  }
  
  .sidebar-header {
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid #ddd;
  }
  
  .sidebar-header h2 {
    font-size: 0.85rem;
  }
  
  .sidebar-nav {
    margin: 0;
  }
  
  .sidebar-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 0;
    margin: 0;
  }
  
  .sidebar-nav-item {
    margin: 0;
    flex: 1;
    min-width: 0;
  }
  
  .sidebar-nav-link {
    padding: 6px;
    font-size: 12px;
    text-align: center;
  }
  
  .resume-content {
    padding: 15px;
  }
  
  .resume-title {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
  
  .job-title {
    font-size: 1.1rem;
  }
  
  .job-meta {
    flex-direction: column;
    gap: 3px;
  }
  
  .resume-job {
    margin-bottom: 15px;
    padding-bottom: 10px;
  }
  
  .job-accomplishments {
    padding-left: 1rem;
  }
}