img {
    max-width: 100%;
    max-height: 100%;
}

.lightzoom {
    cursor: pointer;
}


.copyable {
    color: #3673f4;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    padding-right: 24px;
}

.copyable::after {
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url('/img/copy.svg');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
}

.copyable:hover::after {
    opacity: 1;
}

.copyable.copied::after {
    /* Можно заменить на галочку или оставить ту же иконку */
    background-image: url('/img/check.svg'); /* если есть */
    /* или просто подсветить */
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(86deg);
}

.inline-icon {
    display: inline-block;
    vertical-align: middle;
    width: 1.1em;
    height: 1.1em;
    margin: 0 0.15em;
    position: relative;
    top: -0.15em; /* компенсация для выравнивания с текстом */
}

.attachment-notice {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 16px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    color: #64748b;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.attachment-notice .icon-wrapper {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.attachment-notice .icon-wrapper svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.attachment-notice .content {
    flex: 1;
    padding-top: 2px;
}

.attachment-notice .title {
    font-weight: 600;
    font-size: 15px;
    color: #1e293b;
    margin-bottom: 8px;
}

.attachment-notice .message {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
}

.attachment-notice .actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.attachment-notice .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.attachment-notice .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.attachment-notice .btn-primary:hover {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    transform: translateY(-2px);
}

.attachment-notice .btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.attachment-notice .btn-secondary:hover {
    background: #e2e8f0;
}

.attachment-notice .btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}