html, body {
  margin: 0;
  font-family: 'Reem Kufi', 'Inter', sans-serif;
}

.cv-wrapper {
  color: #2b2b2b;
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 15px;
}

.cv-wrapper h1, .cv-wrapper h2 {
  color: #0d6efd;
  margin-bottom: 15px;
  border-bottom: 2px solid #cfe2ff;
  padding-bottom: 5px;
}

.cv-section {
  margin-bottom: 45px;
}

.cv-role {
  font-weight: bold;
  color: #111;
  font-size: 1.1em;
}

.cv-location {
  font-size: 0.9em;
  color: #555;
  margin-bottom: 10px;
}

.cv-about {
  font-size: 0.95em;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
  border-left: 4px solid #0d6efd;
  padding: 10px 15px;
  border-radius: 6px;
  position: relative;
}

.cv-about button,
.cv-card button {
  margin-left: 8px;
  color: #0d6efd;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}

.cv-about button:hover,
.cv-card button:hover {
  text-decoration: underline;
}

.cv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 15px;
}

.cv-card {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: 0.3s;
  position: relative;
}

.cv-card:hover {
  background: #f8f9fa;
  transform: translateY(-4px);
}

.cv-card h3 {
  margin-top: 0;
  font-size: 1.05em;
  color: #0d6efd;
}

.cv-company {
  font-weight: bold;
  color: #444;
}

.cv-year {
  font-size: 0.85em;
  color: #666;
  margin-bottom: 5px;
}

.cv-details-short, .cv-details-full {
  font-size: 0.9em;
  color: #333;
}

.cv-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
	margin-bottom: 25px;
}

.cv-chip {
  background: #e9ecef;
  color: #333;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 0.9em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: 0.3s;
}

.cv-chip:hover {
  background: #cfe2ff;
  color: #0d6efd;
}

.cv-languages {
  list-style: none;
  padding: 0;
}
.cv-bubble {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90vw;
  width: 800px;
  background-color: #f0f8ff;
  color: #0d3b66;
  padding: 25px 30px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
  font-size: 1em;
  line-height: 1.6;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  word-break: break-word;
  max-height: 80vh;
  overflow-y: auto;
  box-sizing: border-box;
}

.cv-bubble.show {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* Bouton de fermeture */
.cv-bubble .close-bubble {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5em;
  font-weight: bold;
  color: #0d3b66;
  cursor: pointer;
  transition: color 0.2s ease;
}

.cv-bubble .close-bubble:hover {
  color: #ff4c4c;
}

/* Responsive */
@media (max-width: 600px) {
  .cv-bubble {
    width: 90vw;
    padding: 15px 20px;
    font-size: 0.95em;
  }
  .cv-bubble .close-bubble {
    top: 5px;
    right: 10px;
    font-size: 1.3em;
  }
}
