/**
 * Стили иконок для сайта Domain
 * CSS-реализация иконок без использования внешних библиотек
 */

/* Базовые стили для всех иконок */
[class^="icon-"] {
    display: inline-block;
    width: 1em;
    height: 1em;
    position: relative;
    font-style: normal;
}

/* Иконка калькулятора */
.icon-calculator::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;
    border: 2px solid currentColor;
    border-radius: 2px;
}

.icon-calculator::after {
    content: '';
    position: absolute;
    top: 25%;
    left: 25%;
    width: 50%;
    height: 10%;
    background-color: currentColor;
    box-shadow: 0 15px 0 0 currentColor, 0 30px 0 0 currentColor;
}

/* Иконка документа */
.icon-document::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 25%;
    width: 50%;
    height: 80%;
    border: 2px solid currentColor;
    border-radius: 2px;
}

.icon-document::after {
    content: '';
    position: absolute;
    top: 25%;
    left: 35%;
    width: 30%;
    height: 2px;
    background-color: currentColor;
    box-shadow: 0 10px 0 0 currentColor, 0 20px 0 0 currentColor, 0 30px 0 0 currentColor;
}

/* Иконка графика */
.icon-chart::before {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 15%;
    width: 70%;
    height: 2px;
    background-color: currentColor;
}

.icon-chart::after {
    content: '';
    position: absolute;
    left: 15%;
    bottom: 15%;
    width: 2px;
    height: 70%;
    background-color: currentColor;
}

.icon-chart i {
    position: absolute;
    bottom: 25%;
    left: 30%;
    width: 10%;
    height: 20%;
    background-color: currentColor;
}

.icon-chart i:nth-child(2) {
    left: 45%;
    height: 35%;
}

.icon-chart i:nth-child(3) {
    left: 60%;
    height: 50%;
}

/* Иконка галочки */
.icon-check::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20%;
    width: 30%;
    height: 2px;
    background-color: currentColor;
    transform: rotate(45deg);
    transform-origin: left center;
}

.icon-check::after {
    content: '';
    position: absolute;
    top: 80%;
    left: 20%;
    width: 60%;
    height: 2px;
    background-color: currentColor;
    transform: rotate(-45deg);
    transform-origin: left center;
}

/* Иконка галочки в круге */
.icon-check-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.icon-check-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 25%;
    width: 25%;
    height: 2px;
    background-color: currentColor;
    transform: rotate(45deg) translateY(-50%);
    transform-origin: left center;
}

.icon-check-circle i {
    position: absolute;
    top: 40%;
    left: 40%;
    width: 40%;
    height: 2px;
    background-color: currentColor;
    transform: rotate(-45deg);
    transform-origin: left center;
}

/* Иконка расположения */
.icon-location::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 30%;
    width: 40%;
    height: 40%;
    border: 2px solid currentColor;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.icon-location::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 25%;
    width: 50%;
    height: 2px;
    background-color: currentColor;
}

/* Иконка телефона */
.icon-phone::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 25%;
    width: 50%;
    height: 70%;
    border: 2px solid currentColor;
    border-radius: 5px;
}

.icon-phone::after {
    content: '';
    position: absolute;
    bottom: 25%;
    left: 45%;
    width: 10%;
    height: 10%;
    border: 1px solid currentColor;
    border-radius: 50%;
}

/* Иконка почты (новая версия) */
.icon-envelope::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 10%;
    width: 80%;
    height: 50%;
    border: 2px solid currentColor;
    border-radius: 2px;
}

.icon-envelope::after {
    content: '';
    position: absolute;
    top: 25%;
    left: 50%;
    width: 80%;
    height: 50%;
    border-top: 20px solid transparent;
    border-left: 40px solid currentColor;
    transform: rotate(-45deg) scale(0.5) translate(-50%, -50%);
}

/* Иконка часов */
.icon-clock::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.icon-clock::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    width: 2px;
    height: 30%;
    background-color: currentColor;
    transform: translateX(-50%);
    transform-origin: bottom center;
}

.icon-clock i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 25%;
    height: 2px;
    background-color: currentColor;
    transform-origin: left center;
    transform: rotate(45deg);
}

/* Иконка пользователя */
.icon-user::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 35%;
    width: 30%;
    height: 30%;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.icon-user::after {
    content: '';
    position: absolute;
    top: 45%;
    left: 25%;
    width: 50%;
    height: 40%;
    border: 2px solid currentColor;
    border-radius: 50% 50% 0 0;
    border-bottom: none;
}

/* Иконка портфеля */
.icon-briefcase::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 60%;
    height: 60%;
    border: 2px solid currentColor;
    border-radius: 5px;
}

.icon-briefcase::after {
    content: '';
    position: absolute;
    top: 5%;
    left: 40%;
    width: 20%;
    height: 15%;
    border: 2px solid currentColor;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
}