.profile-card {
  max-width: 90%;
  margin: 30px auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.211);
  overflow: hidden;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
}
.profile-left {
  background: linear-gradient(135deg, #f3f6f6 0%, #d4efef 100%);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid #d4efef;
}

.profile-photo-wrapper {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin-bottom: 20px;
}
.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.default-avatar {
  width: 100%;
  height: 100%;
  background: var(--hm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 80px;
}

.person-name {
  text-align: center;
  margin-bottom: 15px;
}
.person-name h3 {
  font-size: 24px;
  font-weight: 600;
  color: #2d4d4d;
  margin: 0 0 8px;
}
.person-name .gender-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--hm-primary);
  color: white;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.quick-info {
  width: 100%;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #d4efef;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.quick-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: white;
  border-radius: 8px;
  margin-bottom: 0;
  font-size: 14px;
  color: #555;
  overflow: hidden;      
}
.quick-info-item span {
  word-break: break-all;
}
.quick-info-item i {
  color: var(--hm-primary);
  font-size: 16px;
  min-width: 20px;
}

.profile-right {
  padding: 40px;
}

.info-section {
  margin-bottom: 30px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #dff2f2;
}
.section-title i {
  font-size: 20px;
  color: var(--hm-primary);
}
.section-title h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}
.info-item {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 10px;
  border-left: 3px solid var(--hm-primary);
}
.info-label {
  font-size: 12px;
  color: var(--hm-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  font-weight: 600;
}
.info-value {
  font-size: 15px;
  color: #2c3e50;
  font-weight: 500;
}
.info-block {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 10px;
  border-left: 3px solid var(--hm-primary);
}
.info-block .info-label {
  margin-bottom: 10px;
}
.info-block .info-value {
  line-height: 1.6;
}

.Documents-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f9fa;
  padding: 8px 12px;
}
.docs-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.docs-icon {
  color: var(--hm-primary);
  font-size: 18px;
}

.docs-actions{
  display: flex;
  gap: 15px;
}
.docs-actions a, .docs-actions button {
  color: var(--hm-primary);
  font-size: 16px;
  font-weight: 600;
  transition: color 0.2s;
}
.docs-actions a:hover {
  color: var(--hm-primary-dark);
}
.docs-actions button{
  color: var(--hm-alert);
  background: transparent;
  border: none;
}
.docs-actions button:hover{
  color: var(--hm-alert-dark);
}

/* additonal css for edit profile */
.profile-header {
  text-align: center;
  position: relative;
}

.edit-icon {
  position: absolute;
  bottom: 30px;
  right: 5px;
  background: var(--hm-primary);
  color: var(--hm-secondary);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: 2px solid #fff;
  transition: all 0.3s ease;
}
.delete-icon {
  position: absolute;
  bottom: 30px;
  left: 5px;
  background: var(--hm-alert);
  color: var(--hm-secondary);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: 2px solid #fff;
  transition: all 0.3s ease;
}
.edit-icon:hover {
  background: var(--hm-primary-dark);
  transform: scale(1.1);
}
.delete-icon:hover {
  background: var(--hm-alert-dark);
  transform: scale(1.1);
}

.verified-badge-container{
  display: flex;
  justify-content: center;
  align-items: center;
}
.verified-badge {
  background: #28a745;
  color: white;
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 15px;
  font-family: var(--font-heading);
}
.verified-badge i{
  font-size: 16px;
}

/* .days-checkbox-list{
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(100px,1fr));
} */
.days-checkbox-list{
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.certi-title-block{
  display: flex;
  justify-content: space-between;
}
.certi-title-block button{
  font-size: 20px;
  background: transparent;
  border: none;
  color: var(--hm-primary-dark);
  transition: transform 0.1s;
}
.certi-title-block button:hover{
  transform: scale(1.1);
}

@media (max-width: 992px) {
  .profile-card {
    grid-template-columns: 1fr;
  }
  .profile-left {
    border-right: none;
    border-bottom: 1px solid #e9ecef;
  }
  .profile-right {
    padding: 30px 20px;
  }
}

@media (max-width: 576px) {
  .info-grid {
    grid-template-columns: 1fr;
  } 
  .profile-photo-wrapper {
    width: 150px;
    height: 150px;
  }
}