/* =================================== APP GENERAL ==================================== */
.cvb-AppAll {
  display: grid;
  gap: 20px;
  margin: 10px 40px 30px 40px;
}

.cvb-App {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 20px;
  margin: 0px;
}

@media (max-width: 768px) {
  .cvb-AppAll {
      margin: 0px 20px 20px 20px;
      gap: 5px;
  }

  .cvb-App {
    grid-template-columns: 1fr;
    margin: 0px;
    gap: 0px;
  }
}

/* =================================== APP EXCLUSIVE ==================================== */

.Exclusive-Infos {
  padding: 3px 15px;
  margin-bottom: 5px;
  text-align: center;
  font-weight: 500;
  border-radius: 8px;
  background: linear-gradient(135deg, #e6ffed 0%, #d1ffd9 100%);
  border: 1px solid #28a745;
  color: #155724;
  font-size: 14px;
  box-shadow: 0 0px 3px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.Exclusive-Infos p {
  margin: 0;
  font-size: 14px;
}

#exclusive-PointsOnFirstSave {
  display: none;
}

/* ================================ App Mobile Navigation ============================== */

.cvb-mobile-nav {
  display: none;
}

@media (max-width: 768px) {
  .cvb-mobile-nav {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 12px;
    margin-bottom: 15px;
  }
  
  .cvb-mobile-navSub {
    display: grid;
    gap: 12px;
  }

  .cvb-mobile-navSub button {
    display: flex !important;
    align-items: center;
    gap: 10px !important;
    padding: 10px;
    border: 1px solid #dde4f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    text-align: start !important;
  }

  .cvb-mobile-nav button {
    display: grid;
    align-items: center;
    gap: 0px;
    padding: 10px;
    border: 1px solid #dde4f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    text-align: center;
  }

  .cvb-mobile-nav button.active,
  .cvb-mobile-navSub button.active {
        box-shadow: 0 4px 10px rgba(28, 78, 128, 0.15);
        background: #f5faff;
        border: 1px solid #5c98ff54;
  }

  .cvb-mobile-navSub .cvb-nav-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    padding: 3px;
  }
  
  .cvb-nav-icon {
    width: auto;
    height: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
  }

  .cvb-nav-icon.green { background: #e6f8ed; }
  .cvb-nav-icon.orange { background: #fff3e6; }
  .cvb-nav-icon.blue { background: #e6f0ff; }

  .cvb-icon-img {
    width: 70px !important;
    height: 70px !important;
    object-fit: contain;
  }

  .cvb-nav-text h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    color: #1c1c1c;
  }

  .cvb-nav-text p {
    font-size: 12px;
    color: #666;
    margin: 0;
  }

  #cvb-fields,
  #cvb-joboffer,
  #cvb-theme {
    display: none;
  }

  .cvb-hidden {
    display: none !important;
  }

  #cvb-fields:not(.cvb-hidden),
  #cvb-joboffer:not(.cvb-hidden),
  #cvb-theme:not(.cvb-hidden) {
    display: grid;
    margin-top: 0px;
  }
}

/* =================================== App Actions ==================================== */

.cvb-app-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.cvb-app-actions button {
  position: relative;
  background: white;
  border: 1px solid #dde4f0;
  color: #2878dc;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  padding: 8px;
  border-radius: 8px;
  overflow: hidden;
}

.cvb-app-actions button i {
  font-size: 18px;
}

.cvb-app-actions button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(40,120,220,0.08);
  border-radius: 8px;
  transform: scale(0.6);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  z-index: 0;
}

.cvb-app-actions button:hover::before {
  transform: scale(1);
  opacity: 1;
}

.cvb-app-actions button:hover {
  color: #1b5fb5;
}

.cvb-app-actions button:first-child::before {
  transform: scale(1);
  opacity: 1;
}

.cvb-app-actions button:first-child {
  color: #1b5fb5;
}

@media (max-width: 768px) {
  .cvb-app-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
/* =================================== App CV Progress ==================================== */

.cv-progress-container {
  position: relative;
  display: flex;
  flex-direction: row; /* horizontal layout */
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
  padding: 0 10px;
}

.cv-progress-container .step {
  display: flex;
  flex-direction: column; /* circle on top, label below */
  align-items: center;
  position: relative;
  flex: 1; /* distribute equally */
}

.cv-progress-container .circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #ccc;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  position: relative;
  z-index: 1;
  transition: background-color 0.3s;
}

