/* =======================================
   FITNESS CLUB PUBLIC PROFILE PAGE
   Modern Dashboard-Style Member Profile
   ======================================= */

/* ===== MAIN CONTAINER ===== */
.sidebar-right {
  background: #0f0f0f;
  border-radius: 12px;
  padding: 0;
  border: 1px solid rgba(93, 214, 44, 0.4);
  overflow: hidden;
}

.sidebar-right-group {
  padding: 0;
}

/* ===== PROFILE HEADER SECTION ===== */
.job-detail-summary {
  background: linear-gradient(135deg, #202020 0%, #0f0f0f 100%);
  padding: 30px;
  border-bottom: 2px solid rgba(93, 214, 44, 0.3);
}

/* Main title styling */
.job-detail-summary .title-block {
  color: #5dd62c !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  margin-bottom: 30px !important;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 15px;
}

/* Add underline effect to title */
.job-detail-summary .title-block::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #337418, #5dd62c, #337418);
  border-radius: 2px;
}

/* ===== INFORMATION LIST STYLING ===== */
.job-detail-summary ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.job-detail-summary ul li {
  margin-bottom: 0;
  padding: 15px 0;
  border-bottom: 1px solid rgba(93, 214, 44, 0.1);
  transition: all 0.2s ease;
}

.job-detail-summary ul li:last-child {
  border-bottom: none;
}

.job-detail-summary ul li:hover {
  background: rgba(93, 214, 44, 0.05);
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 6px;
}

/* ===== FIELD LABELS (Right column) ===== */
.job-detail-summary ul li .col-6,
.job-detail-summary ul li .col-md-5 {
  color: #5dd62c !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-align: right;
  padding-right: 10px;
}

/* ===== SEPARATOR (Colon) ===== */
.job-detail-summary ul li .col-1 {
  color: rgba(93, 214, 44, 0.6) !important;
  font-weight: 600;
  text-align: center;
  padding: 0 5px;
}

/* ===== FIELD VALUES (Left column) ===== */
.job-detail-summary ul li .col-5,
.job-detail-summary ul li .col-md-6 {
  color: #f8f8f8 !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  text-align: left;
  padding-left: 10px;
  word-wrap: break-word;
}

/* ===== SECTION DIVIDERS ===== */
/* Add visual separation for different data groups */
.job-detail-summary ul li:nth-child(1) {
  margin-top: 0;
}

/* Highlight important fields */
.job-detail-summary ul li:nth-child(2),
.job-detail-summary ul li:nth-child(3) {
  background: rgba(93, 214, 44, 0.05);
  border-radius: 6px;
  padding: 15px 10px;
}

/* ===== FIELD-SPECIFIC ICONS ===== */
.job-detail-summary ul li .col-6::before,
.job-detail-summary ul li .col-md-5::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: 8px;
  font-size: 14px;
  color: #5dd62c;
}

/* Icon mappings */
.job-detail-summary ul li:nth-child(1) .col-6::before,
.job-detail-summary ul li:nth-child(1) .col-md-5::before {
  content: "\f2b9";
} /* Face */

.job-detail-summary ul li:nth-child(2) .col-6::before,
.job-detail-summary ul li:nth-child(2) .col-md-5::before {
  content: "\f007";
} /* User */

.job-detail-summary ul li:nth-child(3) .col-6::before,
.job-detail-summary ul li:nth-child(3) .col-md-5::before {
  content: "\f007";
} /* User */

.job-detail-summary ul li:nth-child(4) .col-6::before,
.job-detail-summary ul li:nth-child(4) .col-md-5::before {
  content: "\f2c2";
} /* ID Card */

.job-detail-summary ul li:nth-child(5) .col-6::before,
.job-detail-summary ul li:nth-child(5) .col-md-5::before {
  content: "\f22c";
} /* Gender */

.job-detail-summary ul li:nth-child(6) .col-6::before,
.job-detail-summary ul li:nth-child(6) .col-md-5::before {
  content: "\f0b1";
} /* Briefcase */

