/* Simple icon system using CSS */

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  position: relative;
  vertical-align: middle;
}

/* Arrow icons */
.icon-chevron-left::before,
.icon-chevron-right::before {
  content: '';
  position: absolute;
  width: 0.7em;
  height: 0.7em;
  border-style: solid;
  border-width: 0.15em 0.15em 0 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.icon-chevron-left::before {
  transform: translate(-25%, -50%) rotate(-135deg);
}

.icon-chevron-right::before {
  transform: translate(-75%, -50%) rotate(45deg);
}

/* Heart icon */
/*.icon-heart {
  color: #ff0000;
}

.icon-heart::before {
  content: '';
  position: absolute;
  width: 0.5em;
  height: 0.5em;
  background-color: currentColor;
  border-radius: 0 0.5em 0 0;
  transform: rotate(-45deg);
  transform-origin: 0 100%;
  top: 0.15em;
  left: 0.25em;
}

.icon-heart::after {
  content: '';
  position: absolute;
  width: 0.5em;
  height: 0.5em;
  background-color: currentColor;
  border-radius: 0.5em 0 0 0;
  transform: rotate(45deg);
  transform-origin: 100% 100%;
  top: 0.15em;
  right: 0.25em;
}

.icon-heart.filled {
  color: #e74c3c;
}
*/

.icon-heart {
  display: inline-block;
  width: 150px;
  aspect-ratio: 1;
  border-image: radial-gradient(red 69%, #0000 70%) 84.5%/50%;
  clip-path: polygon(-41% 0, 50% 91%, 141% 0);
}

/* Comment icon */
.icon-comment::before {
  content: '';
  position: absolute;
  width: 0.8em;
  height: 0.6em;
  border: 0.1em solid currentColor;
  border-radius: 0.2em;
  top: 0.1em;
  left: 0.1em;
}

.icon-comment::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.2em 0.2em 0 0;
  border-color: currentColor transparent transparent transparent;
  bottom: 0.1em;
  left: 0.2em;
}

/* Eye icon */
/*
.icon-eye::before {
  content: '';
  position: absolute;
  width: 0.8em;
  height: 0.4em;
  border: 0.1em solid currentColor;
  border-radius: 0.4em / 0.2em;
  top: 0.3em;
  left: 0.1em;
}

.icon-eye::after {
  content: '';
  position: absolute;
  width: 0.3em;
  height: 0.3em;
  background-color: currentColor;
  border-radius: 50%;
  top: 0.35em;
  left: 0.35em;
}*/

.icon-eye {
  /*margin: 100px;*/
  width: 13px;
  height: 13px;
  border: solid 1px #FFF;
  border-radius: 100% 15%;
  position: relative;
  transform: rotate(45deg);
}
.icon-eye:before {
  content: '';
  display: block;
  position: absolute;
  /*width: 5px;
  height: 5px;*/
  border: solid 3px #FFF;
  border-radius: 50%;
  left: 3px;
  top: 3px;
  /*background: #FFF;*/
}

/* User icon */
.icon-user::before {
  content: '';
  position: absolute;
  width: 0.4em;
  height: 0.4em;
  background-color: currentColor;
  border-radius: 50%;
  top: 0.15em;
  left: 0.3em;
}

.icon-user::after {
  content: '';
  position: absolute;
  width: 0.7em;
  height: 0.4em;
  background-color: currentColor;
  border-radius: 0.35em 0.35em 0 0;
  bottom: 0.1em;
  left: 0.15em;
}

/* Calendar icon */
.icon-calendar::before {
  content: '';
  position: absolute;
  width: 0.8em;
  height: 0.7em;
  border: 0.1em solid currentColor;
  border-radius: 0.1em;
  top: 0.2em;
  left: 0.1em;
}

.icon-calendar::after {
  content: '';
  position: absolute;
  width: 0.6em;
  height: 0.1em;
  background-color: currentColor;
  top: 0.4em;
  left: 0.2em;
}

/* Reply icon */
.icon-reply::before {
  content: '';
  position: absolute;
  width: 0.5em;
  height: 0.5em;
  border-left: 0.15em solid currentColor;
  border-bottom: 0.15em solid currentColor;
  top: 0.2em;
  left: 0.1em;
}

.icon-reply::after {
  content: '';
  position: absolute;
  width: 0.7em;
  height: 0.15em;
  background-color: currentColor;
  bottom: 0.3em;
  right: 0.1em;
}

/* Search icon */
.icon-search::before {
  content: '';
  position: absolute;
  width: 0.5em;
  height: 0.5em;
  border: 0.1em solid currentColor;
  border-radius: 50%;
  top: 0.15em;
  left: 0.15em;
}

.icon-search::after {
  content: '';
  position: absolute;
  width: 0.3em;
  height: 0.1em;
  background-color: currentColor;
  transform: rotate(45deg);
  bottom: 0.2em;
  right: 0.15em;
}

/* Email icon */
.icon-email::before {
  content: '';
  position: absolute;
  width: 0.8em;
  height: 0.6em;
  border: 0.1em solid currentColor;
  border-radius: 0.1em;
  top: 0.2em;
  left: 0.1em;
}

.icon-email::after {
  content: '';
  position: absolute;
  width: 0.6em;
  height: 0.3em;
  border-left: 0.1em solid currentColor;
  border-bottom: 0.1em solid currentColor;
  border-right: 0.1em solid currentColor;
  clip-path: polygon(0 0, 50% 50%, 100% 0);
  top: 0.25em;
  left: 0.2em;
}

/* Phone icon */
.icon-phone::before {
  content: '';
  position: absolute;
  width: 0.6em;
  height: 0.6em;
  border: 0.1em solid currentColor;
  border-radius: 0.1em;
  transform: rotate(45deg);
  top: 0.3em;
  left: 0.2em;
}

.icon-phone::after {
  content: '';
  position: absolute;
  width: 0.3em;
  height: 0.3em;
  border-radius: 50%;
  background-color: transparent;
  border: 0.1em solid currentColor;
  top: 0.1em;
  left: 0.35em;
}

/* Edit icon */
.icon-edit::before {
  content: '';
  position: absolute;
  width: 0.6em;
  height: 0.6em;
  border-bottom: 0.1em solid currentColor;
  border-left: 0.1em solid currentColor;
  transform: rotate(-45deg);
  top: 0.2em;
  left: 0.2em;
}

.icon-edit::after {
  content: '';
  position: absolute;
  width: 0.15em;
  height: 0.6em;
  background-color: currentColor;
  transform: rotate(45deg);
  top: 0.1em;
  right: 0.3em;
}

/* Trash icon */
.icon-trash::before {
  content: '';
  position: absolute;
  width: 0.6em;
  height: 0.1em;
  background-color: currentColor;
  top: 0.2em;
  left: 0.2em;
}

.icon-trash::after {
  content: '';
  position: absolute;
  width: 0.4em;
  height: 0.5em;
  border: 0.1em solid currentColor;
  border-top: none;
  top: 0.3em;
  left: 0.3em;
}

/* Social media icons */
.icon-facebook::before {
  content: 'f';
  position: absolute;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 0.8em;
  top: 0.1em;
  left: 0.4em;
}

.icon-twitter::before {
  content: 't';
  position: absolute;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 0.8em;
  top: 0.1em;
  left: 0.4em;
}

.icon-instagram::before {
  content: '';
  position: absolute;
  width: 0.6em;
  height: 0.6em;
  border: 0.1em solid currentColor;
  border-radius: 0.2em;
  top: 0.2em;
  left: 0.2em;
}

.icon-instagram::after {
  content: '';
  position: absolute;
  width: 0.3em;
  height: 0.3em;
  border: 0.1em solid currentColor;
  border-radius: 50%;
  top: 0.35em;
  left: 0.35em;
}
