.content__card-club {
  margin: 50px 0;
}

.card-club__line {
  background: #FFF;
  justify-content: center;
  border-right: 4px #265C29 solid;
  border-left: 4px #265C29 solid;
}
.card-club__line span {
  color: #323232;
}
.card-club__block {
  border-radius: 10px;
  margin: 20px 0 0 0;
  width: 100%;
  height: 100%;
  padding: 30px;
  background: #FFF;
  min-height: 500px;
}
.card-club__sub-block-top {
  display: flex;
  justify-content: space-between;
}
.card-club__sub-block-group {
  display: flex;
}
.card-club__logo img {
  width: 160px;
  border-radius: 50%;
}
.card-club__info {
  margin: 0 0 0 20px;
}
.card-club__info span, .card-club__info {
  color: #323232;
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
  text-align: center;
}
.card-club__teams span, .card-club__teams {
  display: ruby;
  color: #323232;
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
}
.card-club__info tr td span:first-child {
  font-weight: 700;
}
.card-club__index {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-left: #1C291D 2px solid;
  padding: 0 0 0 30px;
}
.card-club__sub-block-bottom {
  margin: 20px 0 0 0;
  display: flex;
}
.card-club__employs span {
  color: #323232;
  font-family: Inter;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
}
.card-club__employs span:first-child {
  display: inline-block;
  font-size: 16px;
  margin: 0 0 20px 0;
}
.card-club__players {
  border-left: #1C291D 2px solid;
  padding: 0 0 0 10px;
  margin: 0 0 0 10px;
}

#clubplayers{
  display: flex;
  
}

#clubplayers .span{
  
  font-size: 16px;
  margin: 0 0 20px 0;
}
.card-club__players span {
  color: #323232;
  font-family: Inter;
  /* font-size: 10px; */
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
}

