@import url("https://fonts.googleapis.com/css?family=Poppins:400,500&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f4f4f4;
}

.onboard-header {
  background-color: #ffffff;
  position: sticky;
  top: 0;
  padding: 5px;
  margin-bottom: 70px;
  border-bottom: 1px solid #eee;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.onboard-header .head-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 600;
  font-size: 20px;
  color: #4CAF50;
  text-decoration: none;
}

.logo img {
  width: auto;
  max-width: 100%;
  height: auto;
}

.onboard-tagline {
  font-size: 14px;
  color: #666;
}

.onboard-footer {
  background-color: #f9f9f9;
  padding: 20px 0;
  border-top: 1px solid #eee;
  text-align: center;
  font-size: 14px;
  color: #777;
  margin-top: 40px;
}

.onboard-footer .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.reg-body {
display: flex;
    height: 100vh;
}

.reg-container {
    width: 40%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.reg-form-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 450px;
}

.reg-form-container h2 {
    margin-bottom: 15px;
    padding-top: 20px;
    color: #333;
    text-align: center;
    text-transform: uppercase;
}

.reg-form-container p {
    text-align: center;
    margin-top: 10px;
    color: gray;
}

.reg-form-container p a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}

.reg-form-container p a:hover {
    text-decoration: underline;
}

.social-signup {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
  color: #fff;
  text-decoration: none;
}
.btn-google   { background: #DB4437; }
.btn-linkedin { background: #0077B5; }

.btn-social:hover {
  opacity: 0.9;
}

.signup-divider {
  position: relative;
  text-align: center;
  margin: 1rem 0;
}

.signup-divider span {
  background: #fff;
  padding: 0 0.75rem;
  color: #666;
  font-size: 0.9rem;
}
.signup-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #ddd;
}

#countdown {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
}

#resendBtn {
    background: #007bff;
    color: #fff !important;
    display: none;
    width: 200px;
    margin-left: auto;
    float: right;
}

#resendBtn:hover {
    background: #0056b3;
}

.back-link {
    position: absolute;
    bottom: -40px;
    left: 15px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s ease;
}

.back-link::before {
    content: "←";
    font-size: 16px;
    transition: transform 0.2s ease;
}

.back-link:hover {
    color: #333;
    transform: translateX(-2px);
}

.back-link:hover::before {
    transform: translateX(-3px);
}

.center-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.fill-container {
    width: 90%;
    max-width: 900px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.account-container {
    width: 100%;
    max-width: 1200px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 600;
}

/* Form fields */
.user-box {
    margin-bottom: 20px;
}

.user-box label {
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
    display: block;
    font-weight: 500;
}

.user-box select,
.user-box input[type="file"] {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    border: 2px solid #ccc;
    border-radius: 6px;
    outline: none;
    transition: border 0.3s;
    background-color: white;
    appearance: none;
}

.user-box select:focus,
.user-box input[type="file"]:focus {
    border-color: #4CAF50;
}

/* FORM FIELDS */

.profile-box {
    margin-bottom: 20px;
}

.profile-box input,
.profile-box select {
    width: 100%;
    padding: 12px;
    padding-right: 36px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 6px;
    outline: none;
    transition: 0.3s;
    background-color: white;
    appearance: none;
}

.profile-box input:focus,
.profile-box select:focus {
    border-color: #4CAF50;
}

.profile-box .info-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  cursor: help;
  font-size: 16px;
}

.profile-box .tooltip-text {
  position: absolute;
  right: 12px;
  top: -5px;
  transform: translateY(-100%);
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s;
}

.profile-box .info-icon:hover + .tooltip-text {
  opacity: 1;
  visibility: visible;
}

.profile-box label {
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
    display: block;
}

.profile-box textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 6px;
    outline: none;
    transition: 0.3s;
    background-color: white;
    resize: vertical; 
    appearance: none;
    min-height: 100px; 
    line-height: 1.4;
}

.profile-box textarea:focus {
    border-color: #4CAF50;
}

