/**
 * Frontend Styles
 * 
 * File: assets/css/frontend.css
 */

/* Container */
.mmt-wss-container {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  gap: 12px;
}

.mmt-wss-label {
  font-size: 14px;
  font-weight: 600;
  color: inherit;
  margin-right: 5px;
}

.mmt-wss-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Alignment */
.mmt-wss-align-left {
  justify-content: flex-start;
}

.mmt-wss-align-center {
  justify-content: center;
}

.mmt-wss-align-right {
  justify-content: flex-end;
}

/* Icon Base */
.mmt-wss-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  border-radius: 4px;
  padding: 5px;
}

.mmt-wss-icon svg {
  display: block;
  transition: all 0.3s ease-in-out;
}

.mmt-wss-icon:hover {
  transform: translateY(-2px);
}

.mmt-wss-icon:active {
  transform: translateY(0);
}

/* Icon Sizes */
.mmt-wss-size-small .mmt-wss-icon svg {
  width: 16px;
  height: 16px;
}

.mmt-wss-size-medium .mmt-wss-icon svg {
  width: 24px;
  height: 24px;
}

.mmt-wss-size-large .mmt-wss-icon svg {
  width: 32px;
  height: 32px;
}

/* Colored Style */
.mmt-wss-style-colored .mmt-wss-facebook svg {
  color: #1877f2;
}

.mmt-wss-style-colored .mmt-wss-twitter svg {
  color: #1da1f2;
}

.mmt-wss-style-colored .mmt-wss-pinterest svg {
  color: #e60023;
}

.mmt-wss-style-colored .mmt-wss-instagram svg {
  color: #e4405f;
}

.mmt-wss-style-colored .mmt-wss-whatsapp svg {
  color: #25d366;
}

.mmt-wss-style-colored .mmt-wss-linkedin svg {
  color: #0a66c2;
}

.mmt-wss-style-colored .mmt-wss-email svg {
  color: #ea4335;
}

.mmt-wss-style-colored .mmt-wss-icon:hover svg {
  opacity: 0.8;
}

/* Monochrome Style */
.mmt-wss-style-monochrome .mmt-wss-icon svg {
  color: #333;
}

.mmt-wss-style-monochrome .mmt-wss-icon:hover svg {
  color: #000;
}

/* Outline Style */
.mmt-wss-style-outline .mmt-wss-icon {
  border: 2px solid currentColor;
  padding: 6px;
}

.mmt-wss-style-outline .mmt-wss-facebook {
  color: #1877f2;
}

.mmt-wss-style-outline .mmt-wss-twitter {
  color: #1da1f2;
}

.mmt-wss-style-outline .mmt-wss-pinterest {
  color: #e60023;
}

.mmt-wss-style-outline .mmt-wss-instagram {
  color: #e4405f;
}

.mmt-wss-style-outline .mmt-wss-whatsapp {
  color: #25d366;
}

.mmt-wss-style-outline .mmt-wss-linkedin {
  color: #0a66c2;
}

.mmt-wss-style-outline .mmt-wss-email {
  color: #ea4335;
}

.mmt-wss-style-outline .mmt-wss-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.mmt-wss-style-outline .mmt-wss-icon:hover {
  background-color: currentColor;
}

.mmt-wss-style-outline .mmt-wss-icon:hover svg {
  color: #fff;
  stroke: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .mmt-wss-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .mmt-wss-icons {
    gap: 8px;
  }

  .mmt-wss-size-small .mmt-wss-icon svg {
    width: 14px;
    height: 14px;
  }

  .mmt-wss-size-medium .mmt-wss-icon svg {
    width: 20px;
    height: 20px;
  }

  .mmt-wss-size-large .mmt-wss-icon svg {
    width: 28px;
    height: 28px;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .mmt-wss-container {
    border-top-color: rgba(255, 255, 255, 0.1);
  }

  .mmt-wss-style-monochrome .mmt-wss-icon svg {
    color: #fff;
  }

  .mmt-wss-style-monochrome .mmt-wss-icon:hover svg {
    color: #ccc;
  }
}

/* Accessibility */
.mmt-wss-icon:focus {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.mmt-wss-icon:focus:not(:focus-visible) {
  outline: none;
}

/* Print styles */
@media print {
  .mmt-wss-container {
    display: none;
  }
}