/* CBK Footer Socials Widget Styles */
.cbk-footer-socials-widget {
  background-color: #d4af37; /* Gold background from screenshot */
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  gap: 20px; /* Space between copyright and social icons */
  color: #4a4a4a; /* Dark grey/brown for text */
  font-family: "Helvetica Neue", sans-serif;
  font-size: 15px;
}

.cbk-footer-copyright {
  flex-grow: 1;
  text-align: left;
}

.cbk-footer-social-icons {
  display: flex;
  gap: 10px; /* Space between social icons */
  flex-wrap: wrap; /* Allow icons to wrap */
  justify-content: flex-end; /* Align icons to the right */
}

.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px; /* Size of the square button */
  height: 35px; /* Size of the square button */
  background-color: #2c3e50; /* Dark blue background for icons */
  border-radius: 4px; /* Slightly rounded corners for the squares */
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  overflow: hidden; /* Ensure content doesn't spill */
}

.social-icon-link:hover {
  background-color: #34495e; /* Slightly lighter blue on hover */
  transform: translateY(-2px);
}

.social-icon-link i {
  color: #fff; /* White icon color */
  font-size: 18px; /* Size of the icon */
  /* For the outlined effect, you can use text-shadow or adjust Font Awesome's styling */
  /* text-shadow: 1px 1px 0 #d4af37, -1px -1px 0 #d4af37, 1px -1px 0 #d4af37, -1px 1px 0 #d4af37; */
}

.social-icon-link .social-icon-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Ensure image fits within the square */
}

.social-icon-link .social-icon-svg-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.social-icon-link .social-icon-svg-wrapper svg {
  max-width: 80%; /* Adjust SVG size within the wrapper */
  max-height: 80%;
  fill: #fff; /* Default fill color for SVG if not specified in SVG code */
  stroke: #fff; /* Default stroke color for SVG if not specified in SVG code */
  stroke-width: 0; /* Default stroke width */
}

.no-social-links {
  color: #7f8c8d;
  font-style: italic;
  text-align: right;
  width: 100%;
}

/* Admin Widget Form Styles (for repeater) */
.cbk-social-links-repeater .social-links-list {
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 15px;
  background-color: #f9f9f9;
}

.cbk-social-links-repeater .social-link-item {
  background-color: #fff;
  border: 1px solid #eee;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  position: relative;
}

.cbk-social-links-repeater .social-link-item h4 {
  margin-top: 0;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1em;
}

.cbk-social-links-repeater .social-link-item h4 .remove-social-link-item {
  color: #a00;
  text-decoration: none;
  font-size: 0.8em;
  padding: 0;
  height: auto;
  line-height: 1;
}

.cbk-social-links-repeater .social-link-item h4 .remove-social-link-item:hover {
  color: #dc3232;
}

.cbk-social-links-repeater .social-link-item p {
  margin-bottom: 10px;
}

.cbk-social-links-repeater .social-link-item label {
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

.cbk-social-links-repeater .social-link-item input[type="text"],
.cbk-social-links-repeater .social-link-item input[type="url"],
.cbk-social-links-repeater .social-link-item textarea {
  width: 100%;
  box-sizing: border-box;
}

.cbk-social-links-repeater .social-link-item .button.select-social-image,
.cbk-social-links-repeater .social-link-item .button.remove-social-image {
  margin-top: 5px;
  margin-right: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cbk-footer-socials-widget {
    flex-direction: column;
    text-align: center;
  }
  .cbk-footer-copyright {
    text-align: center;
    margin-bottom: 15px;
  }
  .cbk-footer-social-icons {
    justify-content: center;
  }
}