.cv-progress-container .label {
  margin-top: 8px;
  text-align: center;
  font-weight: 500;
  font-size: 12px;
}

.cv-progress-container::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    height: 5px;
    background-color: #ccc;
    z-index: 0;
    border-radius: 10px;
}

.cv-progress-container.all-completed::before {
  background-color: #4caf50;
}

.cv-progress-containerAll.all-completed .cv-progress-title {
  color: #3c953f;
}

.step.completed .circle {
  background-color: #4caf50; /* green */
}

.step.incomplete .circle {
  background-color: #ccc;
}

.cv-progress-title-container {
  text-align: center;
  margin: 10px 0px;
}

.cv-progress-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  position: relative;
}

.cv-progress-toggle-icon {
  font-size: 22px;
  cursor: pointer;
  transition: transform 0.3s ease;
  color: #1c4e80;
}

.cv-progress-title {
  font-size: 20px;
  font-weight: 700;
  color: #1c4e80;
  margin: 0;
}

.cv-progress-toggle-icon.collapsed {
  transform: rotate(+180deg);
}

.cv-progress-collapsed #cv-progress,
.cv-progress-collapsed .cv-progress-description {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: 0.35s ease;
  margin: 0px;
}

#cv-progress,
.cv-progress-description {
  transition: 0.35s ease;
}

.cv-progress-description {
  font-size: 14px;
  color: #555;
  margin: 4px 0 0 0;
}

@media (max-width: 600px) {
  .cv-progress-container .label {
    display: none;
  }
}

/* =================================== App Sections ==================================== */

.cvb-section {
    background: #fff;
    border: none;
    padding: 30px 30px 40px 30px;
    border-radius: 8px;
    box-shadow: none;
}

.cvb-section input[type="checkbox"] {
  transform: scale(1.2);
  cursor: pointer;
  accent-color: #007bff;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #007bff;
  border-radius: 4px;
  background-color: #fff;
  display: inline-block;
  position: relative;
  transition: all 0.2s ease;
}

.cvb-section input[type="checkbox"]:checked::before {
  content: '';
  position: absolute;
  top: 0px;
  left: 4px;
  width: 3px;
  height: 9px;
  border: solid #007bff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.cvb-section input[type="checkbox"]:focus {
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.3);
}

.cvb-section::-webkit-scrollbar {
  width: 8px;
}
.cvb-section::-webkit-scrollbar-thumb {
  background-color: #bbb;
  border-radius: 5px;
}
.cvb-section::-webkit-scrollbar-track {
  background-color: #eee;
}

.cvb-section h2 {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-weight: 700 !important;
    font-size: 18px !important;
    margin: 0px 0px 20px 0px !important;
    color: #1c4e80;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.5rem;
}

.cvb-tab-content > .cvb-tab-pane {
  display: none;
}
.cvb-tab-content > .cvb-tab-pane.active {
  display: block;
}

.cvb-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .cvb-two-columns {
    grid-template-columns: 1fr;
    gap: 0px;
  }
  
  .cvb-section {
      padding: 20px 20px 20px 20px;
  }
}
  
/* =================================== APP CV Navigation ==================================== */

.cvb-AppFields {
  display: grid;
  gap: 10px;
}

.cvb-pages-container {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 10px;
}

.cvb-page {
  	font-family: "Segoe UI", sans-serif;
    min-width: 0;
    background: #fff;
    border: 1px solid #dde4f0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.cvb-tab-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 20px;
    align-items: stretch;
    justify-content: flex-start;
    margin: 0;
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 3px;
}

.cvb-tab-nav button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 6px;
    padding: 14px 10px;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    text-align: center;
    box-shadow: none;
}

.cvb-tab-nav button i {
  font-size: 22px;
  color: #666;
  transition: color 0.3s ease;
}

.cvb-tab-nav button:hover {
  color: #007bff;
  border: none;
}

.cvb-tab-nav button:hover i {
  color: #007bff;
}

.cvb-tab-nav button.active {
    background-color: white;
    color: #007bff;
    box-shadow: none;
    font-weight: normal;
}

.cvb-tab-nav button.active i {
  color: #007bff;
}

.cvb-tab-page {
    display: none;
}
  
