.home-button {
  padding: 24px 40px;
  font-size: 1.5rem;
  background-color: #CED4DA;  
  border: 3px inset #A2A9B0;
  border-radius: 50px;
  transition: 0.3s ease-in-out;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.home-button:hover {
  background-color: #B0BAC2;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
  border-color: #8c949b;
}

.cv-container {
  margin-top: 50px;
  min-height:365px;
  max-height:365px;
  overflow: auto;
  scrollbar-width: none;
}

.cv-container::-webkit-scrollbar {
  display: none;
}

.cv-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.cv-table-wrapper table {
  min-width: 600px;
}

.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  transition: opacity 0.3s ease-in-out;
}

.overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.home-popup-window {
  background: linear-gradient(180deg, #1a1a1a, #0d0d0d);
  border: 2px solid #333;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  max-width: 600px;
  width: 90vw;
  margin: 30px auto;
  max-height: 200vh;
  color: white;
  overflow: hidden;
}

.home-popup-header {
  background: #222;
  padding: 5px;
  align-items: center;
  border-bottom: 1px solid #333;
}

.home-popup-body {
  padding: 5px;
  background: rgba(0,0,0,0.85);
}

.home-popup-body textarea {
  background: linear-gradient(180deg, #1a1a1a, #0d0d0d);
  color: white;
  width: 100%;
  resize: none;
}

#photoPreview {
  width: 150px;
  height: 150px;
  border: 2px dashed #ccc;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
  transition: border 0.2s;
}

#photoPreview.dragover {
  border-color: #007bff;
}

.work-learn-exp-container {
  min-height:600px;
  max-height:600px;
  overflow: auto;
  scrollbar-width: none;
}

.work-learn-exp-container::-webkit-scrollbar {
  display: none;
}

.dragging { 
  opacity: 0.6; 
}

.drag-over-top { 
  border-top: 2px dashed #0d6efd; 
}

.drag-over-bottom { 
  border-bottom: 2px dashed #0d6efd; 
}

.cv-viewport {
  display: flex;
  gap: 24px;
  padding: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

.cv-page {
  width: 21cm;
  min-height: 29.7cm;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  flex: 0 0 auto;
  position: relative;
}

.preview-photo {
  width: 130px;
  height: 130px;
  border: 2px dashed #ccc;
  border-radius: 50%;
  object-fit: cover;
}