@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url("Inter (web)/Inter-Thin.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-Thin.woff?v=3.19") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100;
  font-display: swap;
  src: url("Inter (web)/Inter-ThinItalic.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-ThinItalic.woff?v=3.19") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("Inter (web)/Inter-ExtraLight.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-ExtraLight.woff?v=3.19") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 200;
  font-display: swap;
  src: url("Inter (web)/Inter-ExtraLightItalic.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-ExtraLightItalic.woff?v=3.19") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("Inter (web)/Inter-Light.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-Light.woff?v=3.19") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("Inter (web)/Inter-LightItalic.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-LightItalic.woff?v=3.19") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("Inter (web)/Inter-Regular.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-Regular.woff?v=3.19") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("Inter (web)/Inter-Italic.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-Italic.woff?v=3.19") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("Inter (web)/Inter-Medium.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-Medium.woff?v=3.19") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("Inter (web)/Inter-MediumItalic.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-MediumItalic.woff?v=3.19") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("Inter (web)/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-SemiBold.woff?v=3.19") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("Inter (web)/Inter-SemiBoldItalic.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-SemiBoldItalic.woff?v=3.19") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("Inter (web)/Inter-Bold.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-Bold.woff?v=3.19") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("Inter (web)/Inter-BoldItalic.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-BoldItalic.woff?v=3.19") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("Inter (web)/Inter-ExtraBold.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-ExtraBold.woff?v=3.19") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url("Inter (web)/Inter-ExtraBoldItalic.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-ExtraBoldItalic.woff?v=3.19") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("Inter (web)/Inter-Black.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-Black.woff?v=3.19") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url("Inter (web)/Inter-BlackItalic.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-BlackItalic.woff?v=3.19") format("woff");
}
/* -------------------------------------------------------
Variable font.
*/
@font-face {
  font-family: "Inter var";
  font-weight: 100 900;
  font-style: normal;
  font-named-instance: "Regular";
  font-display: swap;
  src: url("Inter (web)/Inter-roman.var.woff2?v=3.19") format("woff2 supports variations(gvar)"), url("Inter (web)/Inter-roman.var.woff2?v=3.19") format("woff2-variations"), url("Inter (web)/Inter-roman.var.woff2?v=3.19") format("woff2");
}
@font-face {
  font-family: "Inter var";
  font-weight: 100 900;
  font-style: italic;
  font-named-instance: "Italic";
  font-display: swap;
  src: url("Inter (web)/Inter-italic.var.woff2?v=3.19") format("woff2 supports variations(gvar)"), url("Inter (web)/Inter-italic.var.woff2?v=3.19") format("woff2-variations"), url("Inter (web)/Inter-italic.var.woff2?v=3.19") format("woff2");
}
/* --------------------------------------------------------------------------
[EXPERIMENTAL] Multi-axis, single variable font.

  * { font-variation-settings: "slnt" 0deg }
  .italic { font-variation-settings: "slnt" 10deg }

*/
@font-face {
  font-family: "Inter var experimental";
  font-weight: 100 900;
  font-style: oblique 0deg 10deg;
  font-display: swap;
  src: url("Inter (web)/Inter.var.woff2?v=3.19") format("woff2-variations"), url("Inter (web)/Inter.var.woff2?v=3.19") format("woff2");
}

/* Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #ffffff;
  color: #2d3436;
  line-height: 1.6;
  letter-spacing: -0.011em;
}

footer {
  background-color: #ffffff;
  color: #2d3436;
  line-height: 1.6;
  letter-spacing: -0.011em;
}

.container {
  max-width: 1200px;
  margin: 60px auto;
  display: grid;
  grid-template-columns: 68% 32%;
  gap: 0;
  padding: 40px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.02);
}

.sm-container {
  max-width: 1200px;
  margin: 20px auto;
  display: grid;
  /* grid-template-columns: 68% 32%; */
  gap: 0;
  padding: 40px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.02);
}

.main-content {
  padding-right: 60px;
}

.sidebar {
  position: relative;
  padding: 40px;
}

.sidebar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, #e1e1e1 0%, #e1e1e1 100%);
}