@media (max-width: 768px) {
  .cvb-pages-container {
      grid-template-columns: 1fr;
  }

  .cvb-page {
    grid-template-columns: 1fr;
  }

  .cvb-tab-nav {
      flex-direction: row;
      width: auto;
      position: relative;
      top: auto;
      border-radius: 8px;
      padding: 6px;
      overflow-x: auto;
      scrollbar-width: none;
      -ms-overflow-style: none;
  }

  .cvb-tab-nav::-webkit-scrollbar {
    display: none;
  }

  .cvb-tab-nav button {
      flex-direction: column;
      min-width: 80px;
      padding: 0px 6px;
      flex: 1;
      font-size: 12px;
  }
}
  
/* =============================== APP CV Sections Navigation ============================== */

.cvb-tab-bar {
    display: flex;
    overflow-x: auto;
    max-width: 100%;
    gap: 10px;
    padding: 10px 0;
    margin-bottom: 10px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.cvb-tab-content {
    margin-bottom: 10px;
}

.cvb-tab-bar::-webkit-scrollbar {
    height: 6px;
}
.cvb-tab-bar::-webkit-scrollbar-thumb {
    background-color: #bbb;
    border-radius: 4px;
}
.cvb-tab-bar::-webkit-scrollbar-track {
    background-color: #eee;
}

.cvb-tab-button {
    flex: 0 0 auto;
    background: #eee;
    color: #4f4f4f;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    font-size: 0.9rem;
    border: none;
    transition: background 0.2s ease;
}
.cvb-tab-button.active {
    background: #007bff;
    color: white;
}
.cvb-tab-button:hover {
    background-color: #0056d2;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.25);
    color: white;
}
  
/* ================================ APP CV Sections Inputs ================================ */

.cvb-form-group {
    margin-bottom: 1rem;
}

.cvb-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #444;
}

.cvb-form-group input[type="text"],
.cvb-form-group input[type="email"],
.cvb-form-group input[type="date"],
.cvb-form-group input[type="file"],
.cvb-form-group input[type="password"],
.cvb-form-group input[type="number"],
.cvb-form-group textarea {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 7px 8px;
    font-size: medium;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fafafa;
    font-family: sans-serif;
    transition: all 0.25s ease;
    outline: none;
}

.cvb-form-group input[type="text"]:hover,
.cvb-form-group input[type="email"]:hover,
.cvb-form-group input[type="date"]:hover,
.cvb-form-group input[type="file"]:hover,
.cvb-form-group input[type="password"]:hover,
.cvb-form-group input[type="number"]:hover,
.cvb-form-group textarea:hover {
    border-color: #999;
    background-color: #f5f5f5;
}

.cvb-form-group input[type="text"]:focus,
.cvb-form-group input[type="email"]:focus,
.cvb-form-group input[type="date"]:focus,
.cvb-form-group input[type="file"]:focus,
.cvb-form-group input[type="password"]:focus,
.cvb-form-group input[type="number"]:focus,
.cvb-form-group textarea:focus {
    border-color: #3b82f6;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.cvb-form-group textarea {
    resize: vertical;
    min-height: 80px;
}
  
/* =================================== APP Buttons ==================================== */

.cvb-btn {
    font-family: inherit;
    font-size: 0.95rem;
    padding: 0.55rem 1.3rem;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    text-align: center;
    margin: 5px 0px;
    background-color: #007bff;
    color: white;
}

.cvb-delete-btn {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: #d9534f;
  padding: 0;
  display: flex;
  align-items: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.cvb-delete-btn i {
  pointer-events: none;
}

.cvb-delete-btn:hover {
  color: #b52b27;
  transform: scale(1.2);
}
  
/* =============================== APP CV Rating Inputs ================================ */

.cvb-skill-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.cvb-skill-item input[type="text"] {
  flex: 1;
  min-width: 150px;
}

.cvb-rating-group {
  display: flex;
  gap: 4px;
}

.cvb-rating-group input[type="radio"] {
  display: none;
}

.cvb-rating-group label {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ccc;
  display: inline-block;
  cursor: pointer;
  transition: background 0.2s;
}

.cvb-rating-group input[type="radio"]:checked + label {
  background: #007bff;
}
  
.cvb-skill-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.cvb-skill-item input[type="checkbox"] {
  transform: scale(1.2);
  cursor: pointer;
  accent-color: #007bff;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #007bff;
  border-radius: 4px;
  background-color: #fff;
  display: inline-block;
  position: relative;
  transition: all 0.2s ease;
}

.cvb-skill-item input[type="checkbox"]:checked::before {
  content: '';
  position: absolute;
  top: 0px;
  left: 4px;
  width: 3px;
  height: 9px;
  border: solid #007bff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.cvb-skill-item input[type="checkbox"]:focus {
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.3);
}