.job-detail-summary ul li:nth-child(7) .col-6::before,
.job-detail-summary ul li:nth-child(7) .col-md-5::before {
  content: "\f1fd";
} /* Birthday */

.job-detail-summary ul li:nth-child(8) .col-6::before,
.job-detail-summary ul li:nth-child(8) .col-md-5::before {
  content: "\f015";
} /* Home */

.job-detail-summary ul li:nth-child(9) .col-6::before,
.job-detail-summary ul li:nth-child(9) .col-md-5::before {
  content: "\f255";
} /* Boxing */

.job-detail-summary ul li:nth-child(10) .col-6::before,
.job-detail-summary ul li:nth-child(10) .col-md-5::before {
  content: "\f095";
} /* Phone */

/* ===== SOCIAL SHARE SECTION ===== */
.side-right-social {
  background: #0f0f0f;
  padding: 30px;
  border-top: 2px solid rgba(93, 214, 44, 0.3);
}

.side-right-social .title-block {
  color: #5dd62c !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  margin-bottom: 20px !important;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== SOCIAL MEDIA ICONS ===== */
.side-right-social ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.side-right-social ul li {
  margin: 0;
}

.side-right-social ul li a {
  width: 45px;
  height: 45px;
  background: #202020;
  border: 1px solid rgba(93, 214, 44, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f8f8f8;
  text-decoration: none;
  transition: all 0.3s ease;
}

.side-right-social ul li a:hover {
  background: #5dd62c;
  border-color: #5dd62c;
  color: #0f0f0f;
  transform: translateY(-3px);
}

.side-right-social ul li a i {
  font-size: 18px;
}

/* Social media specific colors on hover */
.side-right-social ul li:nth-child(1) a:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
}

.side-right-social ul li:nth-child(2) a:hover {
  background: #0077b5;
  border-color: #0077b5;
  color: #fff;
}

.side-right-social ul li:nth-child(3) a:hover {
  background: #e60023;
  border-color: #e60023;
  color: #fff;
}

.side-right-social ul li:nth-child(4) a:hover {
  background: #1da1f2;
  border-color: #1da1f2;
  color: #fff;
}

/* ===== CONTACT BUTTON (if exists) ===== */
.btn-light-green {
  background: #5dd62c !important;
  color: #0f0f0f !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 30px !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  margin-top: 20px;
}

.btn-light-green:hover {
  background: #337418 !important;
  color: #f8f8f8 !important;
  transform: translateY(-2px);
}

/* ===== LOADING ANIMATIONS ===== */
.job-detail-summary ul li {
  opacity: 0;
  transform: translateX(20px);
  animation: slide-in-right 0.5s ease-out forwards;
}

.job-detail-summary ul li:nth-child(1) {
  animation-delay: 0.05s;
}
.job-detail-summary ul li:nth-child(2) {
  animation-delay: 0.1s;
}
.job-detail-summary ul li:nth-child(3) {
  animation-delay: 0.15s;
}
.job-detail-summary ul li:nth-child(4) {
  animation-delay: 0.2s;
}
.job-detail-summary ul li:nth-child(5) {
  animation-delay: 0.25s;
}
.job-detail-summary ul li:nth-child(6) {
  animation-delay: 0.3s;
}
.job-detail-summary ul li:nth-child(7) {
  animation-delay: 0.35s;
}
.job-detail-summary ul li:nth-child(8) {
  animation-delay: 0.4s;
}
.job-detail-summary ul li:nth-child(9) {
  animation-delay: 0.45s;
}
.job-detail-summary ul li:nth-child(10) {
  animation-delay: 0.5s;
}

/* ===== ANIMATIONS ===== */
@keyframes slide-in-right {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .sidebar-right {
    border-radius: 8px;
  }

  .job-detail-summary {
    padding: 20px;
  }

  .job-detail-summary .title-block {
    font-size: 20px !important;
    margin-bottom: 25px !important;
  }

  .job-detail-summary ul li {
    padding: 12px 0;
  }

  .job-detail-summary ul li .col-6,
  .job-detail-summary ul li .col-md-5,
  .job-detail-summary ul li .col-5,
  .job-detail-summary ul li .col-md-6 {
    font-size: 13px !important;
  }

  .side-right-social {
    padding: 20px;
  }

  .side-right-social .title-block {
    font-size: 18px !important;
  }

  .side-right-social ul {
    gap: 12px;
  }

  .side-right-social ul li a {
    width: 40px;
    height: 40px;
  }

  .side-right-social ul li a i {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .job-detail-summary .title-block {
    font-size: 18px !important;
    letter-spacing: 1px;
  }

  .job-detail-summary ul li {
    padding: 10px 0;
    flex-wrap: wrap;
  }

  .job-detail-summary ul li .col-6,
  .job-detail-summary ul li .col-md-5 {
    width: 100% !important;
    text-align: right;
    margin-bottom: 5px;
  }

  .job-detail-summary ul li .col-1 {
    display: none;
  }

  .job-detail-summary ul li .col-5,
  .job-detail-summary ul li .col-md-6 {
    width: 100% !important;
    text-align: right;
    padding-right: 25px;
    color: rgba(248, 248, 248, 0.8) !important;
  }

  .side-right-social ul {
    gap: 10px;
  }

  .side-right-social ul li a {
    width: 38px;
    height: 38px;
  }
}

/* ===== ACCESSIBILITY ===== */
.job-detail-summary ul li:focus-within {
  outline: 2px solid rgba(93, 214, 44, 0.5);
  outline-offset: 2px;
}

.side-right-social ul li a:focus {
  outline: 2px solid rgba(93, 214, 44, 0.5);
  outline-offset: 3px;
}

/* ===== PERFORMANCE ===== */
.job-detail-summary ul li,
.side-right-social ul li a {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .job-detail-summary ul li,
  .side-right-social ul li a {
    animation: none !important;
    transition: none !important;
  }
}

/* ===== PREMIUM MEMBER BADGE (Optional) ===== */
.job-detail-summary::before {
  content: "MEMBER PROFILE";
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #5dd62c, #337418);
  color: #0f0f0f;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: 1px;
}

.job-detail-summary {
  position: relative;
}

/* ===== DATA GROUPING VISUAL HINTS ===== */
/* Personal Info Group */
.job-detail-summary ul li:nth-child(1),
.job-detail-summary ul li:nth-child(2),
.job-detail-summary ul li:nth-child(3),
.job-detail-summary ul li:nth-child(4),
.job-detail-summary ul li:nth-child(5) {
  border-left: 3px solid rgba(93, 214, 44, 0.3);
  padding-left: 15px;
}

/* Professional Info Group */
.job-detail-summary ul li:nth-child(6),
.job-detail-summary ul li:nth-child(7),
.job-detail-summary ul li:nth-child(8) {
  border-left: 3px solid rgba(51, 116, 24, 0.3);
  padding-left: 15px;
}

/* Sports & Contact Group */
.job-detail-summary ul li:nth-child(9),
.job-detail-summary ul li:nth-child(10) {
  border-left: 3px solid rgba(93, 214, 44, 0.5);
  padding-left: 15px;
  background: rgba(93, 214, 44, 0.05);
}

/* ===== RTL SUPPORT ===== */
[dir="rtl"] .job-detail-summary ul li .col-6,
[dir="rtl"] .job-detail-summary ul li .col-md-5 {
  text-align: left;
  padding-left: 10px;
  padding-right: 0;
}

[dir="rtl"] .job-detail-summary ul li .col-5,
[dir="rtl"] .job-detail-summary ul li .col-md-6 {
  text-align: right;
  padding-right: 10px;
  padding-left: 0;
}

[dir="rtl"] .job-detail-summary ul li:hover {
  padding-right: 10px;
  padding-left: 0;
}

[dir="rtl"] .job-detail-summary ul li .col-6::before,
[dir="rtl"] .job-detail-summary ul li .col-md-5::before {
  margin-right: 8px;
  margin-left: 0;
}
