﻿.ow-phone-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ow-phone-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.ow-phone-panel-heading-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ow-phone-panel-heading {
    color: #18344d;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.2;
}

.ow-phone-panel-summary {
    color: #63788c;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ow-phone-panel-toolbar-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ow-phone-panel-toolbar-btn {
    border-radius: 10px;
    min-height: 34px;
}

.ow-phone-panel-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.ow-phone-panel-card {
    padding: 8px 8px;
    border: 1px solid #d9e4ee;
    border-radius: 12px;
    background: #fbfdff;
}

.ow-phone-panel-card-primary {
    border-color: #bfd5e6;
    background: linear-gradient(180deg, #fdfefe 0%, #f6fbff 100%);
    box-shadow: 0 6px 18px rgba(30, 67, 104, 0.06);
}

.ow-phone-panel-card-secondary-hidden {
    display: none;
}

.ow-phone-panel-row {
    display: grid;
    grid-template-columns: minmax(120px, 170px) minmax(160px, 1fr) 38px 38px 38px 38px;
    gap: 8px;
    align-items: center;
    min-width: 510px;
}

.ow-phone-panel-grid-cell {
    min-width: 0;
}

.ow-phone-panel-type {
    width: 120px;
}

.ow-phone-panel-action {
    width: 38px;
    height: 38px;
    border: 1px solid #d6e0ea;
    border-radius: 10px;
    background: #f8fbfe;
    color: #23486b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.ow-phone-panel-action-whatsapp {
    background: #effcf3;
    border-color: rgba(37, 211, 102, 0.38);
    color: #1b9b4b;
}

.ow-phone-panel-action-whatsapp:hover,
.ow-phone-panel-action-whatsapp:focus-visible {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
}

.ow-phone-panel-action-whatsapp img {
    display: block;
    width: 26px;
    height: 26px;
}

.ow-phone-panel-action-copy {
    color: #2c7ac4;
}

.ow-phone-panel-action-remove {
    color: #c14949;
}

.ow-phone-panel-action.disabled,
.ow-phone-panel-action[disabled] {
    pointer-events: none;
    opacity: .45;
}

@media (max-width: 991px) {
    .ow-phone-panel-toolbar-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .ow-phone-panel-list {
        overflow-x: auto;
    }
}

@media (max-width: 767px) {
    .ow-phone-panel-heading {
        font-size: 16px;
    }
}