/* =================================== APP Import CV File ================================== */

.cvb-import {
  margin: 0;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #dde4f0;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.05);
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

.cvb-import-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1c4e80;
}

.cvb-import-actions label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cvb-import-actions input[type="file"] {
  display: none;
}

.cvb-import-actions span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 14px;
  padding: 5px 10px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: #2878dc;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.cvb-import-actions span:hover {
  background: #1c4e80;
  transform: translateY(-1px);
}

.cvb-import-actions span i {
  font-size: 16px;
  line-height: 1;
}

.cvb-import-actions span:hover::after {
  background: #1c4e80;
  transform: translateY(-1px);
}

.cvb-export-btn {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #2878dc;
  background: #f0f6ff;
  border: 1px solid #2878dc;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, color 0.3s ease;
}

.cvb-export-btn:hover {
  background: #2878dc;
  color: #fff;
  transform: translateY(-1px);
}

.cvb-export {
  margin-top: 0px;
  padding: 10px 20px;
  background: white;
  border: 1px solid #dde4f0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

.cvb-export-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1c4e80;
}

@media (max-width: 768px) {
  .cvb-import-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .cvb-export-btn {
    width: 100%;
    text-align: center;
  }
  .cvb-export-label {
    display: grid;
    gap: 10px;
  }
  .cvb-export {
    padding: 20px 20px;
  }
}

/* =============================== APP CV Profil Picture Picker ============================== */

.cvb-profile-wrapper {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 1rem;
    flex-wrap: wrap;
}

.cvb-photo-upload {
    flex: 1;
}

.cvb-photo-upload label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #444;
    font-size: 14px;
}

.cvb-photo-upload input[type="file"] {
    margin-bottom: 0.5rem;
}

.cvb-photo-preview {
    width: 120px;
    height: 120px;
    background-color: #eaeaea;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    float: right;
    font-size: 0.75rem;
    color: #777;
    object-fit: cover;
    overflow: hidden;
}

.cvb-photo-tip {
  	display: flex;
	flex: 2;
  	justify-self: right;
    font-size: 0.85rem;
    color: #777;
  	height: 100%;
    line-height: 1.5;
    min-height: 120px;
}

.cvb-profile-wrapper p {
    margin: 0px;
    color: #3b3b3b;
    font-size: 13px;
}

@media (max-width: 768px) {
  .cvb-profile-wrapper {
    	grid-template-columns: 1fr;
  }
  
  .cvb-photo-preview {
    	width: 100%;
  }
  
  .cvb-photo-tip {
   		justify-self: center;
        justify-content: center;
        width: 100%;
  }
}

/* =============================== APP CV Job Offer Analyzer ============================== */