/* CUSTOM DROPDOWN STYLING */
.profile-box select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="%23333" d="M7 10l5 5 5-5z"/></svg>') no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    padding-right: 30px;
}

/* FORM ROWS */

.form-row .profile-box {
    flex: 1;
}

.error-c-p {
    background: #ffdddd;
    color: #d8000c;
    border: 1px solid #d8000c;
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 5px;
    font-size: 14px;
}

/* Dropdown arrow for select fields */
.user-box select {
    background: url('data:image/svg+xml,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 30px;
}

/* DATE OF BIRTH */
.dob-container {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.dob-container select,
.dob-container input {
    flex: 1;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 6px;
    outline: none;
    transition: 0.3s;
    background-color: white;
    appearance: none;
}

.dob-container select {
    background: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="%23333" d="M7 10l5 5 5-5z"/></svg>') no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    padding-right: 30px;
}

/* PHONE NUMBER */
.phone-container {
    display: flex;
    gap: 10px;
    width: 100%;
}

.phone-container select {
    width: 30%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 6px;
    outline: none;
    transition: 0.3s;
    background-color: white;
    appearance: none;
}

.phone-container input {
    width: 70%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 6px;
    outline: none;
    transition: 0.3s;
    background-color: white;
}

.phone-container select:focus,
.phone-container input:focus {
    border-color: #4CAF50;
}

/* Form row layout */
.form-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.form-row .user-box {
    flex: 1;
}

/* Password Toggle */
.password-toggle-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
    pointer-events: all;
}

.password-toggle-icon i {
    font-size: 18px;
    line-height: 1;
    vertical-align: middle;
}

.password-toggle-icon i:hover {
    color: #000;
}

.password-field {
    display: flex;
    align-items: center;
}

.password-field button {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: -30px;
}

.password-requirements {
    font-size: 12px; 
    color: #777; 
    margin-top: -8px; 
    display: block;
}

.strength-bar {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.strength-bar div {
    width: 25%;
    height: 5px;
    background: #ddd;
    transition: background 0.3s ease-in-out;
    border-radius: 4px;
}

.weak { background: red !important; }
.medium { background: orange !important; }
.strong { background: green !important; }

/* Success Message */
.success-message, .successful {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border-left: 5px solid #28a745;
    padding: 12px 15px;
    border-radius: 5px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

/* Right Side */
.right-side {
    width: 60%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
    background-image: url('/uploads/images/akara-vendor.jpg');
}

.fp-right-side {
    width: 60%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
    background-image: url('/uploads/images/happy-boy.jpg');
}

.er-right-side {
    width: 60%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
    background-image: url('/uploads/images/worried-boss.jpg');
}

.rp-right-side {
    width: 60%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
    background-image: url('/uploads/images/happy-boss.jpg');
}

.lg-right-side {
    width: 60%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
    background-image: url('/uploads/images/naija_street.jpg?');
}

.reg-right-side {
    width: 60%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
    background-image: url('/uploads/images/abuja-street.jpg');
}

.bossreg-right-side {
    width: 60%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
    background-image: url('/uploads/images/regboss.webp');
}

.reset-right-side {
    width: 60%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
    background-image: url('/uploads/images/estate-street.jpg');
}

/* Multi-select boxes */
.multi-box {
    border: 1.5px solid #ccc;
    border-radius: 8px;
    padding: 12px;
    max-height: 200px;
    overflow-y: auto;
    background-color: #fafafa;
}

.multi-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.options-list li {
    margin-bottom: 6px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.options-list input {
    margin-right: 8px;
}

.selected-list li {
    display: inline-block;
    background-color: #d1f7d6;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 13px;
    margin: 4px 6px 0 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.selected-list li:hover {
    background-color: #baf2c1;
}

.tooltip {
    font-size: 13px;
    color: #0077cc;
    margin-left: 5px;
    cursor: help;
}

button, .skip-btn {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    transition: 0.3s;
    border: none;
}

p.email-info {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

/* Buttons */
.button-row {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    flex-wrap: wrap;
}

.save-btn,
.skip-btn {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: background 0.3s;
    text-align: center;
    text-decoration: none;
}

.save-btn {
    background-color: #4CAF50;
    color: white;
}

.save-btn:hover {
    background-color: #45a049;
}

.skip-btn {
    background-color: #ccc;
    color: #000;
    text-decoration: none;
}

.skip-btn:hover {
    background-color: #bbb;
}

/* File note */
.user-box small {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: #777;
}

/* Error message */
.error-message {
    background-color: #ffdddd;
    color: #d8000c;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid #d8000c;
}

.error-message ul {
    margin: 0;
    padding-left: 20px;
}

.error-message li {
    margin-bottom: 6px;
}

#drop-area {
  border: 2px dashed #aaa;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  background-color: #fafafa;
  transition: border-color 0.3s, background-color 0.3s;
  cursor: pointer;
}

#drop-area.dragging {
  border-color: #4CAF50;
  background-color: #e7fbe9;
}

#drop-area p {
  margin: 0;
  color: #555;
}

#drop-area span {
  color: #4CAF50;
  text-decoration: underline;
  cursor: pointer;
}

#uploadPreview {
  margin-top: 10px;
  font-size: 14px;
  color: #333;
}

#uploadProgress {
  width: 100%;
  height: 10px;
  margin-top: 10px;
  appearance: none;
}