.vertical-line {
  width: 0; 
  border-left: #1C291D 2px solid ; 
  margin: 7px;
  height: 100%; 
}
.title-players{
  display: inline-block;
  margin: 0 0 20px 0;
  font-size: 16px;
  color: #323232;
  font-family: Inter;
  font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

.card-facility__logo img {
  width: 200px;
  /* height: 100px; */
}

.card-facility__sub-block-bottom {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.card-facility__players {
  display: flex;
  border-right: #1C291D 2px solid;
  padding: 0 10px 0 0px;
  margin: 0 10px 0 0px;
  flex-direction: column;
}
.card-facility__players span {
  color: #323232;
  font-family: Inter;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  display: inline-block;
  margin: 0 0 20px 0;
  font-size: 16px;
}
.card-facility__players a {
  color: #323232;
  font-family: Inter;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
}

.event__text {
  width: 100%;
  padding: 10px 0 20px;
  border-bottom: 1px solid #1C291D;
}
.event__image {
  max-width: 100%;
  max-height: 500px;
  margin: 10px;
}
.event__text span:first-child {
  color: #323232;
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  /*text-transform: uppercase;*/
  display: inline-block;
  font-size: 16px;
}
.event__text span, .event__text p, .event__text p a, .event__text a {
  font-size: 13px;
  font-weight: 600;
  color: #323232;
  font-family: Inter;
  font-style: normal;
  line-height: normal;
}
.loadphoto-gallery {
  width: 80px;
  height: 80px;
  border: 2px dashed #ccc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.loadphoto-gallery .edit {
  width: auto;
  height: auto;
}

.event__text:last-child {
  border-bottom: none;
}

.card-player__sub-block {
  display: flex;
  flex-direction: column;
}

.card-player__logo img {
  width: 200px;
  max-height: 200px;
  border-radius: 10px;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}
 img.photo_profile {
  width: 200px;
  /* max-height: 200px; */
  border-radius: 10px;
  margin: 1px 1px 6px 1px;
}
img.smallphoto  {
  width: 100px;
  max-height: 100px;
  border-radius: 10px;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}

.card-player__sub-block-bottom {
  display: flex;
  flex-direction: column;
}

.player__block {
  position: relative;
  display: flex;
  width: 270px;
  height: 46px;
  background: #FFF;
  justify-content: center;
  align-items: center;
  border-radius: 30px 30px 0 0;
  top: 27px;
}
.player__block span {
  color: #323232;
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  display: inline-block;
  font-size: 16px;
}

.button__player-contact {
  margin: 0 auto;
  width: 237px;
  height: 46px;
  font-size: 15px;
  background: #224523;
  color: #FFF;
  font-family: Inter;
  font-style: italic;
  font-weight: 700;
  line-height: normal;
  border-radius: 30px;
}

.card-intermediary__logo img {
  width: 145px;
}

@media (max-width: 890px) {
  .card-player__index {
    border-bottom: #1C291D 2px solid;
    border-left: none;
    padding: 0 0 30px 0px;
  }
  .card-club__logo img {
    width: 100px;
    border-radius: 40%;
  }
  .card-player__sub-block-top {
    display: flex;
    justify-content: space-between;
    flex-direction: column-reverse;
  }

  .card-club__block {
    min-height: 640px;
  }

  .card-club__info span, .card-club__info {
    color: #323232;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
    text-transform: uppercase;
  }
  
}
@media (max-width: 740px) {
  .card-player__sub-block-group {
    justify-content: center;
    flex-wrap: wrap;
  }
.card-player__sub-block-group {
    margin: 50px 0 20px;
    display: block;
  }
  .card-facility__logo img {
    width: 150px;
    /* height: 100px; */
  }
}
@media (max-width: 600px) {
  .card-club__index {
    border-bottom: #1C291D 2px solid;
    border-left: none;
    padding: 0 0 30px 0px;
  }
  .card-club__sub-block-top {
    /* display: flex; */
    justify-content: space-between;
    flex-direction: column-reverse;
  }
  .card-club__sub-block-group {
    margin: 50px 0 20px;
    display: flex;
  }
  .card-club__logo img {
    width: 80px;
    border-radius: 40%;
  }

  .card-facility__logo img {
    width: 120px;
    /* height: 100px; */
  }
}
.card-player__info {
  width: 100%;
}
.minus::before,
.minus::after {
  display: none;
}
.minus {
  width: auto;
  height: auto;
  margin: 0 0 0 10px;
}
.plus {
  width: auto;
  height: auto;
}
@media (max-width: 490px) {
  .card-player__info {
    margin: 10px 0;
    /* text-align: center; */
  }

  .card-facility__logo img {
    width: 100px;
    /* height: 100px; */
  }

  .card-facility__logo img {
    width: 100px;
    /* height: 100px; */
  }
}
:root {
  --primary-color: #1A371B;
  --secondary-color: #2c5c2e;
  --accent-color: #4CAF50;
  --light-bg: #f8f9fa;
  --border-radius: 12px;
  --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
#loadphoto p {
  font-size: 17px;
  text-transform: none;
}
.content.cards {
  background-color: var(--light-bg);
  font-family: 'Inter', sans-serif;
  color: #333;
  line-height: 1.6;
}

.profile-container {
  max-width: 1200px;
  margin: 2rem auto;
}

.profile-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  margin-bottom: 2rem;
}

.profile-header {
  background-color: var(--primary-color);
  color: white;
  padding: 1.5rem;
  position: relative;
}

.profile-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-name {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  color: white;
}

.profile-role {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: white;
}

.profile-body {
  padding: 2rem;
}

.profile-info-section {
  margin-bottom: 2rem;
}

.section-title {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  font-size: 1.2rem;
}

.section-title i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.info-item {
  display: flex;
  margin-bottom: 1rem;
}

.info-label {
  font-weight: 500;
  min-width: 160px;
  color: #555;
}

.info-value {
  color: #333;
}

.profile-image-section {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}

.main-profile-image {
  width: 200px;
  height: 200px;
  border-radius: var(--border-radius);
  object-fit: contain;
  border: 4px solid white;
  box-shadow: var(--card-shadow);
}

.gallery-thumbnails {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.gallery-thumb {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-thumb:hover {
  transform: scale(1.05);
}

.action-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-primary-custom {
  background-color: var(--primary-color);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-custom {
  border: 2px solid var(--primary-color);
  color: white;
  background: transparent;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: all 0.3s ease;
  display: none;
}
.btn-outline-custom.active {
  display: block;
}

.btn-outline-custom.active:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.btn-outline-custom-edit {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: all 0.3s ease;
  width: auto;
  height: auto;
}

.btn-outline-custom-edit:hover {
  background-color: var(--primary-color);
  color: white;
}
.links-section {
  margin-top: 1.5rem;
}

.link-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
}

.link-item a {
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.link-item a:hover {
  text-decoration: underline;
}

.link-icon {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

/* Edit Mode Styles */
.edit-profile-header {
  background-color: var(--primary-color);
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.edit-controls {
  display: flex;
  gap: 1rem;
}

.edit-field {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.edit-field:hover {
  background-color: #f5f5f5;
}

.edit-icon {
  margin-left: auto;
  color: #777;
  cursor: pointer;
  transition: color 0.3s ease;
}

.edit-icon:hover {
  color: var(--primary-color);
}

.edit-form {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #424242;
}

.form-control {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.75rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

.multi-value-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.value-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  background-color: #e8f5e9;
  color: var(--primary-color);
  padding: 0.4rem 2rem 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-right: 10px;
}
/*.value-tag a {*/
/*  padding-right: 18px;*/
/*}*/
.remove-tag {
  position: absolute;
  top: 2px;
  right: 10px;
  margin-left: 0.5rem;
  cursor: pointer;
  color: #777;
}
.add-tag {
  display: inline-flex;
  align-items: center;
  background-color: #f0f0f0;
  color: #555;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  height: max-content;
  margin: auto 0;
}

.add-tag:hover {
  background-color: #e0e0e0;
}

.photo-upload-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border: 2px dashed #e0e0e0;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
}

.photo-upload-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  width: auto;
  height: auto;
  font-size: 16px;
  margin: 1rem 0;
}

.photo-upload-btn:hover {
  background-color: var(--secondary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .profile-header-content {
    /*flex-direction: column;*/
    /*align-items: flex-start;*/
    flex-wrap: wrap;
  }

  .profile-image-section {
    flex-direction: column;
    gap: 1rem;
  }
  .profile-info-section {
    margin-bottom: 0.5rem;
  }
  .main-profile-image {
    width: 150px;
    height: 150px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .action-buttons {
    flex-direction: column;
  }

  .edit-profile-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .edit-controls {
    width: 100%;
    justify-content: space-between;
  }
}

/* Professional experience section */
.experience-item {
  padding: 1rem;
  border-left: 3px solid var(--accent-color);
  background-color: #f9f9f9;
  margin-bottom: 1rem;
  border-radius: 0 8px 8px 0;
}

.experience-club {
  font-weight: 600;
  color: var(--primary-color);
}

.experience-dates {
  color: #777;
  font-size: 0.9rem;
}

/* Tabs for edit mode */
.edit-tabs {
  display: flex;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 1.5rem;
}

.edit-tab {
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.edit-tab.active {
  border-bottom-color: var(--primary-color);
  color: var(--primary-color);
  font-weight: 500;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}
.field-editprofileform-other_pos,
.field-editprofileform-main_pos,
.field-editprofileform-currentclub,
.field-editprofileform-gender,
.field-country_of_birth,
.field-editprofileform-other_info {
  width: 60vw;
}
.field-editprofileform-strong_foot,
.field-editprofileform-nationality {
  width: 40vw;
}

.cards .registration__save {
  margin-top: 20px;
}
@media (max-width: 490px) {
  .profile-body {
    padding: 1rem;
  }
  .edit-tab {
    padding: 0.75rem 0.5rem;
    font-size: 12px;
  }
  .field-editprofileform-other_pos,
  .field-editprofileform-main_pos,
  .field-editprofileform-currentclub,
  .field-editprofileform-gender,
  .field-country_of_birth,
  .field-editprofileform-other_info {
    width: 80vw;
  }
  .info-label {
    min-width: 130px;
    font-size: 12px;
  }
  .info-value {
    font-size: 12px;
  }

}