.cvb-joboffer-section {
    background: white;
    border: 1px solid #dde4f0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

.cvb-joboffer-title {
    font-size: 19px !important;
    font-weight: 700 !important;
    color: #1c4e80 !important;
    margin-bottom: 6px !important;
}

.cvb-joboffer-subtitle {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 12px;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

.cvb-joboffer-textarea {
    min-height: 200px !important;
    resize: vertical;
    padding: 12px 14px;
    font-size: 0.95rem;
    line-height: 1.5;
    border: 1.5px solid #ccddee;
    border-radius: 8px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background-color: #fefeff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.cvb-joboffer-textarea:focus {
  outline: none;
  border-color: #2878dc;
  box-shadow: 0 0 0 3px rgba(40, 120, 220, 0.15);
}

.cvb-joboffer-textarea::-webkit-scrollbar {
  width: 6px;
}

.cvb-joboffer-textarea::-webkit-scrollbar-thumb {
  background-color: #c4cbd6;
  border-radius: 6px;
}

.cvb-joboffer-textarea::-webkit-scrollbar-thumb:hover {
  background-color: #a0a8b5;
}
  
.cvb-joboffer-button-container {
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.cvb-joboffer-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
  
.cvb-btn-IA-modern {
  font-size: 0.95rem;
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  background: linear-gradient(to right, #3c9eff, #0061ff);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 85, 255, 0.2);
  transition: all 0.3s ease;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}
  
.cvb-btn-IA-modern i {
	size: 29px;
  font-size: 19px;
  font-weight: 100;
}

.cvb-btn-IA-modern:hover {
  background: linear-gradient(to right, #308df0, #0052d4);
  box-shadow: 0 6px 18px rgba(0, 85, 255, 0.3);
  transform: translateY(-1px);
}

.cvb-btn-IA-modern:active {
  transform: scale(0.98);
  box-shadow: 0 3px 8px rgba(0, 85, 255, 0.2);
}
  
@keyframes dots {
  0%, 20% { content: ""; }
  40% { content: "."; }
  60% { content: ".."; }
  80%, 100% { content: "..."; }
}

#cvb-loading-dots::after {
  content: "";
  animation: dots 1.5s infinite steps(4, end);
  display: inline-block;
  width: 1.2em;
  text-align: left;
  font-weight: 700;
  color: #0061ff;
  margin-left: 4px;
}
  
.cvb-skill-progress-container {
  display: flex;
  align-items: anchor-center;
  gap: 10px;
}

.cvb-skill-progress-wrapper {
  position: relative;
  width: 100%;
  height: 24px;
  margin-bottom: 20px;
  background: linear-gradient(to left, #ffffff, #dedede, #dedede);
  border-radius: 6px;
  border: 1px solid #d9d9d9;
  overflow: hidden;
  flex: 1 1 100%;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.cvb-skill-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #28a745, #218838);
  border-radius: 6px 0 0 6px;
  transition: width 0.4s ease-in-out;
}

#cvb-joboffer-progress-label {
  position: absolute;
  top: 50%;
  left: 145px;
  transform: translate(-50%, -50%);
  font-weight: bold;
  color: #ffffff;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 10;
}

.cvb-skill-progress-bar span {
  position: relative;
  z-index: 1;
}

.cvb-keyneeds-inline {
  margin: 0 0 18px;
  font-size: 0.95rem;
  color: #333;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  display: grid;
  gap: 7px;
}

.cvb-keyneeds-inline strong {
  margin: 0 0 5px;
}

.cvb-keyneeds-pill-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  vertical-align: middle;
}

.cvb-keyneeds-pill-group span {
  background-color: #e2ecf9;
  color: #1c4e80;
  padding: 5px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.2;
}

.cvb-joboffer-subProgress {
  display: grid;
  grid-template-columns: 70% 1fr;
  gap: 10px;
  height: 0;
}

#cvb-job-specialty-result {
  display: none;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  font-size: 14px;
}

#cvb-job-specialty-result .specialty-card {
  border: 1px dashed #d1d1d1;
  border-radius: 12px;
  padding: 20px 25px;
}

#cvb-job-specialty-result h3 {
  margin: 0px 0px 12px 0px;
  color: #1c4e80;
  font-size: 18px;
}

#cvb-job-specialty-result p {
  margin: 6px 0;
  color: #333;
}

#cvb-job-specialty-result .badge {
  display: inline-block;
  background-color: #0061ff;
  color: #fff;
  border-radius: 10px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  margin-right: 8px;
  margin-top: 4px;
}

.cvb-premium-progress-section {
  margin-bottom: 10px;
  align-content: center;
}

.cvb-premium-progress {
  margin-top: 12px;
}

.cvb-premium-progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #1c4e80;
}

.cvb-premium-progress-bar-wrapper {
  width: 100%;
  height: 9px;
  background: #e8edf7;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.cvb-premium-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00c46a, #009e52);
  border-radius: 6px;
  transition: width 0.5s ease;
}

@media (max-width: 768px) {
  .cvb-joboffer-textarea {
    min-height: 250px;
  }

  .cvb-joboffer-subtitle {
    margin-top: 0px;
  }

  .cvb-joboffer-button-container {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cvb-joboffer-clear-container {
    margin-top: 15px;
  }

  .cvb-joboffer-subProgress {
    grid-template-columns: 1fr;
    gap: 0px;
  }

  #cvb-job-specialty-result .specialty-card {
    border: none;
    padding: 10px 5px;
  }
}

.cvb-joboffer-clear-container {
  text-align: left;
}

.cvb-clear-btn {
  display: inline-block;
  cursor: pointer;
  color: #1186fc;
  border-radius: 6px;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.cvb-clear-btn:hover {
  color: #0754a0;
}

.cvb-clear-btn i {
  margin-right: 3px;
  font-size: 16px;
}

/* =============================== APP CV Color Picker ============================== */

.cvb-color-picker-wrapper {
  margin: 0px 0px 0px 0px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #222;
  background: white;
  border: 1px solid #dde4f0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.cvb-color-picker-section {
  padding: 20px;
  padding-bottom: 0px;
}

.cvb-color-title {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-weight: 700 !Important;
    font-size: 18px !important;
    color: #1f497d !important;
    margin: 0px 0px 15px 0px !important;
}

.cvb-color-label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
}