#uploadProgress::-webkit-progress-bar {
  background-color: #f3f3f3;
  border-radius: 10px;
}

#uploadProgress::-webkit-progress-value {
  background-color: #4CAF50;
  border-radius: 10px;
}

.file-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 14px;
}

#drop-area.uploaded {
  border-color: #4CAF50;
  background-color: #e0ffe5;
}

.cv-note {
  margin: 10px 0;
  font-size: 13.5px;
  color: #555;
  background: #f9f9f9;
  border-left: 4px solid #4CAF50;
  padding: 10px 14px;
  border-radius: 6px;
}

#cv-analyze-box {
    margin-top: 20px;
}

#cv-analyze-box label {
    font-weight: 500;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

#cv-analyze-box small {
    font-size: 12.5px;
    color: #555;
    margin-top: 5px;
    display: block;
}

.analyzer-container {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cv-preview-box {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #444;
}

.score-line {
    margin-bottom: 12px;
    font-size: 15px;
}

.score-line span {
    font-weight: bold;
    color: #4CAF50;
}

.analyzer-container .summary {
    margin-top: 25px;
    background: #e8f5e9;
    padding: 15px;
    border-left: 4px solid #4CAF50;
    border-radius: 6px;
}

.analyzer-btns {
    margin-top: 30px;
}

.score-row {
  margin-bottom: 15px;
}
.label {
  font-weight: 500;
  margin-bottom: 5px;
}
.bar-bg {
  height: 10px;
  background: #ddd;
  border-radius: 10px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  width: 0%;
  background-color: #4CAF50;
  transition: width 0.3s ease;
}
.score-num {
  text-align: right;
  font-size: 14px;
  color: #333;
  margin-top: 4px;
}
.upgrade-pitch ul {
  padding-left: 20px;
  margin-top: 10px;
}
.upgrade-pitch li {
  margin-bottom: 5px;
}

.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#register-message {
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

#register-message.fade-out {
    opacity: 0;
}

.checkbox-container {
    margin: 10px 0;
    font-size: 14px;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
    vertical-align: middle;
}

.photo-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.photo-preview img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #4CAF50;
  margin-bottom: 10px;
}

.photo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.photo-wrapper img {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #4CAF50;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.edit-photo-btn {
  background: #f1f1f1;
  border: 1px solid #ccc;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
  border-radius: 6px;
}

.cropper-footer {
  background: #fff;
  border-top: 1px solid #ccc;
  width: 100%;
  max-width: 500px;
  padding: 12px 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
  border-radius: 0 0 12px 12px;
}

.close-cropper {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.cropper-container img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  margin-top: 10px;
}

.cropper-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.cropper-buttons button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.cropper-buttons button:last-child {
  background-color: #ccc;
  color: #333;
}

