/* Company Profile — extracted from MedichPlus style.css */

/* ========================== Company Profile Page ========================== */

.mplus-company-profile {
  padding: 20px;
}

.mplus-profile-header {
  display: flex;
  gap: 30px;
  align-items: center;
  padding: 30px;
  border-radius: 20px;
  margin-bottom: 30px;
}

/* Logo circle */

.mplus-profile-logo {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
}

.mplus-profile-logo img {
  width: 140px;
  height: 140px;
  max-width: 140px;
  max-height: 140px;
  object-fit: cover;
  display: block;
}

.mplus-profile-logo .mplus-no-logo {
  width: 140px;
  height: 140px;
}

/* Company name */

.mplus-profile-info h1 {
  font-size: 36px;
  font-weight: 900;
  margin: 0 0 12px 0;
  letter-spacing: 0.5px;
}

.mplus-profile-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  background: #e8f7ed;
}

.mplus-profile-info p {
  font-size: 17px;
  font-weight: 600;
}

/* Description */

.mplus-company-profile > div:last-child {
  font-size: 18px;
  line-height: 1.7;
}

.mplus-profile-logo {
  width: 140px !important;
  height: 140px !important;
  overflow: hidden !important;
  border-radius: 50% !important;
}

.mplus-profile-logo img {
  width: 140px !important;
  height: 140px !important;
  max-width: 140px !important;
  max-height: 140px !important;
  object-fit: cover !important;
  display: block !important;
}

.TEST-LOGO {
  width: 140px !important;
  height: 140px !important;
  overflow: hidden !important;
  border-radius: 50% !important;
}

.TEST-LOGO img {
  width: 140px !important;
  height: 140px !important;
  max-width: 140px !important;
  max-height: 140px !important;
  object-fit: cover !important;
}

/* ===================================================== MedichPlus Company Profile - Complete Premium Style ===================================================== */

.mplus-company-profile {
  max-width: 1100px;
  margin: 40px auto;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

/* Header */

.mplus-profile-header {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 40px;
  background: linear-gradient(135deg, #0b5ed7, #198754);
  color: #fff;
}

/* Logo */

.mplus-profile-logo {
  width: 150px !important;
  height: 150px !important;
  flex: 0 0 150px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  border: 5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.mplus-profile-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.mplus-no-logo {
  width: 100%;
  height: 100%;
  background: #fff;
  color: #198754;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* Company Details */

.mplus-profile-info h1 {
  margin: 0 0 15px;
  font-size: 38px;
  font-weight: 900;
}

.mplus-profile-badge {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 25px;
  background: #fff;
  color: #198754;
  font-weight: 800;
}

.mplus-profile-info p {
  margin-top: 15px;
  font-size: 17px;
  font-weight: 600;
}

.mplus-rating {
  margin-top: 15px;
  font-size: 22px;
  color: #ffd43b;
}

.mplus-rating small {
  color: #fff;
  font-size: 14px;
}

/* Navigation */

.mplus-profile-nav {
  display: flex;
  gap: 30px;
  padding: 20px 35px;
  border-bottom: 1px solid #eee;
  flex-wrap: wrap;
}

.mplus-profile-nav a {
  text-decoration: none;
  color: #333;
  background: none;
  padding: 10px 5px;
  border-radius: 0;
  font-weight: 700;
  position: relative;
}

.mplus-profile-nav a:hover {
  color: #198754;
}

.mplus-profile-nav a:hover:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #198754;
}

/* Statistics */

.mplus-profile-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 30px 35px;
  background: #f7f9fc;
}

.mplus-profile-stats div {
  background: #fff;
  padding: 20px;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
}

.mplus-profile-stats strong {
  display: block;
  font-size: 28px;
  color: #198754;
}

.mplus-profile-stats span {
  color: #666;
}

/* Sections */

.mplus-profile-section {
  padding: 35px;
}

.mplus-profile-section h2 {
  margin-top: 0;
  font-size: 28px;
  color: #0b5ed7;
}

.mplus-about-card {
  background: #f8fafc;
  padding: 25px;
  border-radius: 15px;
  line-height: 1.8;
  font-size: 17px;
}

/* Information Grid */

.mplus-company-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.mplus-company-info-grid div {
  padding: 20px;
  border-radius: 15px;
  border: 1px solid #eee;
  background: #fff;
}

.mplus-company-info-grid strong {
  display: block;
  color: #198754;
  margin-bottom: 8px;
}

/* Mobile */

@media (max-width: 768px) {
  .mplus-profile-header {
    flex-direction: column;
    text-align: center;
  }

  .mplus-profile-info h1 {
    font-size: 30px;
  }

  .mplus-profile-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .mplus-company-info-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================== Company Profile Tabs ========================================== */

.mplus-profile-nav {
  display: flex;
  gap: 12px;
  margin: 30px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
  overflow-x: auto;
  white-space: nowrap;
}

.mplus-profile-nav::-webkit-scrollbar {
  height: 5px;
}

.mplus-tab-button {
  background: transparent;
  border: none;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: 0.25s;
}

.mplus-tab-button:hover {
  color: #2271b1;
}

.mplus-tab-button.active {
  color: #2271b1;
  border-bottom-color: #2271b1;
}

.mplus-tab-content {
  animation: mplusFade 0.25s ease;
}

@keyframes mplusFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}