.name {
  font-size: 3.2em;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.title {
  font-size: 1.4em;
  color: #636e72;
  margin-bottom: 24px;
  font-weight: 500;
}

.summary {
  margin-bottom: 40px;
  color: #2d3436;
  line-height: 1.8;
  font-size: 1.05em;
  font-weight: 400;
}

.section {
  margin-bottom: 40px;
  padding: 0 20px;
}

h2 {
  color: #1a1a1a;
  font-size: 1.2em;
  margin-bottom: 24px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.experience-item, .education-item, .contact-item {
  margin-bottom: 32px;
  transition: transform 0.2s ease;
  padding: 2px;
}

.experience-item:hover, .education-item:hover, .contact-item:hover {
  transform: translateX(4px);
}

.job-title, .institution {
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
  font-size: 1.1em;
}

.contact-name {
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
  font-size: 1.1em;
}

.contact-value {    
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.company, .degree, .contact-value {
  color: #2d3436;
  font-weight: 500;
  font-size: 1.05em;
}

.location-date {
  color: #636e72;
  font-size: 0.9em;
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  font-weight: 400;
}

.description {
  margin-top: 12px;
  color: #2d3436;
  line-height: 1.7;
}

.contact-info {
  margin-bottom: 40px;
}

.contact-item .language-item{
  margin-bottom: 60px;
  color: #2d3436;
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.95em;
}

.contact-item div[contenteditable="true"] {
  padding: 5px;
  border: 1px solid #ddd;
  min-width: 100px;
  /* margin-bottom: 20px; */
}

.skills-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.skill-item {
  background: #f8f9fa;
  padding: 8px 16px;
  border-radius: 12px;
  color: #2d3436;
  font-size: 0.9em;
  font-weight: 500;
  transition: all 0.2s ease;
}

.skill-item:hover {
  background: #e9ecef;
  transform: translateY(-2px);
}

.languages {
  margin-top: 40px;
}

/* .language-item {
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
} */

.language-name {
  font-weight: 500;
  color: #2d3436;
}

.language-level {
  color: #636e72;
  font-size: 0.9em;
}

/* Subtle hover effects */
.contact-item:hover {
  color: #1a1a1a;
}

/* Progress bar for skills */
.skill-bar {
  width: 100%;
  height: 4px;
  background: #f1f3f5;
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, #74b9ff 0%, #0984e3 100%);
  border-radius: 2px;
  transition
  : width 0.3s ease;
}

.footer-text {
  font-size: 0.6em;
  color: #636e72;
  text-align: center;
  padding: auto;
}

h2 {
  color: #000000;
  font-size: 1.2em;
  margin-bottom: 24px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
  cursor: pointer;
}

h2::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: #000000;
  transition: width 0.3s ease-in-out;
  transform-origin: left;
}

h2:hover::after {
  width: 100%;
}

.input-field {
  display: none;
  margin: 10px 0;
  padding: 8px;
  width: 100%;
  border-radius: 5px;
  border: 1px solid #ccc;
}
.input-field:focus {
  outline: none;
  border: none;
  background-color: #f8f9fa;
}

.add-btn {
  background-color: #f8f9fa;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  color: #636e72;
  font-size: 0.9em;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.add-btn:hover {
  background-color: #e9ecef;
  transform: translateY(-2px);
}

[contenteditable]:focus {
  outline: none;
  border: none; /* Ensure no borders on focus */
}

.editable-item {
  position: relative; /* For absolute positioning of remove button */
  margin-bottom: 20px;
}

.remove-btn {
  display: none; /* Initially hidden */
  opacity: 0.4;
  position: absolute;
  top: 0;
  right: 0;
  background-color: #f8f9fa;
  color: #636e72;
  border: none;
  border-radius: 5px;
  padding: 4px 8px;
  cursor: pointer;
}

.remove-btn-skill {
  display: none; /* Initially hidden */
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #f8f9fa;
  color: #636e72;
  border: none;
  border-radius: 100%;
  padding: 4px;
  font-size: 0.5em;
  font-weight: 600;
  cursor: pointer;
}

.skill-item:hover .remove-btn-skill {
  display: inline; /* Show on hover */
}

.editable-item:hover .remove-btn{
  display: inline; /* Show on hover */
  opacity: 1;
}

.skill {
  display: inline-block;
  background-color: #dfe6e9;
  border-radius: 20px;
  padding: 5px 15px;
  margin: 5px;
  cursor: text;
  position: relative;
}

.dragging {
  opacity: 0.6;
  border: 2px dashed #0984e3;
}

@media print {
  body {
      background-color: white;
  }
  .container {
      margin: 0;
      padding: 20px;
      box-shadow: none;
  }
  .experience-item:hover, .education-item:hover, .contact-item:hover {
      transform: none;
  }
  .skill-item:hover {
      transform: none;
      background: #e9ecef;
  }
  .remove-btn {
      display: none;
  }
  .remove-btn-skill {
      display: none;
  }
  .add-btn {
      display: none;
  }
}

@media (max-width: 768px) {
  .container {
      grid-template-columns: 1fr;
      padding: 20px;
      margin: 20px;
  }
  .main-content {
      padding-right: 0;
  }
  .sidebar {
      padding: 20px 0;
  }
  .sidebar::before {
      display: none;
  }
  .name {
      font-size: 2.5em;
  }
}