.cropper-buttons .cancel-btn {
  background-color: #ccc;
  color: #333;
}

.cropper-buttons .cancel-btn:hover {
  background-color: #bbb;
}

.cropper-content::-webkit-scrollbar {
  width: 6px;
}

.cropper-content::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.2);
  border-radius: 10px;
}

.cropper-content {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  max-height: calc(90vh - 70px);
  overflow-y: auto;
  position: relative;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  flex: 1 1 auto;
}

.profile-tabs {
  display: flex;
  gap: 20px;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 20px;
}

.profile-tabs .tab {
  padding: 10px 16px;
  font-size: 15px;
  text-decoration: none;
  color: #333;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}

.profile-tabs .tab:hover {
  color: #4CAF50;
}

.profile-tabs .tab.active {
  font-weight: bold;
  color: #4CAF50;
  border-color: #4CAF50;
}

.profile-right-box {
  flex-grow: 1;
  border-radius: 8px;
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.profile-left-box {
  background-color: #f0f8f5;
  padding: 18px 20px;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.06);
  border: 1px solid #d6e9db;
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}

.upload-photo-btn {
  background: #f1f1f1;
  border: 1px solid #ccc;
  padding: 6px 14px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 6px;
}

.summary-box textarea {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  border: 2px solid #ccc;
  border-radius: 8px;
  resize: vertical;
  line-height: 1.6;
  background-color: #fff;
  transition: border-color 0.3s ease;
  min-height: 140px;
  font-family: 'Poppins', sans-serif;
}

.summary-box textarea:focus {
  border-color: #4CAF50;
  outline: none;
}

.summary-box .char-counter {
  text-align: right;
  font-size: 13px;
  color: #666;
  margin-top: 6px;
}

.section-heading {
  font-size: 16px;
  font-weight: 600;
  margin: 25px 0 10px;
  color: #333;
}

.title-section {
  border-bottom: 4px solid #4CAF50;
  padding-bottom: 8px;
  max-width: 40%;
}

.salary-row {
  display: flex;
  gap: 10px;
}

.salary-row input,
.salary-row select {
  flex: 1;
  padding: 10px;
  font-size: 15px;
  border-radius: 6px;
  border: 2px solid #ccc;
}

.education-box {
  margin-bottom: 30px;
}

.title-backup {
  background: #e4f6e5;
  border: 1px solid #b2d8b3;
  color: #333;
  border-radius: 5px;
  padding: 15px;
}

.education-entry {
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 15px;
  background: #f9f9f9;
}

.education-entry input,
.education-entry select {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  padding: 10px;
  font-size: 14px;
}

.date-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.current-label {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.add-btn, .remove-btn {
  margin-top: 10px;
  padding: 8px 14px;
  font-size: 14px;
  border: 1px solid #ccc;
  background-color: #eee;
  border-radius: 5px;
  cursor: pointer;
}

.add-btn:hover, .remove-btn:hover {
  background-color: #ddd;
}

.dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f1f1f1;
  border: 1px solid #ccc;
  padding: 12px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 8px;
}

.dropdown-icon {
  font-size: 18px;
  color: #666;
}

.row-line {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.row-line input,
.row-line select {
  flex: 1;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  min-width: 100px;
}

.row-line input[name="institution[]"] {
  flex: 2;
}

.current-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  margin-left: auto;
  white-space: nowrap;
}

.skill-entry {
  margin-bottom: 12px;
}

.skill-entry .row-line {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.skill-entry input,
.skill-entry select {
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  flex: 1;
  min-width: 120px;
}

.skill-chip {
  display: inline-flex;
  align-items: center;
  background: #e6f9ee;
  border: 1.8px solid #4CAF50;
  color: #2e7d32;
  padding: 6px 10px;
  border-radius: 50px;
  margin: 6px 8px 0 0;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.skill-chip:hover {
  background-color: #d3f3e1;
}

.skill-chip span {
  margin-right: 10px;
  white-space: nowrap;
}

.skill-chip .remove-skill {
  background: #fff;
  border: 1px solid #c62828;
  color: #c62828;
  font-size: 13px;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.skill-chip .remove-skill:hover {
  background-color: #ffecec;
  color: #b71c1c;
  border-color: #b71c1c;
}

.skill-chip small {
  margin-left: 6px;
  font-size: 12px;
  color: #388e3c;
}

.skill-add-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.skill-add-row input, .skill-add-row select {
  padding: 8px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  flex: 1;
}

.skills-display {
  display: flex;
  flex-wrap: wrap;
}

.language-add-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.language-add-row select {
  padding: 8px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: #fff;
  flex: 1;
}

.suggestion-box {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  max-height: 180px;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  z-index: 50;
  display: none;
}

.suggestion-box div {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
}

.suggestion-box div:hover {
  background-color: #f5f5f5;
}

.cert-entry {
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 15px;
  background: #f9f9f9;
}

.cert-entry input,
.cert-entry select {
  margin-bottom: 8px;
  padding: 10px;
  font-size: 14px;
}

.certification-entry-wrapper {
  margin-bottom: 16px;
  border-radius: 6px;
}

.project-entry {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 15px;
}
.project-entry input,
.project-entry textarea,
.project-entry select {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  font-size: 14px;
}

.project-entry-wrapper {
  border-radius: 6px;
  margin-bottom: 15px;
}

.references-box input {
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
}

.reference-entry-wrapper {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 15px;
}

.reference-entry {
  padding: 15px;
}

.reference-entry .row-line {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.reference-entry input {
  flex: 1;
  min-width: 120px;
}

.social-links-box input {
  margin-bottom: 10px;
  padding: 10px;
  font-size: 14px;
  width: 60%;
  border-radius: 6px;
  border: 1px solid #ccc;
  display: block;
}

.career-success {
  background-color: #e1f9e2;
  color: #2e7d32;
  border: 1px solid #b2dfdb;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  float: right;
  gap: 10px;
}

.profile-layout {
  display: flex;
  gap: 30px;
  flex-wrap: nowrap;
  align-items: flex-start;
}

.profile-left {
  width: 100%;
  max-width: 380px;
  flex-shrink: 0;
  text-align: center;
  margin: 0 auto;
}

.profile-right h4 {
  margin-bottom: 10px;
  color: #444;
}

.profile-right p {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.profile-header-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.profile-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  width: 100%;
  text-align: center;
  border: 1px solid #e0e0e0;
}

.section-title {
  font-size: 18px;
  color: #2e3d49;
  margin: 0;
}

.edit-profile-btn {
  padding: 6px 14px;
  font-size: 14px;
  border-radius: 6px;
  background-color: #4CAF50;
  color: white;
  text-decoration: none;
  transition: background 0.3s;
}

.edit-profile-btn:hover {
  background-color: #388e3c;
}

.career-summary-card {
  background: #f9f9f9;
  border-left: 4px solid #4CAF50;
  padding: 18px 20px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.career-summary-card h4 {
  margin-bottom: 12px;
  font-size: 16px;
  color: #333;
}

.career-summary-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #444;
  white-space: pre-wrap;
}

.preferences-card {
  background: #f9f9f9;
  border-left: 4px solid #4CAF50;
  padding: 18px 20px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.preferences-card h4 {
  margin-bottom: 12px;
  font-size: 16px;
  color: #333;
}

.preferences-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.pref-item {
  font-size: 14.5px;
  line-height: 1.5;
}

.pref-item .label {
  font-weight: 600;
  color: #333;
  display: block;
  margin-bottom: 4px;
}

.work-card {
  background: #fefefe;
  border-left: 4px solid #3f51b5;
  padding: 18px 20px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.work-card h4 {
  margin-bottom: 12px;
  font-size: 16px;
  color: #2e3d49;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
}

.work-item {
  font-size: 14.5px;
  line-height: 1.5;
}

.work-item .label {
  font-weight: 600;
  color: #333;
  display: block;
  margin-bottom: 4px;
}

.job-list {
  margin: 6px 0 0;
  padding-left: 18px;
  list-style-type: disc;
  color: #444;
  font-size: 14.5px;
  line-height: 1.6;
}

.job-list li {
  margin-bottom: 4px;
}

.salary-card {
  background: #fcfdfd;
  border-left: 4px solid #4caf50;
  padding: 18px 20px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.salary-card h4 {
  margin-bottom: 12px;
  font-size: 16px;
  color: #2e3d49;
}

.salary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
}

.salary-item {
  font-size: 14.5px;
  line-height: 1.5;
}

.salary-item .label {
  font-weight: 600;
  color: #333;
  display: block;
  margin-bottom: 4px;
}

.cv-card {
  background: #f9fcf9;
  border-left: 4px solid #4caf50;
  padding: 18px 20px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.cv-card h4 {
  margin-bottom: 12px;
  font-size: 16px;
  color: #2e3d49;
}

.cv-buttons {
  margin-top: 15px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cv-btn {
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: background 0.3s;
}

.cv-btn.download {
  background-color: #e3f2fd;
  color: #1565c0;
}

.cv-btn.upload {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.cv-btn.delete {
  background-color: #fdecea;
  color: #c62828;
}

.cv-btn:hover {
  opacity: 0.9;
}

.cv-section {
  margin-top: 15px;
}

.section-card {
  background: #f9f9f9;
  border-left: 4px solid #4CAF50;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.section-card h4 {
  font-size: 16px;
  color: #2e3d49;
  margin-bottom: 15px;
}

.education-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.edu-entry {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.edu-top {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 15px;
  color: #333;
}

.edu-dates {
  color: #666;
  font-weight: normal;
  font-size: 14px;
}

.edu-details {
  margin-top: 4px;
  font-size: 14px;
  color: #444;
}

.skills-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.skill-chip-set {
  background: #e1f5e5;
  border: 1px solid #4CAF50;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 14px;
  color: #2e7d32;
  display: inline-flex;
  align-items: center;
}

.skill-chip-set small {
  margin-left: 6px;
  font-size: 12px;
  color: #388e3c;
}

.cert-list {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.cert-item {
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}

.cert-item strong {
  display: block;
  font-weight: 600;
  color: #333;
}

.cert-meta {
  font-size: 13px;
  color: #666;
}

.project-list {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.project-entry-set {
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
}

.project-header {
  font-weight: 600;
  margin-bottom: 4px;
  color: #333;
}

.project-desc {
  font-size: 14px;
  margin: 6px 0;
  color: #555;
}

.project-tech {
  font-size: 13px;
  color: #777;
  margin-top: 4px;
}

.project-date {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

.online-profiles {
  font-size: 14px;
  line-height: 1.6;
}

.profile-link {
  margin-bottom: 8px;
  word-break: break-word;
}

.profile-link a {
  color: #0066cc;
  text-decoration: none;
}

.profile-link a:hover {
  text-decoration: underline;
}

.profile-info h3 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #333;
}

.profile-info p {
  font-size: 14px;
  color: #444;
  margin: 6px 0;
}

.reference-list {
  list-style: none;
  padding-left: 0;
  font-size: 14px;
  line-height: 1.5;
}

.ref-entry {
  margin-bottom: 16px;
  border-left: 3px solid #3f51b5;
  padding-left: 12px;
}

.ref-entry strong {
  font-size: 15px;
  color: #333;
}

.ref-role {
  color: #555;
  display: block;
  margin: 2px 0;
}

.ref-contact {
  color: #333;
  font-style: italic;
}

.language-list {
  list-style: none;
  padding-left: 0;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.language-entry {
  background-color: #e8f5e9;
  border: 1px solid #c8e6c9;
  border-radius: 16px;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
}

.lang-name {
  font-weight: 500;
  margin-right: 6px;
}

.lang-level {
  color: #555;
  font-size: 13px;
}

.upload-btn, .download-link {
  display: inline-block;
  margin-top: 5px;
  font-size: 14px;
  padding: 8px 14px;
  background-color: #eee;
  border-radius: 5px;
  text-decoration: none;
  color: #333;
  margin-right: 10px;
}

.about-section {
  margin-top: 20px;
  font-size: 14px;
}

.settings-nav {
  margin-top: 30px;
}

.settings-nav a {
  color: #0077cc;
  text-decoration: underline;
  font-weight: 500;
}

.no-print {
  display: none !important;
}

.settings-link {
  display: inline-block;
  font-size: 14px;
  color: #4CAF50;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 10px;
  border: 1px solid #4CAF50;
  border-radius: 6px;
  margin-top: 10px;
  transition: background 0.2s, color 0.2s;
}

.settings-link:hover {
  background-color: #4CAF50;
  color: white;
}

.post-content {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
  
  max-width: 100%;
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.7;
  font-size: 1rem;
  color: #333;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  line-height: 1.25;
  font-weight: 600;
}

.post-content p {
  margin-bottom: 1em;
}

.post-content ul,
.post-content ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.post-content ul {
  list-style-type: disc;
}

.post-content ol {
  list-style-type: decimal;
}

.post-content li + li {
  margin-top: 0.4em;
}

.post-content blockquote {
  margin: 1.5em 0;
  padding: 1em 1.5em;
  background: #f6f6f6;
  border-left: 4px solid #ccc;
  font-style: italic;
  color: #555;
  border-radius: 0.25rem;
}

.post-content img {
  max-width: 100%;
  height: auto;
  margin: 1em 0;
  border-radius: 0.25rem;
}

.post-content hr {
  margin: 2em 0;
  border: none;
  border-top: 1px solid #eee;
}

.post-content a {
  color: #007acc;
  text-decoration: underline;
}

.post-content a:hover {
  color: #005fa3;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.modal-overlay.active {
  display: flex;
}
.modal-window {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  max-width: 500px;
  width: 100%;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.upload-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.upload-row select,
.upload-row input[type=file] {
  flex: 1;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }

    .button-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .fill-container {
        width: 95%;
        padding: 20px;
    }
    
    .account-container {
        width: 95%;
        padding: 20px;
    }
    
    .dob-container select,
    .dob-container input {
        flex: 1 1 100%;
        padding: 10px;
    }
    
    .dob-container {
        gap: 8px;
    }
    
    .strength-bar {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .right-side {
        display: none;
    }
    
        
    .fp-right-side {
        display: none;
    }
    
    .er-right-side {
        display: none;
    }
    
    .rp-right-side {
        display: none;
    }
    
    .lg-right-side {
        display: none;
    }
    
    .reg-right-side {
        display: none;
    }
    
    .reset-right-side {
        display: none;
    }
    
    .bossreg-right-side {
        display: none;
    }
    
    .reg-container {
        width: 90%;
        max-width: 400px;
        padding: 20px;
        margin: 30px 0;
        border-radius: 10px;
        min-height: auto;
        height: auto;
    }
    
    .reg-body {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100vh;
        background-size: cover;
        background-position: center;
    }
    
    .profile-layout {
        flex-direction: column;
    }
    
    .profile-left,
    .profile-right {
        width: 100%;
    }
    
    .photo-wrapper img {
    width: 140px;
    height: 140px;
  }
  
  .profile-left-box {
    padding: 14px;
    font-size: 14px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
  }
  
  .profile-layout {
    flex-direction: column;
    gap: 20px;
  }
  
  .profile-left {
    max-width: 100%;
    width: 100%;
  }
  
  .title-section {
    max-width: 100% !important;
    display: inline-block;
  }
  
  .skill-add-row {
    flex-direction: column;
    align-items: stretch;
  }

  .skill-add-row input,
  .skill-add-row select,
  .skill-add-row button {
    width: 100%;
  }
  
  .language-add-row {
    flex-direction: column;
    align-items: stretch;
  }

  .language-add-row select,
  .language-add-row button {
    width: 100%;
  }
  
  .social-links-box input {
    width: 100%;
  }
  
  .profile-card {
    width: 100%;
    padding: 16px;
    box-shadow: none;
    border-radius: 8px;
    border: 1px solid #ddd;
  }
  
  .logo img {
    max-width: 200px;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}