.cvb-color-input {
  width: 50px;
  height: 38px;
  margin: 0;
  border: 1px solid #d1d5dc;
  border-radius: 6px;
  cursor: pointer;
  background-color: white;
  transition: border-color 0.3s ease;
}

.cvb-color-input:hover,
.cvb-color-input:focus {
  border-color: #3e5f8a;
  outline: none;
}

.cvb-color-select {
  width: 100%;
  height: 38px;
  border: 2px solid #1f497d;
  border-radius: 6px;
  background-color: white;
  padding: 6px 10px;
  font-size: 14px;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  cursor: pointer;
  margin-bottom: 16px;
}

.cvb-color-select:hover,
.cvb-color-select:focus {
  border-color: #3e5f8a;
  outline: none;
}

.cvb-color-dropdown {
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
  width: 100%;
  margin: 0 !important;
  cursor: pointer;
}

.cvb-color-selected {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 26px;
    gap: 10px;
    padding: 5px 7px;
    border: 1px solid #d1d5dc;
    border-radius: 6px;
    background-color: white;
}

.cvb-color-sample {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid #aaa;
  background-color: #1f497d
}

.cvb-color-options {
  position: absolute;
  top: 100%;
  bottom: auto;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  max-height: 220px;
  overflow-y: auto;
  z-index: 999;
  display: none;
}

.cvb-color-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.cvb-color-option:hover {
  background-color: #f0f4ff;
}

.cvb-color-name {
  font-size: 14px;
  color: #333;
}

.cvb-color-form-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px;
    align-items: flex-end;
  	margin-bottom: 10px;
}

/* =============================== APP CV Language Picker ============================== */
  
.cvb-lang-input {
  width: 100%;
  height: 38px;
  padding: 5px 10px;
  border: 1px solid #d1d5dc;
  border-radius: 6px;
  background-color: white;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%231f497d'><path d='M2 4l4 4 4-4z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
}

.cvb-lang-input:hover,
.cvb-lang-input:focus {
  border-color: #3e5f8a;
  box-shadow: 0 0 0 2px rgba(31, 73, 125, 0.15);
  outline: none;
}

/* =============================== APP CV Template Picker ============================== */

.cv-style-selection-wrapper {
  max-height: 776px;
  overflow-y: auto;
  border-radius: 5px;
  padding: 15px;
}

.cv-style-selection-wrapper::-webkit-scrollbar {
  width: 6px;
}

.cv-style-selection-wrapper::-webkit-scrollbar-thumb {
  background-color: #c4cbd6;
  border-radius: 5px;
}

.cv-style-selection-wrapper::-webkit-scrollbar-thumb:hover {
  background-color: #a0a8b5;
}

.cv-style-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  width: 100%;
}

.cv-style-filter {
  flex: 1 1 calc(20% - 8px);
  text-align: center;
  padding: 8px 12px;
  border: 1px solid #d1d5dc;
  border-radius: 6px;
  background-color: #f5f7fa;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cv-style-filter:hover {
  background-color: #e7edf8;
  border : 1px solid #2878dc;
}

.cv-style-filter.active {
  background-color: #2878dc;
  color: white;
  border : 1px solid #2878dc;
}

@media (max-width: 600px) {
  .cv-style-filter {
    flex: 1 1 100%;
  }
}

.cv-style-selection {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  justify-items: center;
}

