/* ========== SERVICE CONTROL STYLES ==========*/
/* Панель управления сервисом */

/* Секция управления сервисом */
.service-control {
    max-width: 1000px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 50px;
    position: relative;
}

/* Вертикальная линия от индикатора хранилища до карточки */
.service-control::after {
    content: '';
    position: absolute;
    left: 70px;
    top: 100%;
    width: 2px;
    height: 20px;
    background-color: var(--card-border);
}

/* Логотип с индикатором хранилища и названием */
.service-control__logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-control__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--title-text);
    margin: 0;
}

/* Индикатор использования хранилища (логотип) */
.storage-indicator {
    width: 40px;
    height: 28px;
    border-radius: 12px;
    border: 2px solid var(--lock-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    cursor: default;
    transition: all 0.3s ease;
    padding: 0 8px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    background-color: var(--lock-circle);
}

.storage-indicator:hover {
    box-shadow: 0 0 0 3px var(--yellow-btn), 0 0 20px rgba(252, 233, 74, 0.6), 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Подсказка для индикатора хранилища */
.storage-indicator::after {
    content: attr(data-details);
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: pre-line;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
    min-width: 200px;
    text-align: left;
    line-height: 1.5;
}

.storage-indicator:hover::after {
    opacity: 1;
}

/* Кнопки управления */
.service-control__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    margin-right: 50px;
}

.service-control__btn {
    width: 32px;
    height: 32px;
    color: var(--orange-icon);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-control__btn:hover {
    transform: rotate(15deg) scale(1.1);
}