.cv-style-selection img {
	max-width: 100%;
    border: 1px solid #dde4f0;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cv-style-selection img:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

.cv-style-selection img.selected {
  border-color: #2878dc;
  box-shadow: 0 0 0 3px rgba(31, 73, 125, 0.2);
}

.cv-style-captioned {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cv-style-captioned span {
  margin-top: 6px;
  font-size: 13px;
  color: #444;
  font-weight: 500;
}

.cv-pro-wrapper {
  position: relative;
  display: flex;
  border: 5px;
  transition: transform 0.2s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.cv-pro-badge {
    position: absolute;
    bottom: 12px;
    right: 6px;
    background-color: #ffd34dd4;
    border: 1px solid white;
    color: #1a1a1a;
    font-size: 10.5px;
    font-weight: 500;
    padding: 2px 4px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.cv-pro-badge i {
    font-size: 13px;
    color: #d4a100;
}

.cv-pro-wrapper:hover {
  transform: translateY(-4px);
}

.cv-style-selection .cv-pro-wrapper img:hover {
  transform: none;
}

@media (max-width: 768px) {
  .cvb-color-suggestions {
    grid-template-columns: 1fr 1fr;
  }
  .cvb-color-box {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }
  .cv-style-filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .cv-style-selection-wrapper {
    max-height: 245px;
  }
  .cv-style-selection {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================================== APP CV Preview =================================== */
  
.cvb-preview-wrapper {
  margin: 20px 0px 0px 0px;
  border: 1px solid #dde4f0;
  border-radius: 8px;
  background: white;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cvb-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 10px 15px;
  border-bottom: 1px solid #e3e8f2;
}

.cvb-preview-header h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.cvb-preview-placeholder {
  height: 300px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #6c757d;
  font-size: 13px;
  text-align: center;
  gap: 10px;
  padding: 20px 70px 20px 20px;
  border: 1px dashed #c9c9c9;
  border-radius: 8px;
  background: #ffffff;
}

.cvb-preview-placeholder i {
  font-size: 42px;
  color: #007bff;
}

.hidden {
  display: none !important;
}

.cvb-preview-actions {
  display: flex;
  gap: 8px;
}

.cvb-btn-preview {
  background: #ffffffad;
  border: 1px solid #dde4f0;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #007bff !important;
}

.cvb-btn-preview:hover {
  background: #007bff75 !important;
  border-color: #007bff !important;
  color: white !important;
}

.cvb-preview-body {
  background: #fafafa;
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 10px;
  position: relative;
  overflow: hidden;
}

.cvb-preview-body > iframe {
  flex: 1 1 auto;
  min-width: 0;
}

#cvb-preview-img {
  transition: transform 0.2s ease;
  transform-origin: center center;
  cursor: grab;
  user-select: none;
  max-width: none;
}

.cvb-preview-sidebar {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px;
  background: rgb(255 255 255 / 73%);
  border-left: 1px solid #dde4f0;
  border-radius: 10px 0 0 10px;
  box-shadow: -2px 2px 12px rgba(0,0,0,0.08);
}

.cvb-btn-sidebar {
  background: #fff;
  border: 1px solid #d1d5dc;
  border-radius: 8px;
  padding: 10px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #007bff !important;
}

.cvb-btn-sidebar:hover {
  background: #007bff !important;
  border-color: #007bff !important;
  color: white !important;
}

.cvb-preview-frame {
  width: 100%;
  max-width: 100%;
  height: auto;
  border: none;
  display: block;
  background: #fff;
  box-sizing: border-box;
  border: 1px dashed #c9c9c9;
}

/* =============================== APP CV Color Picker ============================== */
  
.cvb-InternalNotify {
  padding: 8px 15px;
  margin-bottom: 10px;
  text-align: center;
  font-weight: 500;
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.cvb-InternalNotify.hidden {
  	display: none;
}

.cvb-InternalNotify.success {
    background-color: #18fd1414;
    border: 1px solid #28a745;
    color: #28a745;
}

.cvb-InternalNotify.warning {
    background-color: #fd7e1414;
    border: 1px solid #fd7e14;
    color: #fd7e14;
}

.cvb-InternalNotify.error {
    background-color: #fd1c1414;
    border: 1px solid #dc3545;
    color: #dc3545;
}

.notify-congrats {
  position: relative;
  background: white;
  border: 1px solid #ffc779,;
  color: #ffffff;
  animation: pulseGlow 2s infinite;
  overflow: hidden;
  color: #28a745;
}

.confetti-piece {
  position: absolute;
  top: 0;
  background-color: var(--confetti-color);
  opacity: 0.9;
  transform: rotate(0deg);
  animation: fallConfetti 1.8s linear forwards;
  z-index: 10;
  pointer-events: none;
  border-radius: 2px;
}

@keyframes fallConfetti {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(120px) rotate(720deg);
    opacity: 0;
  }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(255, 220, 105, 0.4); }
  50% { box-shadow: 0 0 16px rgba(255, 198, 105, 0.7); }
}

@keyframes confettiMove {
  from { transform: translateY(0); }
  to { transform: translateY(50px); }
}